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