2018-07-23 23:12:19 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python
|
|
|
|
, pbr, fixtures, testtools }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testresources";
|
|
|
|
version = "2.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "ee9d1982154a1e212d4e4bac6b610800bfb558e4fb853572a827bc14a96e4417";
|
|
|
|
};
|
|
|
|
|
2019-12-11 03:45:21 +00:00
|
|
|
propagatedBuildInputs = [ pbr ];
|
2018-07-23 23:12:19 +01:00
|
|
|
|
|
|
|
checkInputs = [ fixtures testtools ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m testtools.run discover
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pyunit extension for managing expensive test resources";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://launchpad.net/testresources";
|
2018-07-23 23:12:19 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|