depot/third_party/nixpkgs/pkgs/development/python-modules/testrepository/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

41 lines
776 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
testtools,
testresources,
pbr,
subunit,
fixtures,
python,
}:
buildPythonPackage rec {
pname = "testrepository";
version = "0.0.21";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Nor89+CQs8aIvddUol9kvDFOUSuBb4xxufn8F9w3o9k=";
};
nativeCheckInputs = [ testresources ];
buildInputs = [ pbr ];
propagatedBuildInputs = [
fixtures
subunit
testtools
];
checkPhase = ''
${python.interpreter} ./testr
'';
meta = with lib; {
description = "Database of test results which can be used as part of developer workflow";
mainProgram = "testr";
homepage = "https://pypi.python.org/pypi/testrepository";
license = licenses.bsd2;
};
}