about summary refs log tree commit diff
path: root/pkgs/development/python2-modules/contextlib2/default.nix
blob: 063039448feaba764c047b2b0fbd4a8caf486f79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "contextlib2";
  version = "0.6.0.post1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e";
  };

  # requires unittest2, which has been removed
  doCheck = false;

  meta = {
    description = "Backports and enhancements for the contextlib module";
    homepage = "https://contextlib2.readthedocs.org/";
    license = lib.licenses.psfl;
  };
}