Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 39 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "zipstream-ng"; 11 version = "1.7.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "pR0Ps"; 18 repo = "zipstream-ng"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-BYQse+DlyLUH9CofRfGrPUZjP7E8AP/wpirvJmSRfow="; 21 }; 22 23 pythonImportsCheck = [ "zipstream" ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = with lib; { 28 description = "Library to generate streamable zip files"; 29 mainProgram = "zipserver"; 30 longDescription = '' 31 A modern and easy to use streamable zip file generator. It can package and stream many files 32 and folders on the fly without needing temporary files or excessive memory 33 ''; 34 homepage = "https://github.com/pR0Ps/zipstream-ng"; 35 changelog = "https://github.com/pR0Ps/zipstream-ng/blob/v${version}/CHANGELOG.md"; 36 license = licenses.lgpl3Only; 37 maintainers = with maintainers; [ gador ]; 38 }; 39}