summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/paver/default.nix
blob: 3d18bdbfb804b4ea7acb4093f10dd8f7867c69c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  lib,
  buildPythonPackage,
  cogapp,
  fetchPypi,
  mock,
  setuptools,
  pytestCheckHook,
  six,
  virtualenv,
}:

buildPythonPackage rec {
  pname = "paver";
  version = "1.3.4";
  pyproject = true;

  src = fetchPypi {
    pname = "Paver";
    inherit version;
    hash = "sha256-0+ZJiIFIWrdQ7+QMUniYKpNDvGJ+E3sRrc7WJ3GTCMc=";
  };

  build-system = [ setuptools ];

  dependencies = [ six ];

  checkInputs = [
    cogapp
    mock
    pytestCheckHook
    virtualenv
  ];

  pythonImportsCheck = [ "paver" ];

  disabledTestPaths = [
    # Tests depend on distutils
    "paver/tests/test_setuputils.py"
    "paver/tests/test_doctools.py"
    "paver/tests/test_tasks.py"
  ];

  meta = {
    description = "Python-based build/distribution/deployment scripting tool";
    mainProgram = "paver";
    homepage = "https://github.com/paver/paver";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ lovek323 ];
  };
}