From dc55a32f1e68abbdfe7f27c4b9a9e6d84407e612 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 29 Sep 2021 09:52:05 +0200 Subject: [PATCH] python3Packages.asgiref: 3.3.4 -> 3.4.1 --- .../python-modules/asgiref/default.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/asgiref/default.nix b/pkgs/development/python-modules/asgiref/default.nix index f1128c010957..5eea9a5579a1 100644 --- a/pkgs/development/python-modules/asgiref/default.nix +++ b/pkgs/development/python-modules/asgiref/default.nix @@ -1,27 +1,29 @@ -{ stdenv +{ lib +, stdenv , async-timeout , buildPythonPackage , fetchFromGitHub , pytest-asyncio , pytestCheckHook , pythonOlder -, lib }: buildPythonPackage rec { - version = "3.3.4"; + version = "3.4.1"; pname = "asgiref"; - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "django"; repo = pname; rev = version; - sha256 = "1rr76252l6p12yxc0q4k9wigg1jz8nsqga9c0nixy9q77zhvh9n2"; + sha256 = "sha256-aXD46qH5sTTmp0rlzQGLAN+MfIz1u6obCwtfqoIYgBA="; }; - propagatedBuildInputs = [ async-timeout ]; + propagatedBuildInputs = [ + async-timeout + ]; checkInputs = [ pytestCheckHook @@ -32,9 +34,12 @@ buildPythonPackage rec { "test_multiprocessing" ]; + pythonImportsCheck = [ "asgiref" ]; + meta = with lib; { description = "Reference ASGI adapters and channel layers"; - license = licenses.bsd3; homepage = "https://github.com/django/asgiref"; + license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; }