nixpkgs/pkgs/development/python-modules/cgen/default.nix
R. RyanTM 0b1eed91e2 python37Packages.cgen: 2017.1 -> 2019.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-cgen/versions
2019-10-07 21:03:59 -07:00

34 lines
583 B
Nix

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