mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +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.
34 lines
789 B
Nix
34 lines
789 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, isPy27
|
|
, lib
|
|
, setuptools
|
|
, setuptools-declarative-requirements
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-helpers-namespace";
|
|
version = "2021.12.29";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "792038247e0021beb966a7ea6e3a70ff5fcfba77eb72c6ec8fd6287af871c35b";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools setuptools-declarative-requirements setuptools-scm ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pytest_helpers_namespace" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/saltstack/pytest-helpers-namespace";
|
|
description = "PyTest Helpers Namespace";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.kiwi ];
|
|
};
|
|
}
|