2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-27 22:54:42 +01:00
|
|
|
, 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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 22:54:42 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|