1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/python-modules/cgen/default.nix
2020-06-11 09:59:55 +02:00

35 lines
597 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytools
, numpy
, pytest
}:
buildPythonPackage rec {
pname = "cgen";
version = "2020.1";
src = fetchPypi {
inherit pname version;
sha256 = "4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf";
};
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 ];
};
}