python312Packages.urlobject: init at 2.4.3

This commit is contained in:
seth
2024-11-17 22:36:32 -05:00
committed by Seth Flynn
parent 75cf9bd326
commit b168e51ab1
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pypaInstallHook,
setuptoolsBuildHook,
}:
buildPythonPackage rec {
pname = "urlobject";
version = "2.4.3";
pyproject = false;
src = fetchFromGitHub {
owner = "zacharyvoase";
repo = "urlobject";
tag = "v${version}";
hash = "sha256-4UuQZTkVre8jXlchW7/TjeaADYvLnGMpGbJR/sdeKv4=";
};
nativeBuildInputs = [
pypaInstallHook
setuptoolsBuildHook
];
# Tests use `nose`
doInstallCheck = false;
pythonImportsCheck = [ "urlobject" ];
meta = {
description = "Python library for manipulating URLs (and some URIs) in a more natural way";
homepage = "http://zacharyvoase.github.com/urlobject";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ getchoo ];
};
}

View File

@@ -18126,6 +18126,8 @@ self: super: with self; {
urlmatch = callPackage ../development/python-modules/urlmatch { };
urlobject = callPackage ../development/python-modules/urlobject { };
urlpy = callPackage ../development/python-modules/urlpy { };
urwid = callPackage ../development/python-modules/urwid { };