python3Packages.asgiref: 3.3.4 -> 3.4.1

This commit is contained in:
Fabian Affolter 2021-09-29 09:52:05 +02:00
parent 413d93fade
commit dc55a32f1e

View File

@ -1,27 +1,29 @@
{ stdenv { lib
, stdenv
, async-timeout , async-timeout
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, lib
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.3.4"; version = "3.4.1";
pname = "asgiref"; pname = "asgiref";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "django"; owner = "django";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1rr76252l6p12yxc0q4k9wigg1jz8nsqga9c0nixy9q77zhvh9n2"; sha256 = "sha256-aXD46qH5sTTmp0rlzQGLAN+MfIz1u6obCwtfqoIYgBA=";
}; };
propagatedBuildInputs = [ async-timeout ]; propagatedBuildInputs = [
async-timeout
];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
@ -32,9 +34,12 @@ buildPythonPackage rec {
"test_multiprocessing" "test_multiprocessing"
]; ];
pythonImportsCheck = [ "asgiref" ];
meta = with lib; { meta = with lib; {
description = "Reference ASGI adapters and channel layers"; description = "Reference ASGI adapters and channel layers";
license = licenses.bsd3;
homepage = "https://github.com/django/asgiref"; homepage = "https://github.com/django/asgiref";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
}; };
} }