2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-28 15:27:29 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, testtools
|
|
|
|
, testresources
|
|
|
|
, pbr
|
|
|
|
, subunit
|
|
|
|
, fixtures
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testrepository";
|
|
|
|
version = "0.0.20";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m";
|
|
|
|
};
|
|
|
|
|
2018-11-04 17:07:59 +00:00
|
|
|
checkInputs = [ testresources ];
|
|
|
|
buildInputs = [ pbr ];
|
|
|
|
propagatedBuildInputs = [ fixtures subunit testtools ];
|
2018-10-28 15:27:29 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} ./testr
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 15:27:29 +00:00
|
|
|
description = "A database of test results which can be used as part of developer workflow";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/testrepository";
|
2018-10-28 15:27:29 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|