lib.packagesFromDirectoryRecursive: Improved documentation (#359898)
[NixPkgs.git] / pkgs / by-name / gp / gpp / package.nix
blob902c0bbf02b539c750416372dcd857471a8d6cea
1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation {
4   pname = "gpp";
5   version = "2.25";
7   src = fetchFromGitHub {
8     owner = "logological";
9     repo = "gpp";
10     rev = "96c5dd8905384ea188f380f51d24cbd7fd58f642";
11     sha256 = "0bvhnx3yfhbfiqqhhz6k2a596ls5rval7ykbp3jl5b6062xj861b";
12   };
14   nativeBuildInputs = [ autoreconfHook ];
16   installCheckPhase = "$out/bin/gpp --help";
17   doInstallCheck = true;
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   };