2017-09-05 10:16:41 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-12-05 19:34:20 +00:00
|
|
|
, unittest2
|
2017-09-05 10:16:41 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "contextlib2";
|
2021-08-26 20:38:06 +01:00
|
|
|
version = "21.6.0";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
src = fetchPypi {
|
2017-09-05 10:16:41 +01:00
|
|
|
inherit pname version;
|
2021-08-26 20:38:06 +01:00
|
|
|
sha256 = "ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
2017-12-05 19:34:20 +00:00
|
|
|
checkInputs = [ unittest2 ];
|
|
|
|
|
2017-09-05 10:16:41 +01:00
|
|
|
meta = {
|
|
|
|
description = "Backports and enhancements for the contextlib module";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://contextlib2.readthedocs.org/";
|
2017-09-05 10:16:41 +01:00
|
|
|
license = lib.licenses.psfl;
|
|
|
|
};
|
2017-12-05 19:34:20 +00:00
|
|
|
}
|