diff options
author | Oleksii Filonenko <brightone@protonmail.com> | 2019-11-11 11:22:34 +0200 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-11-20 22:53:00 +0100 |
commit | 86a760948b9066535265cfb1724fcbb87534259f (patch) | |
tree | 00fd91667f3a1d8e14b9f2f56a70bb2227a758e0 /pkgs/development/libraries/hyphen | |
parent | b679ce809a5482112567358dd8b963b66f9f3ba0 (diff) |
hyphen: init at 2.8.8
Related to #60005.
Diffstat (limited to 'pkgs/development/libraries/hyphen')
-rw-r--r-- | pkgs/development/libraries/hyphen/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/hyphen/default.nix b/pkgs/development/libraries/hyphen/default.nix new file mode 100644 index 0000000000000..9f30ff54823f8 --- /dev/null +++ b/pkgs/development/libraries/hyphen/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, perl, ... }: + +let + version = "2.8.8"; + folder = with builtins; + let parts = splitVersion version; + in concatStringsSep "." [ (elemAt parts 0) (elemAt parts 1) ]; +in stdenv.mkDerivation rec { + pname = "hyphen"; + inherit version; + + nativeBuildInputs = [ perl ]; + + src = fetchurl { + url = + "https://sourceforge.net/projects/hunspell/files/Hyphen/${folder}/${pname}-${version}.tar.gz"; + sha256 = "01ap9pr6zzzbp4ky0vy7i1983fwyqy27pl0ld55s30fdxka3ciih"; + }; + + meta = with stdenv.lib; { + description = "A text hyphenation library"; + homepage = "https://sourceforge.net/projects/hunspell/files/Hyphen/"; + platforms = platforms.all; + license = with licenses; [ gpl2 lgpl21 mpl11 ]; + maintainers = with maintainers; [ filalex77 ]; + }; +} |