depot/third_party/nixpkgs/pkgs/development/python-modules/sarge/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
800 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sarge";
version = "0.1.7.post1";
format = "setuptools";
src = fetchFromGitHub {
owner = "vsajip";
repo = pname;
rev = version;
hash = "sha256-bT1DbcQi+SbeRBsL7ILuQbSnAj3BBB4+FNl+Zek5xU4=";
};
nativeCheckInputs = [ 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 ];
};
}