2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "gpp";
|
|
|
|
version = "2.25";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "logological";
|
|
|
|
repo = "gpp";
|
|
|
|
rev = "96c5dd8905384ea188f380f51d24cbd7fd58f642";
|
|
|
|
sha256 = "0bvhnx3yfhbfiqqhhz6k2a596ls5rval7ykbp3jl5b6062xj861b";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
installCheckPhase = "$out/bin/gpp --help";
|
|
|
|
doInstallCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "General-purpose preprocessor with customizable syntax";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gpp";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://logological.org/gpp";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ nmattia ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|