about summary refs log tree commit diff
path: root/pkgs/development/python-modules/contextlib2/default.nix
blob: 1387e786e7b7739a202530b3631eb7abcb524c5c (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 = "21.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869";
  };

  checkInputs = [ unittest2 ];

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