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

40 lines
692 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
pytestCheckHook,
pytest-cov,
setuptools,
}:
buildPythonPackage rec {
pname = "venusian";
version = "3.1.0";
pyproject = true;
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-63LNym8xOaFdyA+cldPBD4pUoLqIHu744uxbQtPuOpU=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "A library for deferring decorator actions";
homepage = "https://pylonsproject.org/";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}