Commit 25ef6a77 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pyzipper: init at 0.3.6

parent 9017e6d3
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pycryptodomex
}:

buildPythonPackage rec {
  pname = "pyzipper";
  version = "0.3.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "danifus";
    repo = "pyzipper";
    rev = "refs/tags/v${version}";
    hash = "sha256-+fZXoAUeB/bUI3LrIFlMTktJgn+GNFBiDHvH2Jgo0pg=";
  };

  propagatedBuildInputs = [
    pycryptodomex
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "pyzipper"
  ];

  disabledTests = [
    # Tests are parsing CLI output
    "test_args_from_interpreter_flags"
    "test_bad_use"
    "test_bad_use"
    "test_check__all__"
    "test_create_command"
    "test_extract_command"
    "test_main"
    "test_temp_dir__forked_child"
    "test_test_command"
  ];

  meta = with lib; {
    description = "Python zipfile extensions";
    homepage = "https://github.com/danifus/pyzipper";
    changelog = "https://github.com/danifus/pyzipper/blob/v${version}/HISTORY.rst";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7773,6 +7773,8 @@ self: super: with self; {

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

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

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

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