aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pcpp/default.nix
blob: f621140f137b5d485285d40a7afe40964ec4fa4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ buildPythonPackage
, fetchFromGitHub
, stdenv
}:

buildPythonPackage rec {
  pname = "pcpp";
  version = "1.21";

  src = fetchFromGitHub {
    owner = "ned14";
    repo = "pcpp";
    rev = "v${version}";
    sha256 = "0k52qyxzdngdhyn4sya2qn1w1a4ll0mcla4h4gb1v91fk4lw25dm";
    fetchSubmodules = true;
  };
 
  meta = with stdenv.lib; {
    homepage = "https://github.com/ned14/pcpp";
    description = "A C99 preprocessor written in pure Python";
    license = licenses.bsd0;
    maintainers = with maintainers; [ rakesh4g ];
 };
}