forked from mirrors/nixpkgs
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:
parent
d6734ba8a2
commit
bb82344ca6
38
pkgs/development/python-modules/zipstream-ng/default.nix
Normal file
38
pkgs/development/python-modules/zipstream-ng/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue