2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2011-08-10 10:54:22 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-09 01:19:03 +01:00
|
|
|
name = "peg-0.1.18";
|
2011-08-10 10:54:22 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
2018-04-09 01:19:03 +01:00
|
|
|
sha256 = "114h1y4k8fwcq9m0hfk33dsp7ah8zxzjjzlk71x4iirzczfkn690";
|
2011-08-10 10:54:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild="makeFlagsArray+=( PREFIX=$out )";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-08 19:54:38 +01:00
|
|
|
homepage = "http://piumarta.com/software/peg/";
|
|
|
|
description = "Tools for generating recursive-descent parsers: programs that perform pattern matching on text";
|
2018-11-08 19:54:07 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit;
|
2011-08-10 10:54:22 +01:00
|
|
|
};
|
|
|
|
}
|