summary refs log tree commit diff
path: root/pkgs/development/python-modules/sarge/default.nix
blob: 98187f96af9f534e279e14a4f5a29f0495af898e (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "sarge";
  version = "0.1.7.post1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "vsajip";
    repo = pname;
    rev = version;
    sha256 = "sha256-bT1DbcQi+SbeRBsL7ILuQbSnAj3BBB4+FNl+Zek5xU4=";
  };

  checkInputs = [
    pytestCheckHook
  ];

  disabledTests = [
    # Aarch64-linux times out for these tests, so they need to be disabled.
    "test_timeout"
    "test_feeder"
  ];

  pythonImportsCheck = [
    "sarge"
  ];

  meta = with lib; {
    description = "Python wrapper for subprocess which provides command pipeline functionality";
    homepage = "https://sarge.readthedocs.org/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ abbradar ];
  };
}