nixpkgs/pkgs/development/python-modules/genpy/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

29 lines
511 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytools
, numpy
}:
buildPythonPackage rec {
pname = "genpy";
version = "2022.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-FGZbQlUgbJjnuiDaKS/vVlraMVmFF1cAQk7S3aPWXx4=";
};
propagatedBuildInputs = [
pytools
numpy
];
meta = with lib; {
description = "C/C++ source generation from an AST";
homepage = "https://github.com/inducer/genpy";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}