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