1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "contextlib2";
8 version = "0.6.0.post1";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e";
13 };
14
15 # requires unittest2, which has been removed
16 doCheck = false;
17
18 meta = {
19 description = "Backports and enhancements for the contextlib module";
20 homepage = "https://contextlib2.readthedocs.org/";
21 license = lib.licenses.psfl;
22 };
23}