pythonPackages.cgen init at 2017.1

This commit is contained in:
Chris Ostrouchov 2019-04-15 17:11:07 -04:00
parent 1c87fac0b9
commit b78f689444
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytools
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "cgen";
version = "2017.1";
src = fetchPypi {
inherit pname version;
sha256 = "a04525d51ee975d37d590d6d82bf80a46e77f75187cccfd2248a89616a778795";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
pytools
numpy
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "C/C++ source generation from an AST";
homepage = https://github.com/inducer/cgen;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1196,6 +1196,8 @@ in {
cement = callPackage ../development/python-modules/cement {};
cgen = callPackage ../development/python-modules/cgen { };
cgroup-utils = callPackage ../development/python-modules/cgroup-utils {};
chainer = callPackage ../development/python-modules/chainer {