lol

python310Packages.hypercorn: 0.13.2 -> 0.14.3

https://github.com/pgjones/hypercorn/blob/0.14.3/CHANGELOG.rst

+9 -13
+9 -13
pkgs/development/python-modules/hypercorn/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitLab 3 + , fetchFromGitHub 4 4 , pythonOlder 5 5 , typing-extensions 6 6 , wsproto ··· 10 10 , mock 11 11 , poetry-core 12 12 , pytest-asyncio 13 - , pytest-cov 14 - , pytest-sugar 15 13 , pytest-trio 16 14 , pytestCheckHook 17 15 }: 18 16 19 17 buildPythonPackage rec { 20 18 pname = "Hypercorn"; 21 - version = "0.13.2"; 19 + version = "0.14.3"; 22 20 disabled = pythonOlder "3.7"; 23 21 format = "pyproject"; 24 22 25 - src = fetchFromGitLab { 23 + src = fetchFromGitHub { 26 24 owner = "pgjones"; 27 25 repo = pname; 28 26 rev = version; 29 - sha256 = "sha256-fIjw5A6SvFUv8cU7xunVlPYphv+glypY4pzvHNifYLQ="; 27 + hash = "sha256-ECREs8UwqTWUweUrwnUwpVotCII2v4Bz7ZCk3DSAd8I="; 30 28 }; 31 29 30 + postPatch = '' 31 + sed -i "/^addopts/d" pyproject.toml 32 + ''; 33 + 32 34 nativeBuildInputs = [ 33 35 poetry-core 34 36 ]; ··· 38 40 39 41 checkInputs = [ 40 42 pytest-asyncio 41 - pytest-cov 42 - pytest-sugar 43 43 pytest-trio 44 44 pytestCheckHook 45 45 ] ++ lib.optionals (pythonOlder "3.8") [ mock ]; 46 46 47 - pytestFlagsArray = [ 48 - "--asyncio-mode=legacy" 49 - ]; 50 - 51 47 pythonImportsCheck = [ "hypercorn" ]; 52 48 53 49 meta = with lib; { 54 - homepage = "https://pgjones.gitlab.io/hypercorn/"; 50 + homepage = "https://github.com/pgjones/hypercorn"; 55 51 description = "The ASGI web server inspired by Gunicorn"; 56 52 license = licenses.mit; 57 53 maintainers = with maintainers; [ dgliwka ];