5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
42 lines
735 B
Nix
42 lines
735 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, rednose
|
|
, six
|
|
, mock
|
|
, isPyPy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sure";
|
|
version = "2.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = isPyPy;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-yPxvq8Dn9phO6ruUJUDkVkblvvC7mf5Z4C2mNOTUuco=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
mock
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
rednose
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"sure"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Utility belt for automated testing";
|
|
homepage = "https://sure.readthedocs.io/";
|
|
changelog = "https://github.com/gabrielfalcao/sure/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|