2017-09-05 02:16:41 -07:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-12-05 11:34:20 -08:00
|
|
|
, unittest2
|
2017-09-05 02:16:41 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "contextlib2";
|
2019-10-23 23:47:28 -07:00
|
|
|
version = "0.6.0.post1";
|
2017-09-05 02:16:41 -07:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
src = fetchPypi {
|
2017-09-05 02:16:41 -07:00
|
|
|
inherit pname version;
|
2019-10-23 23:47:28 -07:00
|
|
|
sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e";
|
2017-09-05 02:16:41 -07:00
|
|
|
};
|
|
|
|
|
2017-12-05 11:34:20 -08:00
|
|
|
checkInputs = [ unittest2 ];
|
|
|
|
|
2017-09-05 02:16:41 -07:00
|
|
|
meta = {
|
|
|
|
description = "Backports and enhancements for the contextlib module";
|
2019-04-22 01:24:21 -07:00
|
|
|
homepage = https://contextlib2.readthedocs.org/;
|
2017-09-05 02:16:41 -07:00
|
|
|
license = lib.licenses.psfl;
|
|
|
|
};
|
2017-12-05 11:34:20 -08:00
|
|
|
}
|