2010-10-17 19:44:00 +01:00
|
|
|
{ stdenv, fetchurl, perl, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${passthru.pname}-${passthru.version}";
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
pname = "hspell";
|
|
|
|
version = "1.1";
|
|
|
|
};
|
|
|
|
|
2018-07-12 08:16:48 +01:00
|
|
|
PERL_USE_UNSAFE_INC = stdenv.lib.optionalString (stdenv.lib.versionAtLeast (stdenv.lib.getVersion perl) "5.26") "1";
|
|
|
|
|
2010-10-17 19:44:00 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}${name}.tar.gz";
|
|
|
|
sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6";
|
|
|
|
};
|
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
patchPhase = ''patchShebangs .'';
|
2010-10-17 19:44:00 +01:00
|
|
|
buildInputs = [ perl zlib ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Hebrew spell checker";
|
|
|
|
homepage = http://hspell.ivrix.org.il/;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = [ ];
|
2010-10-17 19:44:00 +01:00
|
|
|
};
|
|
|
|
}
|