bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
41 lines
778 B
Nix
41 lines
778 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;
|
|
sha256 = "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;
|
|
};
|
|
}
|