2018-10-27 22:54:42 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-11-27 20:10:25 +00:00
|
|
|
, rednose
|
2018-10-27 22:54:42 +01:00
|
|
|
, six
|
|
|
|
, mock
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sure";
|
2018-11-27 20:10:25 +00:00
|
|
|
version = "1.4.11";
|
2018-10-27 22:54:42 +01:00
|
|
|
disabled = isPyPy;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-27 20:10:25 +00:00
|
|
|
sha256 = "3c8d5271fb18e2c69e2613af1ad400d8df090f1456081635bd3171847303cdaa";
|
2018-10-27 22:54:42 +01:00
|
|
|
};
|
|
|
|
|
2018-11-27 20:10:25 +00:00
|
|
|
buildInputs = [ rednose ];
|
2018-10-27 22:54:42 +01:00
|
|
|
propagatedBuildInputs = [ six mock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Utility belt for automated testing";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sure.readthedocs.io/en/latest/";
|
2018-10-27 22:54:42 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|