nixpkgs/pkgs/development/python-modules/venusian/default.nix
2021-07-21 13:32:17 +02:00

31 lines
591 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
, pytest-cov
}:
buildPythonPackage rec {
pname = "venusian";
version = "3.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f6842b7242b1039c0c28f6feef29016e7e7dd3caaeb476a193acf737db31ee38";
};
checkInputs = [ pytest 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 ];
};
}