nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 27 lines 727 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 3stdenv.mkDerivation { 4 pname = "gpp"; 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 lib; { 20 description = "General-purpose preprocessor with customizable syntax"; 21 mainProgram = "gpp"; 22 homepage = "https://logological.org/gpp"; 23 license = licenses.lgpl3; 24 maintainers = with maintainers; [ nmattia ]; 25 platforms = with platforms; linux ++ darwin; 26 }; 27}