depot/third_party/nixpkgs/pkgs/development/python-modules/venusian/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

40 lines
690 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 = "Library for deferring decorator actions";
homepage = "https://pylonsproject.org/";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}