depot/third_party/nixpkgs/pkgs/development/python-modules/pcpp/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

27 lines
590 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 ];
};
}