f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
27 lines
586 B
Nix
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 ];
|
|
};
|
|
}
|