nixpkgs-suyu/pkgs/development/python-modules/contextlib2/default.nix

24 lines
477 B
Nix
Raw Normal View History

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