nixpkgs/pkgs/applications/misc/ape/clex.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
553 B
Nix

{ 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 ];
};
}