1 { lib, stdenv, fetchurl, perl, ... }:
5 folder = with builtins;
6 let parts = splitVersion version;
7 in concatStringsSep "." [ (elemAt parts 0) (elemAt parts 1) ];
8 in stdenv.mkDerivation rec {
12 nativeBuildInputs = [ perl ];
16 "https://sourceforge.net/projects/hunspell/files/Hyphen/${folder}/${pname}-${version}.tar.gz";
17 sha256 = "01ap9pr6zzzbp4ky0vy7i1983fwyqy27pl0ld55s30fdxka3ciih";
21 description = "A text hyphenation library";
22 homepage = "https://sourceforge.net/projects/hunspell/files/Hyphen/";
23 platforms = platforms.all;
24 license = with licenses; [ gpl2 lgpl21 mpl11 ];
25 maintainers = with maintainers; [ Br1ght0ne ];