1{ lib
2, buildPythonPackage
3, cogapp
4, fetchPypi
5, mock
6, nose
7, pytestCheckHook
8, pythonOlder
9, six
10, virtualenv
11}:
12
13buildPythonPackage rec {
14 pname = "paver";
15 version = "1.3.4";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 pname = "Paver";
22 inherit version;
23 hash = "sha256-0+ZJiIFIWrdQ7+QMUniYKpNDvGJ+E3sRrc7WJ3GTCMc=";
24 };
25
26 propagatedBuildInputs = [
27 six
28 ];
29
30 checkInputs = [
31 cogapp
32 mock
33 nose
34 pytestCheckHook
35 virtualenv
36 ];
37
38 pythonImportsCheck = [
39 "paver"
40 ];
41
42 disabledTestPaths = [
43 # Test depends on distutils
44 "paver/tests/test_setuputils.py"
45 ];
46
47 meta = with lib; {
48 description = "A Python-based build/distribution/deployment scripting tool";
49 homepage = "https://github.com/paver/paver";
50 license = licenses.bsd3;
51 maintainers = with maintainers; [ lovek323 ];
52 };
53}