depot/third_party/nixpkgs/pkgs/development/tools/parsing/peg/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

20 lines
547 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "peg";
version = "0.1.18";
src = fetchurl {
url = "${meta.homepage}/${pname}-${version}.tar.gz";
sha256 = "114h1y4k8fwcq9m0hfk33dsp7ah8zxzjjzlk71x4iirzczfkn690";
};
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;
};
}