pythonPackages.zipfile36: init at 0.1.3
This commit is contained in:
parent
5ba37dfc7a
commit
44cc1d7193
|
@ -31330,6 +31330,27 @@ in {
|
|||
zeitgeist = if isPy3k then throw "zeitgeist not supported for interpreter ${python.executable}" else
|
||||
(pkgs.zeitgeist.override{python2Packages=self;}).py;
|
||||
|
||||
zipfile36 = buildPythonPackage rec {
|
||||
pname = "zipfile36";
|
||||
version = "0.1.3";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
sha256 = "a78a8dddf4fa114f7fe73df76ffcce7538e23433b7a6a96c1c904023f122aead";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest test_zipfile.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Read and write ZIP files - backport of the zipfile module from Python 3.6";
|
||||
homepage = https://gitlab.com/takluyver/zipfile36;
|
||||
license = licenses.psfl;
|
||||
maintainer = maintainers.fridh;
|
||||
};
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue