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