depot/third_party/nixpkgs/pkgs/development/python-modules/pcpp/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

26 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 ];
};
}