nixpkgs/pkgs/development/tools/parsing/peg/default.nix
Markus Kowalewski 3455f378c9
peg: add license
2018-11-08 20:54:07 +01:00

18 lines
403 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "peg-0.1.18";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.gz";
sha256 = "114h1y4k8fwcq9m0hfk33dsp7ah8zxzjjzlk71x4iirzczfkn690";
};
preBuild="makeFlagsArray+=( PREFIX=$out )";
meta = with stdenv.lib; {
homepage = http://piumarta.com/software/peg/;
platforms = platforms.all;
license = licenses.mit;
};
}