fixup! python3Packages.uritools: 6.0.2 -> 6.1.3

This commit is contained in:
Fabian Affolter
2026-08-25 10:01:01 +02:00
parent cf6a587939
commit 3f88eca4ef

View File

@@ -1,29 +1,41 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "uritools";
version = "6.1.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-OkmOfoXvMkk0PVcQYY1kGkFNoPuubSMFOtp5du6D6l8=";
src = fetchFromGitHub {
owner = "tkem";
repo = "uritools";
tag = "v${finalAttrs.version}";
hash = "sha256-pZzsdl/q5Piul1Q2cLPkeRmZbW12ACKuI2OYbnG+rMc=";
};
build-system = [ setuptools ];
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
# Infinite recursion
doCheck = false;
pythonImportsCheck = [ "uritools" ];
meta = {
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
homepage = "https://github.com/tkem/uritools/";
changelog = "https://github.com/tkem/uritools/blob/v${version}/CHANGELOG.rst";
changelog = "https://github.com/tkem/uritools/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rvolosatovs ];
};
}
})