nixpkgs/pkgs/development/libraries/hspell/default.nix

28 lines
683 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, zlib }:
stdenv.mkDerivation rec {
name = "${passthru.pname}-${passthru.version}";
passthru = {
pname = "hspell";
version = "1.1";
};
PERL_USE_UNSAFE_INC = stdenv.lib.optionalString (stdenv.lib.versionAtLeast (stdenv.lib.getVersion perl) "5.26") "1";
src = fetchurl {
url = "${meta.homepage}${name}.tar.gz";
sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6";
};
patchPhase = ''patchShebangs .'';
buildInputs = [ perl zlib ];
2018-10-12 21:24:30 +00:00
meta = with stdenv.lib; {
description = "Hebrew spell checker";
homepage = http://hspell.ivrix.org.il/;
2018-10-12 21:24:30 +00:00
platforms = platforms.all;
license = licenses.gpl2;
};
}