9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
41 lines
1,017 B
Nix
41 lines
1,017 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zipstream-ng";
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pR0Ps";
|
|
repo = "zipstream-ng";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-mY0dbHho/K1nTmhlv8i8KPa4HW7epBhfEksX3E2df2M=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"zipstream"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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";
|
|
changelog = "https://github.com/pR0Ps/zipstream-ng/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ gador ];
|
|
};
|
|
}
|