blob: 27ee2fc82f9e8b4f4d1f889043525da13b3fbb7d (
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, isPy36, immutables }:
buildPythonPackage rec {
pname = "contextvars";
version = "2.3";
disabled = !isPy36;
src = fetchPypi {
inherit pname version;
sha256 = "09fnni8cyxm070bfv9ay030qbyk0dfds5nq77s0p38h33hp08h93";
};
# pull request for this patch is https://github.com/MagicStack/contextvars/pull/9
patches = [ ./immutables_version.patch ];
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 ];
};
}
|