2021-01-23 13:26:19 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2018-01-21 20:17:31 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gpp";
|
2018-01-21 20:17:31 +01:00
|
|
|
version = "2.25";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "logological";
|
|
|
|
repo = "gpp";
|
|
|
|
rev = "96c5dd8905384ea188f380f51d24cbd7fd58f642";
|
|
|
|
sha256 = "0bvhnx3yfhbfiqqhhz6k2a596ls5rval7ykbp3jl5b6062xj861b";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
installCheckPhase = "$out/bin/gpp --help";
|
|
|
|
doInstallCheck = true;
|
|
|
|
|
2021-01-23 13:26:19 +01:00
|
|
|
meta = with lib; {
|
2018-01-21 20:17:31 +01:00
|
|
|
description = "General-purpose preprocessor with customizable syntax";
|
|
|
|
homepage = "https://logological.org/gpp";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ nmattia ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|