1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "sarge";
9 version = "0.1.7.post1";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "vsajip";
14 repo = pname;
15 rev = version;
16 hash = "sha256-bT1DbcQi+SbeRBsL7ILuQbSnAj3BBB4+FNl+Zek5xU4=";
17 };
18
19 nativeCheckInputs = [
20 pytestCheckHook
21 ];
22
23 disabledTests = [
24 # Aarch64-linux times out for these tests, so they need to be disabled.
25 "test_timeout"
26 "test_feeder"
27 ];
28
29 pythonImportsCheck = [
30 "sarge"
31 ];
32
33 meta = with lib; {
34 description = "Python wrapper for subprocess which provides command pipeline functionality";
35 homepage = "https://sarge.readthedocs.org/";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ abbradar ];
38 };
39}