2019-11-11 09:22:34 +00:00
|
|
|
{ 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 ];
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2019-11-11 09:22:34 +00:00
|
|
|
};
|
|
|
|
}
|