1{ lib
2, buildPythonPackage
3, fetchPypi
4, testtools
5, testresources
6, pbr
7, subunit
8, fixtures
9, python
10}:
11
12buildPythonPackage rec {
13 pname = "testrepository";
14 version = "0.0.20";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m";
19 };
20
21 nativeCheckInputs = [ testresources ];
22 buildInputs = [ pbr ];
23 propagatedBuildInputs = [ fixtures subunit testtools ];
24
25 checkPhase = ''
26 ${python.interpreter} ./testr
27 '';
28
29 meta = with lib; {
30 description = "A database of test results which can be used as part of developer workflow";
31 homepage = "https://pypi.python.org/pypi/testrepository";
32 license = licenses.bsd2;
33 };
34
35}