diff options
author | Nicolas Mattia <nicolas@nmattia.com> | 2018-01-21 20:17:31 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2018-01-21 19:17:31 +0000 |
commit | 1d479088792e8a5999c4ffcb747653a53c1e78fe (patch) | |
tree | dfb516104e4ef45abfabb49981f30fbbf4df3728 /pkgs/development/tools/gpp | |
parent | 4532826e99e1d0eda2044189538a99a0ac458af4 (diff) |
gpp: init at 2.25 and add @nmattia as maintainer (#34098)
* maintainers: add nmattia * gpp: init at 2.25 GPP is a handy preprocessing tool, not yet present in the package set.
Diffstat (limited to 'pkgs/development/tools/gpp')
-rw-r--r-- | pkgs/development/tools/gpp/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/gpp/default.nix b/pkgs/development/tools/gpp/default.nix new file mode 100644 index 0000000000000..461110b63d71b --- /dev/null +++ b/pkgs/development/tools/gpp/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, autoreconfHook }: + +stdenv.mkDerivation rec { + name = "gpp-${version}"; + version = "2.25"; + + src = fetchFromGitHub { + owner = "logological"; + repo = "gpp"; + rev = "96c5dd8905384ea188f380f51d24cbd7fd58f642"; + sha256 = "0bvhnx3yfhbfiqqhhz6k2a596ls5rval7ykbp3jl5b6062xj861b"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + installCheckPhase = "$out/bin/gpp --help"; + doInstallCheck = true; + + meta = with stdenv.lib; { + description = "General-purpose preprocessor with customizable syntax"; + homepage = "https://logological.org/gpp"; + license = licenses.lgpl3; + maintainers = with maintainers; [ nmattia ]; + platforms = with platforms; linux ++ darwin; + }; +} |