depot/third_party/nixpkgs/pkgs/development/python-modules/codepy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
753 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytools,
appdirs,
six,
cgen,
}:
buildPythonPackage rec {
pname = "codepy";
version = "2019.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "inducer";
repo = pname;
rev = "v${version}";
hash = "sha256-viMfB/nDrvDA/IGRZEX+yXylxbbmqbh/fgdYXBzK0zM=";
};
buildInputs = [
pytools
six
cgen
];
propagatedBuildInputs = [ appdirs ];
pythonImportsCheck = [ "codepy" ];
# Tests are broken
doCheck = false;
meta = with lib; {
homepage = "https://github.com/inducer/codepy";
description = "Generate and execute native code at run time, from Python";
license = licenses.mit;
maintainers = with maintainers; [ atila ];
};
}