python3Packages.zipstream-new: init at 1.1.8

This commit is contained in:
Martin Weinelt 2021-08-09 17:11:36 +02:00
parent 9ec7deee8b
commit 9f99f6f7bf
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
}:
buildPythonPackage rec {
pname = "zipstream-new";
version = "1.1.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "arjan-s";
repo = "python-zipstream";
rev = "v${version}";
sha256 = "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv";
};
pythonImportsCheck = [
"zipstream"
];
checkInputs = [
nose
];
checkPhase = ''
runHook preCheck
nosetests
runHook postCheck
'';
meta = with lib; {
description = "Like Python's ZipFile module, except it works as a generator that provides the file in many small chunks";
homepage = "https://github.com/arjan-s/python-zipstream";
license = licenses.gpl3;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -9670,6 +9670,8 @@ in {
zipstream = callPackage ../development/python-modules/zipstream { };
zipstream-new = callPackage ../development/python-modules/zipstream-new { };
zm-py = callPackage ../development/python-modules/zm-py { };
zodb = callPackage ../development/python-modules/zodb { };