diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libunibreak')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libunibreak/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libunibreak/default.nix b/nixpkgs/pkgs/development/libraries/libunibreak/default.nix new file mode 100644 index 000000000000..f740bd82bb73 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libunibreak/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "libunibreak"; + version = "5.1"; + + src = let + rev_version = lib.replaceStrings ["."] ["_"] version; + in fetchFromGitHub { + owner = "adah1972"; + repo = pname; + rev = "libunibreak_${rev_version}"; + sha256 = "sha256-hjgT5DCQ6KFXKlxk9LLzxGHz6B71X/3Ot7ipK3KY85A="; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + meta = with lib; { + homepage = "https://github.com/adah1972/libunibreak"; + description = "Implementation of line breaking and word breaking algorithms as in the Unicode standard"; + license = licenses.zlib; + platforms = platforms.unix; + maintainers = [ maintainers.coroa ]; + }; +} |