python2Packages.contextlib2: reinit at 0.6.0.post1

This commit is contained in:
Martin Weinelt 2021-08-26 23:30:22 +02:00
parent 88fdb63615
commit dcba1d01db
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
, unittest2
}:
buildPythonPackage rec {
pname = "contextlib2";
version = "0.6.0.post1";
src = fetchPypi {
inherit pname version;
sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e";
};
checkInputs = [ unittest2 ];
meta = {
description = "Backports and enhancements for the contextlib module";
homepage = "https://contextlib2.readthedocs.org/";
license = lib.licenses.psfl;
};
}

View File

@ -70,6 +70,8 @@ with self; with super; {
construct = callPackage ../development/python-modules/construct/2.10.54.nix { };
contextlib2 = callPackage ../development/python-modules/contextlib2/0.nix { };
convertdate = callPackage ../development/python-modules/convertdate/2.2.x.nix { };
cryptography = callPackage ../development/python-modules/cryptography/3.3.nix { };