|
|
|
@ -6,11 +6,10 @@ |
|
|
|
|
, pytest-asyncio |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, pythonOlder |
|
|
|
|
, fetchpatch |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
version = "3.5.0"; |
|
|
|
|
version = "3.5.2"; |
|
|
|
|
pname = "asgiref"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
@ -20,17 +19,9 @@ buildPythonPackage rec { |
|
|
|
|
owner = "django"; |
|
|
|
|
repo = pname; |
|
|
|
|
rev = version; |
|
|
|
|
sha256 = "sha256-eWDsd8iWK1C/X3t/fKAM1i4hyTM/daGTd8CDSgDTL/U="; |
|
|
|
|
sha256 = "sha256-56suF63ePRDprqODhVIPCEGiO8UGgWrpwg2wYEs6OOE="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
(fetchpatch { |
|
|
|
|
name = "remove-sock-nonblock-in-tests.patch"; |
|
|
|
|
url = "https://github.com/django/asgiref/commit/d451a724c93043b623e83e7f86743bbcd9a05c45.patch"; |
|
|
|
|
sha256 = "0whdsn5isln4dqbqqngvsy4yxgaqgpnziz0cndj1zdxim8cdicj7"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
async-timeout |
|
|
|
|
]; |
|
|
|
|