mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 15:34:05 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
36 lines
673 B
Nix
36 lines
673 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ush";
|
|
version = "3.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tarruda";
|
|
repo = "python-ush";
|
|
rev = version;
|
|
sha256 = "sha256-eL3vG3yS02enbLYorKvvYKbju9HInffUhrZgkodwhvo=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
six
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|