lol

pythonPackages.effect: fix build by marking py3 only

Upstream only supports python >= 3.6:
https://github.com/python-effect/effect/#effect

CC @NixOS/nixos-release-managers

ZHF: #80379

+8 -1
+8 -1
pkgs/development/python-modules/effect/default.nix
··· 1 1 { buildPythonPackage 2 2 , fetchPypi 3 3 , lib 4 + , isPy3k 4 5 , six 5 6 , attrs 6 7 , pytest 7 8 , testtools 8 9 }: 10 + 9 11 buildPythonPackage rec { 10 12 version = "1.1.0"; 11 13 pname = "effect"; 14 + disabled = (!isPy3k); 12 15 13 16 src = fetchPypi { 14 17 inherit pname version; 15 18 sha256 = "7affb603707c648b07b11781ebb793a4b9aee8acf1ac5764c3ed2112adf0c9ea"; 16 19 }; 20 + 17 21 checkInputs = [ 18 22 pytest 19 23 testtools 20 24 ]; 25 + 21 26 propagatedBuildInputs = [ 22 27 six 23 28 attrs 24 29 ]; 30 + 25 31 checkPhase = '' 26 32 pytest 27 33 ''; 34 + 28 35 meta = with lib; { 29 36 description = "Pure effects for Python"; 30 - homepage = https://github.com/python-effect/effect; 37 + homepage = "https://github.com/python-effect/effect"; 31 38 license = licenses.mit; 32 39 }; 33 40 }