12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-xepMbxglBpHL7mnJYlnvNUgixrFwf/Tc6b1zL4Wy+to=";
26 propagatedBuildInputs = [ typing-extensions ];
33 disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_multiprocessing" ];
35 __darwinAllowLocalNetworking = true;
37 pythonImportsCheck = [ "asgiref" ];
40 changelog = "https://github.com/django/asgiref/blob/${src.rev}/CHANGELOG.txt";
41 description = "Reference ASGI adapters and channel layers";
42 homepage = "https://github.com/django/asgiref";
43 license = licenses.bsd3;