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