nixpkgs/pkgs/development/python-modules/setuptools-scm/tests.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
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.
2023-01-21 12:00:00 +00:00

34 lines
471 B
Nix

{ buildPythonPackage
, setuptools-scm
, pytestCheckHook
, git
, mercurial
, pip
, virtualenv
}:
buildPythonPackage rec {
pname = "setuptools-scm-tests";
inherit (setuptools-scm) version;
format = "other";
src = setuptools-scm.src;
dontBuild = true;
dontInstall = true;
nativeCheckInputs = [
pytestCheckHook
setuptools-scm
pip
virtualenv
git
mercurial
];
disabledTests = [
# network access
"test_pip_download"
];
}