at 23.05-pre 863 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, rednose 5, six 6, mock 7, isPyPy 8, fetchpatch 9}: 10 11buildPythonPackage rec { 12 pname = "sure"; 13 version = "2.0.0"; 14 disabled = isPyPy; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "34ae88c846046742ef074036bf311dc90ab152b7bc09c342b281cebf676727a2"; 19 }; 20 21 patches = [ 22 # https://github.com/gabrielfalcao/sure/issues/169 23 (fetchpatch { 24 url = "https://raw.githubusercontent.com/archlinux/svntogit-community/055baa81cd987e566de62a5657513937521a90d4/trunk/python310.diff"; 25 sha256 = "sha256-BKylV8xpTOuO/X4hzZKpoIcAQcdAK0kXYENRad7AGPc="; 26 }) 27 ]; 28 29 buildInputs = [ rednose ]; 30 propagatedBuildInputs = [ six mock ]; 31 32 meta = with lib; { 33 description = "Utility belt for automated testing"; 34 homepage = "https://sure.readthedocs.io/en/latest/"; 35 license = licenses.gpl3Plus; 36 }; 37 38}