1{ buildPythonPackage
2, fetchFromGitHub
3, lib
4}:
5
6buildPythonPackage rec {
7 pname = "pcpp";
8 version = "1.21";
9
10 src = fetchFromGitHub {
11 owner = "ned14";
12 repo = "pcpp";
13 rev = "v${version}";
14 sha256 = "0k52qyxzdngdhyn4sya2qn1w1a4ll0mcla4h4gb1v91fk4lw25dm";
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}