mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
hunspell: 1.3.3 -> 1.6.1
This commit is contained in:
parent
26f5fa8f97
commit
5bcaeda4c8
@ -1,16 +1,21 @@
|
||||
{ stdenv, fetchurl, ncurses, readline }:
|
||||
{ stdenv, fetchurl, ncurses, readline, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hunspell-1.3.3";
|
||||
version = "1.6.1";
|
||||
name = "hunspell-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/hunspell/${name}.tar.gz";
|
||||
sha256 = "0v14ff9s37vkh45diaddndcrj0hmn67arh8xh8k79q9c1vgc1cm7";
|
||||
url = "https://github.com/hunspell/hunspell/archive/v${version}.tar.gz";
|
||||
sha256 = "0j9c20sj7bgd6f77193g1ihy8w905byk2gdhdc0r9dsh7irr7x9h";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" ];
|
||||
|
||||
buildInputs = [ ncurses readline ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
autoreconfFlags = "-vfi";
|
||||
|
||||
configureFlags = [ "--with-ui" "--with-readline" ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ qtwebkit hunspell ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s,-lhunspell,-lhunspell-1.3," src/spellcheck/spellcheck.pri
|
||||
sed -i "s,-lhunspell,-lhunspell-1.6," src/spellcheck/spellcheck.pri
|
||||
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/lib/qt5/plugins," src/src.pro
|
||||
'';
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
- -llua5.1 \
|
||||
- -lhunspell \
|
||||
+ -llua \
|
||||
+ -lhunspell-1.3 \
|
||||
+ -lhunspell-1.6 \
|
||||
-L/usr/local/lib/ \
|
||||
-lyajl \
|
||||
-lGLU \
|
||||
|
Loading…
Reference in New Issue
Block a user