Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sarge / default.nix
blobf3dc0f269f85962697ad641cd2c247fb404c701f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "sarge";
9   version = "0.1.7.post1";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "vsajip";
14     repo = pname;
15     rev = version;
16     hash = "sha256-bT1DbcQi+SbeRBsL7ILuQbSnAj3BBB4+FNl+Zek5xU4=";
17   };
19   nativeCheckInputs = [
20     pytestCheckHook
21   ];
23   disabledTests = [
24     # Aarch64-linux times out for these tests, so they need to be disabled.
25     "test_timeout"
26     "test_feeder"
27   ];
29   pythonImportsCheck = [
30     "sarge"
31   ];
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   };