blob: 7d1308d929ca9b52ba5aefe948c217367bf116eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "zipstream-ng";
version = "1.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pR0Ps";
repo = "zipstream-ng";
tag = "v${version}";
hash = "sha256-dkSTZkj6Rx6OMdlX4oDOydetosf/iEJhlARmEc0W9gQ=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "zipstream" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Library to generate streamable zip files";
mainProgram = "zipserver";
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 = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ gador ];
};
}
|