pythonPackages.contextvars: init at 2.2
This commit is contained in:
parent
5862c6835a
commit
1bfa8c294c
21
pkgs/development/python-modules/contextvars/default.nix
Normal file
21
pkgs/development/python-modules/contextvars/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, isPy36, immutables }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "contextvars";
|
||||||
|
version = "2.2";
|
||||||
|
disabled = !isPy36;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "046b385nfzkjh0wqmd268p2jkgn9fg6hz40npq7j1w3c8aqzhwvx";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ immutables ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A backport of the Python 3.7 contextvars module for Python 3.6";
|
||||||
|
homepage = https://github.com/MagicStack/contextvars;
|
||||||
|
license = with lib.licenses; [ asl20 ];
|
||||||
|
maintainers = with lib.maintainers; [ catern ];
|
||||||
|
};
|
||||||
|
}
|
@ -1629,6 +1629,8 @@ in {
|
|||||||
|
|
||||||
contexter = callPackage ../development/python-modules/contexter { };
|
contexter = callPackage ../development/python-modules/contexter { };
|
||||||
|
|
||||||
|
contextvars = callPackage ../development/python-modules/contextvars {};
|
||||||
|
|
||||||
contextlib2 = callPackage ../development/python-modules/contextlib2 { };
|
contextlib2 = callPackage ../development/python-modules/contextlib2 { };
|
||||||
|
|
||||||
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
|
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
|
||||||
|
Loading…
Reference in New Issue
Block a user