depot/third_party/nixpkgs/pkgs/development/python-modules/pcpp/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

27 lines
586 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}";
hash = "sha256-Fs+CMV4eRKcB+KdV93ncgcqaMnO5etnMY/ivmSJh3Wc=";
fetchSubmodules = true;
};
meta = with lib; {
homepage = "https://github.com/ned14/pcpp";
description = "C99 preprocessor written in pure Python";
mainProgram = "pcpp";
license = licenses.bsd0;
maintainers = with maintainers; [ rakesh4g ];
};
}