Unverified Commit a100acd7 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #214232 from FRidh/zipfile36

python3Packages.zipfile36: no longer used nor usable by any supported…
parents f90a34bb 81dc0f8c
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy3k
, pythonOlder
}:

buildPythonPackage rec {
  pname = "zipfile36";
  version = "0.1.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a78a8dddf4fa114f7fe73df76ffcce7538e23433b7a6a96c1c904023f122aead";
  };

  checkPhase = ''
    ${python.interpreter} -m unittest test_zipfile.py
  '';

  # Only works with Python 3.x.
  # Not supposed to be used with 3.6 and up.
  disabled = !(isPy3k && (pythonOlder "3.6"));

  meta = {
    description = "Read and write ZIP files - backport of the zipfile module from Python 3.6";
    homepage = "https://gitlab.com/takluyver/zipfile36";
    license = lib.licenses.psfl;
    maintainers = [ lib.maintainers.fridh ];
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -12614,8 +12614,6 @@ self: super: with self; {

  zimports = callPackage ../development/python-modules/zimports { };

  zipfile36 = callPackage ../development/python-modules/zipfile36 { };

  zipp = callPackage ../development/python-modules/zipp { };

  zipstream = callPackage ../development/python-modules/zipstream { };