lol

python311Packages.klein: 2022-06-26 -> 2023-09-05

Bumping past the latest release, because it is incompatible with our
hypothesis version.

+26 -14
+26 -14
pkgs/development/python-modules/klein/default.nix
··· 1 1 { lib 2 - , stdenv 3 - , attrs 4 2 , buildPythonPackage 5 3 , fetchFromGitHub 4 + , pythonOlder 5 + 6 + # build-system 7 + , setuptools 8 + , wheel 9 + 10 + # dependencies 11 + , attrs 6 12 , hyperlink 7 - , hypothesis 8 13 , incremental 9 - , python 10 - , pythonOlder 11 - , treq 12 14 , tubes 13 15 , twisted 14 - , typing-extensions 15 16 , werkzeug 16 17 , zope_interface 18 + 19 + # tests 20 + , idna 21 + , python 22 + , treq 17 23 }: 18 24 19 25 buildPythonPackage rec { 20 26 pname = "klein"; 21 - version = "unstable-2022-06-26"; 22 - format = "setuptools"; 27 + version = "unstable-2023-09-05"; 28 + format = "pyproject"; 23 29 24 30 disabled = pythonOlder "3.7"; 25 31 26 32 src = fetchFromGitHub { 27 33 owner = "twisted"; 28 34 repo = pname; 29 - rev = "d8c2b92a3c77aa64c596696fb6f07172ecf94a74"; 30 - hash = "sha256-RDZqavkteUbARV78OctZtLIrE4RoYDVAanjwE5i/ZeM="; 35 + rev = "44b356ede27a667252ae5392014c802f0492c017"; 36 + hash = "sha256-zHdyyx5IseFWr25BGLL0dDM8/5BDehsvbxIci+DEo9s="; 31 37 }; 32 38 39 + nativeBuildInputs = [ 40 + setuptools 41 + wheel 42 + ]; 43 + 33 44 propagatedBuildInputs = [ 34 45 attrs 35 46 hyperlink ··· 38 49 tubes 39 50 werkzeug 40 51 zope_interface 41 - ] ++ lib.optionals (pythonOlder "3.8") [ 42 - typing-extensions 43 52 ]; 44 53 45 54 nativeCheckInputs = [ 46 - hypothesis 55 + idna 47 56 treq 48 57 ]; 49 58 50 59 checkPhase = '' 60 + runHook preCheck 51 61 ${python.interpreter} -m twisted.trial klein 62 + runHook postCheck 52 63 ''; 53 64 54 65 pythonImportsCheck = [ ··· 56 67 ]; 57 68 58 69 meta = with lib; { 70 + changelog = "https://github.com/twisted/klein/releases/tag/${version}"; 59 71 description = "Klein Web Micro-Framework"; 60 72 homepage = "https://github.com/twisted/klein"; 61 73 license = licenses.mit;