mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
1d47908879
* maintainers: add nmattia * gpp: init at 2.25 GPP is a handy preprocessing tool, not yet present in the package set.
27 lines
718 B
Nix
27 lines
718 B
Nix
{ 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;
|
|
};
|
|
}
|