lol

python313Packages.url-normalize: 1.4.3 -> 2.2.1 (#404612)

authored by

dotlambda and committed by
GitHub
236c99e2 30ea6919

+17 -36
+2 -5
pkgs/development/python-modules/aiohttp-client-cache/default.nix
··· 14 poetry-core, 15 pytest-aiohttp, 16 pytestCheckHook, 17 - pythonOlder, 18 redis, 19 url-normalize, 20 }: 21 22 buildPythonPackage rec { 23 pname = "aiohttp-client-cache"; 24 - version = "0.12.4"; 25 pyproject = true; 26 27 - disabled = pythonOlder "3.8"; 28 - 29 src = fetchPypi { 30 pname = "aiohttp_client_cache"; 31 inherit version; 32 - hash = "sha256-5g/oFhNrWx1m87trJyq4HZeFTqHk2bVwhaNgQmln0mU="; 33 }; 34 35 build-system = [ poetry-core ];
··· 14 poetry-core, 15 pytest-aiohttp, 16 pytestCheckHook, 17 redis, 18 url-normalize, 19 }: 20 21 buildPythonPackage rec { 22 pname = "aiohttp-client-cache"; 23 + version = "0.13.0"; 24 pyproject = true; 25 26 src = fetchPypi { 27 pname = "aiohttp_client_cache"; 28 inherit version; 29 + hash = "sha256-3FzWI0CtvuGOD+3HsMN1Qmkt8I+O2ZRddRtykqBDOFM="; 30 }; 31 32 build-system = [ poetry-core ];
+15 -31
pkgs/development/python-modules/url-normalize/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 - fetchpatch, 6 - poetry-core, 7 - pytest-flakes, 8 - pytest-mock, 9 pytest-socket, 10 pytestCheckHook, 11 - six, 12 }: 13 14 buildPythonPackage rec { 15 pname = "url-normalize"; 16 - version = "1.4.3"; 17 - format = "pyproject"; 18 19 src = fetchFromGitHub { 20 owner = "niksite"; 21 - repo = pname; 22 - rev = version; 23 - hash = "sha256-WE3MM9B/voI23taFbLp2FYhl0uxOfuUWsaCTBG1hyiY="; 24 }; 25 26 - nativeBuildInputs = [ poetry-core ]; 27 28 - propagatedBuildInputs = [ six ]; 29 30 nativeCheckInputs = [ 31 - pytest-flakes 32 - pytest-mock 33 pytest-socket 34 pytestCheckHook 35 ]; 36 37 - patches = [ 38 - # Switch to poetry-core, https://github.com/niksite/url-normalize/pull/28 39 - (fetchpatch { 40 - name = "switch-to-poetry-core.patch"; 41 - url = "https://github.com/niksite/url-normalize/commit/b8557b10c977b191cc9d37e6337afe874a24ad08.patch"; 42 - hash = "sha256-SVCQATV9V6HbLmjOHs7V7eBagO0PuqZLubIJghBYfQQ="; 43 - }) 44 - ]; 45 - 46 - postPatch = '' 47 - sed -i "/--cov/d" tox.ini 48 - sed -i "/--flakes/d" tox.ini 49 - ''; 50 - 51 pythonImportsCheck = [ "url_normalize" ]; 52 53 - meta = with lib; { 54 description = "URL normalization for Python"; 55 homepage = "https://github.com/niksite/url-normalize"; 56 - license = with licenses; [ mit ]; 57 - maintainers = with maintainers; [ fab ]; 58 }; 59 }
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + idna, 6 + pytest-cov-stub, 7 pytest-socket, 8 pytestCheckHook, 9 + setuptools, 10 }: 11 12 buildPythonPackage rec { 13 pname = "url-normalize"; 14 + version = "2.2.1"; 15 + pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "niksite"; 19 + repo = "url-normalize"; 20 + tag = "v${version}"; 21 + hash = "sha256-ZFY1KMEHvteMFVM3QcYjCiTz3dLxRWyv/dZQMzVxGvo="; 22 }; 23 24 + build-system = [ setuptools ]; 25 26 + dependencies = [ idna ]; 27 28 nativeCheckInputs = [ 29 + pytest-cov-stub 30 pytest-socket 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "url_normalize" ]; 35 36 + meta = { 37 + changelog = "https://github.com/niksite/url-normalize/blob/${src.tag}/CHANGELOG.md"; 38 description = "URL normalization for Python"; 39 homepage = "https://github.com/niksite/url-normalize"; 40 + license = lib.licenses.mit; 41 + maintainers = with lib.maintainers; [ fab ]; 42 }; 43 }