Files
nixpkgs/pkgs/development/python-modules/pcpp/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
584 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
}:
buildPythonPackage rec {
pname = "pcpp";
version = "1.30";
format = "setuptools";
src = fetchFromGitHub {
owner = "ned14";
repo = "pcpp";
rev = "refs/tags/v${version}";
sha256 = "sha256-Fs+CMV4eRKcB+KdV93ncgcqaMnO5etnMY/ivmSJh3Wc=";
fetchSubmodules = true;
};
meta = with lib; {
homepage = "https://github.com/ned14/pcpp";
description = "A C99 preprocessor written in pure Python";
mainProgram = "pcpp";
license = licenses.bsd0;
maintainers = with maintainers; [ rakesh4g ];
};
}