1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/contextvars/default.nix

22 lines
574 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy36, immutables }:
buildPythonPackage rec {
pname = "contextvars";
version = "2.3";
disabled = !isPy36;
src = fetchPypi {
inherit pname version;
sha256 = "09fnni8cyxm070bfv9ay030qbyk0dfds5nq77s0p38h33hp08h93";
};
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 ];
};
}