Commit bb82344c authored by florian on nixos (Florian Brandes)'s avatar florian on nixos (Florian Brandes) Committed by Jonathan Ringer
Browse files

python3Packages.zipstream-ng: init at 1.3.4

parent d6734ba8
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "zipstream-ng";
  version = "1.3.4";

  disabled = pythonOlder "3.7";
  src = fetchFromGitHub {
    owner = "pR0Ps";
    repo = "zipstream-ng";
    rev = "v${version}";
    sha256 = "NTsnGCddGDUxdHbEoM2ew756psboex3sb6MkYKtaSjQ=";
  };

  pythonImportsCheck = [
    "zipstream"
  ];

  checkInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Library to generate streamable zip files";
    longDescription = ''
      A modern and easy to use streamable zip file generator. It can package and stream many files
      and folders on the fly without needing temporary files or excessive memory
    '';
    homepage = "https://github.com/pR0Ps/zipstream-ng";
    license = licenses.lgpl3Only;
    maintainers = with maintainers; [ gador ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10987,6 +10987,8 @@ in {

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

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

  zm-py = callPackage ../development/python-modules/zm-py { };

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