diff options
author | florian on nixos (Florian Brandes) <florian.brandes@posteo.de> | 2022-03-22 11:01:00 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-03-22 08:43:15 -0700 |
commit | bb82344ca6925b1b4e4a7de9465016ba40904fc3 (patch) | |
tree | b68b8d71c3ec0883f2ea237773db76be96f110e8 /pkgs/development/python-modules | |
parent | d6734ba8a24946c24b6a4cbd405925f9ec3cbd08 (diff) | |
download | nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.tar nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.tar.gz nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.tar.bz2 nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.tar.lz nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.tar.xz nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.tar.zst nixlib-bb82344ca6925b1b4e4a7de9465016ba40904fc3.zip |
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>
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/zipstream-ng/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zipstream-ng/default.nix b/pkgs/development/python-modules/zipstream-ng/default.nix new file mode 100644 index 000000000000..b1f620557bfa --- /dev/null +++ b/pkgs/development/python-modules/zipstream-ng/default.nix @@ -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 ]; + }; +} |