1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5}:
6
7buildPythonPackage rec {
8 pname = "pcpp";
9 version = "1.30";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "ned14";
14 repo = "pcpp";
15 tag = "v${version}";
16 hash = "sha256-Fs+CMV4eRKcB+KdV93ncgcqaMnO5etnMY/ivmSJh3Wc=";
17 fetchSubmodules = true;
18 };
19
20 meta = with lib; {
21 homepage = "https://github.com/ned14/pcpp";
22 description = "C99 preprocessor written in pure Python";
23 mainProgram = "pcpp";
24 license = licenses.bsd0;
25 maintainers = with maintainers; [ rakesh4g ];
26 };
27}