Loading pkgs/development/python-modules/zipfile2/default.nix +23 −11 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, lib, pythonAtLeast, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "zipfile2"; version = "0.0.12"; format = "setuptools"; version = "0.0.12-unstable-2024-09-28"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "cournape"; repo = pname; rev = "v${version}"; hash = "sha256-BwcEgW4XrQqz0Jmtbyxf8q0mWTJXv2dL3Tk7N/IYuMI="; repo = "zipfile2"; #rev = "refs/tags/v${version}"; rev = "8823f7253772e5c5811343306a591c00c764c6d0"; hash = "sha256-jDOyIj0sQS1dIsar4nyk5V2mme3Zc6VTms49/4n93ho="; }; patches = [ ./no-setuid.patch ]; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "zipfile2" ]; disabledTests = [ # PermissionError: [Errno 1] Operation not ... "test_extract" ]; meta = with lib; { homepage = "https://github.com/cournape/zipfile2"; description = "Backwards-compatible improved zipfile class"; maintainers = with maintainers; [ genericnerdyusername ]; homepage = "https://github.com/cournape/zipfile2"; changelog = "https://github.com/itziakos/zipfile2/releases/tag/v${version}"; license = licenses.psfl; broken = pythonAtLeast "3.12"; # tests are failing because the signature of ZipInfo._decodeExtra changed maintainers = with maintainers; [ genericnerdyusername ]; }; } Loading
pkgs/development/python-modules/zipfile2/default.nix +23 −11 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, lib, pythonAtLeast, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "zipfile2"; version = "0.0.12"; format = "setuptools"; version = "0.0.12-unstable-2024-09-28"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "cournape"; repo = pname; rev = "v${version}"; hash = "sha256-BwcEgW4XrQqz0Jmtbyxf8q0mWTJXv2dL3Tk7N/IYuMI="; repo = "zipfile2"; #rev = "refs/tags/v${version}"; rev = "8823f7253772e5c5811343306a591c00c764c6d0"; hash = "sha256-jDOyIj0sQS1dIsar4nyk5V2mme3Zc6VTms49/4n93ho="; }; patches = [ ./no-setuid.patch ]; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "zipfile2" ]; disabledTests = [ # PermissionError: [Errno 1] Operation not ... "test_extract" ]; meta = with lib; { homepage = "https://github.com/cournape/zipfile2"; description = "Backwards-compatible improved zipfile class"; maintainers = with maintainers; [ genericnerdyusername ]; homepage = "https://github.com/cournape/zipfile2"; changelog = "https://github.com/itziakos/zipfile2/releases/tag/v${version}"; license = licenses.psfl; broken = pythonAtLeast "3.12"; # tests are failing because the signature of ZipInfo._decodeExtra changed maintainers = with maintainers; [ genericnerdyusername ]; }; }