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