mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
35 lines
686 B
Nix
35 lines
686 B
Nix
|
{ 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;
|
||
|
};
|
||
|
|
||
|
}
|