2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
|
|
|
six,
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
2021-10-17 02:12:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ush";
|
|
|
|
version = "3.1.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-10-17 02:12:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarruda";
|
|
|
|
repo = "python-ush";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-eL3vG3yS02enbLYorKvvYKbju9HInffUhrZgkodwhvo=";
|
2021-10-17 02:12:59 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
pytestCheckHook
|
|
|
|
six
|
|
|
|
];
|
2021-10-17 02:12:59 +00:00
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# seems to be outdated?
|
|
|
|
"tests/test_glob.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Powerful API for invoking with external commands";
|
|
|
|
homepage = "https://github.com/tarruda/python-ush";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ckie ];
|
|
|
|
};
|
|
|
|
}
|