1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy27,
6 pytestCheckHook,
7 pytest-cov-stub,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "venusian";
13 version = "3.1.1";
14 pyproject = true;
15
16 disabled = isPy27;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-U0+zs1VmkoPrOVRYGTHl0dBx/OYdAp1Y8yGaXjpvDEE=";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 pytest-cov-stub
28 ];
29
30 checkPhase = ''
31 pytest
32 '';
33
34 meta = with lib; {
35 description = "Library for deferring decorator actions";
36 homepage = "https://pylonsproject.org/";
37 license = licenses.bsd0;
38 maintainers = with maintainers; [ ];
39 };
40}