mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
fixup! python3Packages.uritools: 6.0.2 -> 6.1.3
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user