nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "attempto-clex";
9 version = "5133afe";
10
11 src = fetchFromGitHub {
12 owner = "Attempto";
13 repo = "Clex";
14 rev = version;
15 sha256 = "0p9s64g1jic213bwm6347jqckszgnni9szrrz31qjgaf32kf7nkp";
16 };
17
18 installPhase = ''
19 mkdir -p $out
20 cp clex_lexicon.pl $out
21 '';
22
23 meta = with lib; {
24 description = "Large lexicon for APE (~100,000 entries)";
25 license = licenses.gpl3;
26 platforms = platforms.unix;
27 maintainers = with maintainers; [ yrashk ];
28 };
29}