blob: a246ce53a1e0876fa2e8ca7a0a4b39b169bd54f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, stdenv, buildPythonPackage, fetchPypi, python }:
buildPythonPackage rec {
pname = "pycparser";
version = "2.20";
src = fetchPypi {
inherit pname version;
sha256 = "2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0";
};
checkPhase = ''
${python.interpreter} -m unittest discover -s tests
'';
meta = with lib; {
description = "C parser in Python";
homepage = "https://github.com/eliben/pycparser";
license = licenses.bsd3;
maintainers = with maintainers; [ domenkozar ];
};
}
|