forked from mirrors/nixpkgs
Add peg, http://piumarta.com/software/peg/
svn path=/nixpkgs/trunk/; revision=28456
This commit is contained in:
parent
59b7072038
commit
570bc18a9b
23
pkgs/development/tools/parsing/peg/default.nix
Normal file
23
pkgs/development/tools/parsing/peg/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "peg-0.1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/${name}.tar.gz";
|
||||
sha256 = "01agf4fbqv0r1xyqvj0va8kcrh3f2ka59f1aqvzfrabn7n5p8ik4";
|
||||
};
|
||||
|
||||
preBuild="makeFlagsArray+=( PREFIX=$out )";
|
||||
|
||||
preInstall=''
|
||||
mkdir -pv $out/bin $out/share/man/man1
|
||||
cp -pv *.1 $out/share/man/man1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://piumarta.com/software/peg/;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
};
|
||||
}
|
|
@ -2874,6 +2874,8 @@ let
|
|||
|
||||
patchelf06 = callPackage ../development/tools/misc/patchelf/0.6.nix { };
|
||||
|
||||
peg = callPackage ../development/tools/parsing/peg { };
|
||||
|
||||
pmccabe = callPackage ../development/tools/misc/pmccabe { };
|
||||
|
||||
/* Make pkgconfig always return a buildDrv, never a proper hostDrv,
|
||||
|
|
Loading…
Reference in a new issue