mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
12d4cc12ac
Fix broken python package `sure`
30 lines
549 B
Nix
30 lines
549 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, rednose
|
|
, six
|
|
, mock
|
|
, isPyPy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sure";
|
|
version = "1.4.11";
|
|
disabled = isPyPy;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3c8d5271fb18e2c69e2613af1ad400d8df090f1456081635bd3171847303cdaa";
|
|
};
|
|
|
|
buildInputs = [ rednose ];
|
|
propagatedBuildInputs = [ six mock ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Utility belt for automated testing";
|
|
homepage = https://sure.readthedocs.io/en/latest/;
|
|
license = licenses.gpl3Plus;
|
|
};
|
|
|
|
}
|