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:
parent
c1e1690f62
commit
68639325de
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue