diff options
Diffstat (limited to 'pkgs/development/python-modules/testrepository/default.nix')
-rw-r--r-- | pkgs/development/python-modules/testrepository/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/testrepository/default.nix b/pkgs/development/python-modules/testrepository/default.nix new file mode 100644 index 000000000000..dbc342c1c4da --- /dev/null +++ b/pkgs/development/python-modules/testrepository/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, testtools +, testresources +, pbr +, subunit +, fixtures +, python +}: + +buildPythonPackage rec { + pname = "testrepository"; + version = "0.0.20"; + + src = fetchPypi { + inherit pname version; + sha256 = "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m"; + }; + + buildInputs = [ testtools testresources ]; + propagatedBuildInputs = [ pbr subunit fixtures ]; + + checkPhase = '' + ${python.interpreter} ./testr + ''; + + meta = with stdenv.lib; { + description = "A database of test results which can be used as part of developer workflow"; + homepage = https://pypi.python.org/pypi/testrepository; + license = licenses.bsd2; + }; + +} |