about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/ape/clex.nix
blob: c680ffe967834ef6a9b16f4b30dc3a2774c32551 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "attempto-clex";
  version = "5133afe";

  src = fetchFromGitHub {
     owner = "Attempto";
     repo = "Clex";
     rev = version;
     sha256 = "0p9s64g1jic213bwm6347jqckszgnni9szrrz31qjgaf32kf7nkp";
  };

  installPhase = ''
    mkdir -p $out
    cp clex_lexicon.pl $out
  '';

  meta = with stdenv.lib; {
    description = "Large lexicon for APE (~100,000 entries)";
    license = licenses.gpl3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ yrashk ];
  };
}