mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Diff: https://github.com/pR0Ps/zipstream-ng/compare/v1.9.0...v1.9.2 Changelog: https://github.com/pR0Ps/zipstream-ng/blob/v1.9.2/CHANGELOG.md Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
hatchling,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zipstream-ng";
|
|
version = "1.9.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pR0Ps";
|
|
repo = "zipstream-ng";
|
|
tag = "v${version}";
|
|
hash = "sha256-1MSnabckpAwV/NmD5wKxF7k7hwve6fBiCPyw7skxdlM=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
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 ];
|
|
};
|
|
}
|