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