python3Packages.zipstream-ng: init at 1.3.4

needed for octoprint update

Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
This commit is contained in:
florian on nixos (Florian Brandes) 2022-03-22 11:01:00 +01:00 committed by Jonathan Ringer
parent d6734ba8a2
commit bb82344ca6
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ 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 ];
};
}

View file

@ -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 { };