e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
20 lines
546 B
Nix
20 lines
546 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "peg";
|
|
version = "0.1.20";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-uLcXvJOll2ijXWUlZ5pODOlOa/ZvkrrPKXnGR0VytFo=";
|
|
};
|
|
|
|
preBuild="makeFlagsArray+=( PREFIX=$out )";
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|