about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python2-modules/contextlib2/default.nix
blob: 38d9fb696e2818c2f6062214c73c8332649233ea (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
, unittest2
}:

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

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

  checkInputs = [ unittest2 ];

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