My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/zipstream-ng/default.nix

38 lines
883 B

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