git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit1d479088792e8a5999c4ffcb747653a53c1e78fe authorNicolas Mattia <nicolas@nmattia.com> dateSun 21 Jan 2018, 20:17 (9 years ago) parent4532826
3 files changed+29
lib/maintainers.nix+1 pkgs/development/tools/gpp/default.nix+26 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -485,6 +485,7 @@
485485 nico202 = "Nicolò Balzarotti <anothersms@gmail.com>";
486486 NikolaMandic = "Ratko Mladic <nikola@mandic.email>";
487487 nixy = "Andrew R. M. <nixy@nixy.moe>";
488+ nmattia = "Nicolas Mattia <nicolas@nmattia.com>";
488489 nocoolnametom = "Tom Doggett <nocoolnametom@gmail.com>";
489490 notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
490491 np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
pkgs/development/tools/gpp/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook }:
2+
3+stdenv.mkDerivation rec {
4+ name = "gpp-${version}";
5+ version = "2.25";
6+
7+ src = fetchFromGitHub {
8+ owner = "logological";
9+ repo = "gpp";
10+ rev = "96c5dd8905384ea188f380f51d24cbd7fd58f642";
11+ sha256 = "0bvhnx3yfhbfiqqhhz6k2a596ls5rval7ykbp3jl5b6062xj861b";
12+ };
13+
14+ nativeBuildInputs = [ autoreconfHook ];
15+
16+ installCheckPhase = "$out/bin/gpp --help";
17+ doInstallCheck = true;
18+
19+ meta = with stdenv.lib; {
20+ description = "General-purpose preprocessor with customizable syntax";
21+ homepage = "https://logological.org/gpp";
22+ license = licenses.lgpl3;
23+ maintainers = with maintainers; [ nmattia ];
24+ platforms = with platforms; linux ++ darwin;
25+ };
26+}
pkgs/top-level/all-packages.nix+2
@@ -2468,6 +2468,8 @@ with pkgs;
24682468
24692469 gpodder = callPackage ../applications/audio/gpodder { };
24702470
2471+ gpp = callPackage ../development/tools/gpp { };
2472+
24712473 gpredict = callPackage ../applications/science/astronomy/gpredict { };
24722474
24732475 gptfdisk = callPackage ../tools/system/gptfdisk { };