depot/third_party/nixpkgs/pkgs/development/python-modules/stevedore/tests.nix

29 lines
385 B
Nix

{
buildPythonPackage,
docutils,
sphinx,
stestr,
stevedore,
}:
buildPythonPackage {
pname = "stevedore-tests";
inherit (stevedore) version src;
format = "other";
dontBuild = true;
dontInstall = true;
nativeCheckInputs = [
docutils
sphinx
stestr
stevedore
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
}