about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/mythes/default.nix
blob: 1cd8612c3bb01669d99ee4010a3ae746a1349a89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, hunspell, ncurses, pkgconfig, perl }:

stdenv.mkDerivation rec {
  name = "mythes-1.2.4";

  src = fetchurl {
    url = "mirror://sourceforge/hunspell/${name}.tar.gz";
    sha256 = "0prh19wy1c74kmzkkavm9qslk99gz8h8wmjvwzjc6lf8v2az708y";
  };

  buildInputs = [ hunspell ];
  nativeBuildInputs = [ ncurses pkgconfig perl ];

  meta = {
    homepage = "http://hunspell.sourceforge.net/";
    description = "Thesaurus library from Hunspell project";
    license = stdenv.lib.licenses.bsd3;
    inherit (hunspell.meta) platforms;
  };
}