lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.h2: 4.1.0 -> 4.2.0

This commit was automatically generated using update-python-libraries.

+12 -19
+12 -19
pkgs/development/python-modules/h2/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - pythonOlder, 5 - fetchPypi, 6 - fetchpatch, 4 + fetchFromGitHub, 5 + setuptools, 7 6 hpack, 8 7 hyperframe, 9 8 pytestCheckHook, ··· 12 11 13 12 buildPythonPackage rec { 14 13 pname = "h2"; 15 - version = "4.1.0"; 16 - format = "setuptools"; 17 - 18 - disabled = pythonOlder "3.6"; 14 + version = "4.2.0"; 15 + pyproject = true; 19 16 20 - src = fetchPypi { 21 - inherit pname version; 22 - hash = "sha256-qDrKCPvnqst5/seIycC6yTY0NWDtnsGLgqE6EsKNKrs="; 17 + src = fetchFromGitHub { 18 + owner = "python-hyper"; 19 + repo = "h2"; 20 + tag = "v${version}"; 21 + hash = "sha256-rfCwMn2msiRoIvhsdK6hyp3BjDy5AGziX4Or0cb9bKc="; 23 22 }; 24 23 25 - patches = [ 26 - # https://github.com/python-hyper/h2/pull/1274 27 - (fetchpatch { 28 - name = "fix-tests-in-python-3.11.patch"; 29 - url = "https://github.com/python-hyper/h2/commit/8952c91606cd014720ccf202a25b5ee1fbed1591.patch"; 30 - hash = "sha256-skAdAVHMZo1xJEqqKa6FOKPvoQQbGUgGsQjE11jIjtw="; 31 - }) 32 - ]; 24 + build-system = [ setuptools ]; 33 25 34 - propagatedBuildInputs = [ 26 + dependencies = [ 35 27 hpack 36 28 hyperframe 37 29 ]; ··· 52 44 ]; 53 45 54 46 meta = with lib; { 47 + changelog = "https://github.com/python-hyper/h2/blob/${src.tag}/CHANGELOG.rst"; 55 48 description = "HTTP/2 State-Machine based protocol implementation"; 56 49 homepage = "https://github.com/python-hyper/h2"; 57 50 license = licenses.mit;