2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, hunspell, ncurses, pkg-config, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-13 20:06:32 +00:00
|
|
|
pname = "mythes";
|
|
|
|
version = "1.2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-01-13 20:06:32 +00:00
|
|
|
url = "mirror://sourceforge/hunspell/mythes-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0prh19wy1c74kmzkkavm9qslk99gz8h8wmjvwzjc6lf8v2az708y";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ hunspell ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ ncurses pkg-config perl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://hunspell.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Thesaurus library from Hunspell project";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "th_gen_idx.pl";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (hunspell.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|