3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/contextlib2/default.nix

24 lines
474 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2017-12-05 19:34:20 +00:00
, unittest2
}:
buildPythonPackage rec {
pname = "contextlib2";
version = "21.6.0";
2019-08-13 22:52:01 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869";
};
2017-12-05 19:34:20 +00:00
checkInputs = [ unittest2 ];
meta = {
description = "Backports and enhancements for the contextlib module";
homepage = "https://contextlib2.readthedocs.org/";
license = lib.licenses.psfl;
};
2017-12-05 19:34:20 +00:00
}