3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/parsing/peg/default.nix
2019-10-08 20:54:38 +02:00

20 lines
521 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/";
description = "Tools for generating recursive-descent parsers: programs that perform pattern matching on text";
platforms = platforms.all;
license = licenses.mit;
};
}