Loading pkgs/development/python-modules/xdis/default.nix +5 −2 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ , fetchFromGitHub , fetchpatch , pytestCheckHook , pythonAtLeast , pythonOlder , six }: Loading @@ -13,7 +14,8 @@ buildPythonPackage rec { version = "6.0.5"; format = "setuptools"; disabled = pythonOlder "3.6"; # No support for Python 3.11, https://github.com/rocky/python-xdis/issues/98 disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; src = fetchFromGitHub { owner = "rocky"; Loading @@ -25,7 +27,7 @@ buildPythonPackage rec { postPatch = '' # Our Python release is not in the test matrix substituteInPlace xdis/magics.py \ --replace "3.10.4" "3.10.5 3.10.6" --replace "3.10.4" "3.10.5 3.10.6 3.10.7 3.10.8 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14" ''; propagatedBuildInputs = [ Loading Loading @@ -60,6 +62,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python cross-version byte-code disassembler and marshal routines"; homepage = "https://github.com/rocky/python-xdis"; changelog = "https://github.com/rocky/python-xdis/releases/tag/${version}"; license = licenses.gpl2Plus; maintainers = with maintainers; [ onny ]; }; Loading Loading
pkgs/development/python-modules/xdis/default.nix +5 −2 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ , fetchFromGitHub , fetchpatch , pytestCheckHook , pythonAtLeast , pythonOlder , six }: Loading @@ -13,7 +14,8 @@ buildPythonPackage rec { version = "6.0.5"; format = "setuptools"; disabled = pythonOlder "3.6"; # No support for Python 3.11, https://github.com/rocky/python-xdis/issues/98 disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; src = fetchFromGitHub { owner = "rocky"; Loading @@ -25,7 +27,7 @@ buildPythonPackage rec { postPatch = '' # Our Python release is not in the test matrix substituteInPlace xdis/magics.py \ --replace "3.10.4" "3.10.5 3.10.6" --replace "3.10.4" "3.10.5 3.10.6 3.10.7 3.10.8 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14" ''; propagatedBuildInputs = [ Loading Loading @@ -60,6 +62,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python cross-version byte-code disassembler and marshal routines"; homepage = "https://github.com/rocky/python-xdis"; changelog = "https://github.com/rocky/python-xdis/releases/tag/${version}"; license = licenses.gpl2Plus; maintainers = with maintainers; [ onny ]; }; Loading