1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

peg: 0.1.4 -> 0.1.18

This commit is contained in:
Andrew Chambers 2018-04-09 12:19:03 +12:00
parent c1e1690f62
commit 68639325de

View file

@ -1,20 +1,15 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "peg-0.1.4";
name = "peg-0.1.18";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.gz";
sha256 = "01agf4fbqv0r1xyqvj0va8kcrh3f2ka59f1aqvzfrabn7n5p8ik4";
sha256 = "114h1y4k8fwcq9m0hfk33dsp7ah8zxzjjzlk71x4iirzczfkn690";
};
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;