From d9eca2cf83ee3e95323c63177d0af7d2ec4e7832 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 2 Feb 2026 09:09:12 -0800 Subject: [PATCH] python3Packages.uqbar: build from GitHub --- .../python-modules/uqbar/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/uqbar/default.nix b/pkgs/development/python-modules/uqbar/default.nix index 0e0c0ad38680..b1c14bc8756a 100644 --- a/pkgs/development/python-modules/uqbar/default.nix +++ b/pkgs/development/python-modules/uqbar/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, pytestCheckHook, pytest-asyncio, pythonAtLeast, @@ -17,9 +17,11 @@ buildPythonPackage rec { version = "0.9.6"; pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-BaycnI00SgZzpvHPueXAAzV/yWDJEeaViWRSZkJofaY="; + src = fetchFromGitHub { + owner = "supriya-project"; + repo = "uqbar"; + tag = "v${version}"; + hash = "sha256-1rK40lwZ3YmQZXhia2+iYRZxDCYvijXgBMIL5p7KmR0="; }; postPatch = '' @@ -61,11 +63,11 @@ buildPythonPackage rec { "test_sphinx_style" ] ++ lib.optional (pythonAtLeast "3.12") [ - # https://github.com/josiah-wolf-oberholtzer/uqbar/issues/93 + # https://github.com/supriya-project/uqbar/issues/93 "objects.get_vars" ] ++ lib.optionals (pythonAtLeast "3.14") [ - # https://github.com/josiah-wolf-oberholtzer/uqbar/issues/106 + # https://github.com/supriya-project/uqbar/issues/106 "test_04" "SummarizingClassDocumenter" ]; @@ -74,8 +76,8 @@ buildPythonPackage rec { meta = { description = "Tools for creating Sphinx and Graphviz documentation"; - homepage = "https://github.com/josiah-wolf-oberholtzer/uqbar"; - changelog = "https://github.com/josiah-wolf-oberholtzer/uqbar/releases/tag/v${version}"; + homepage = "https://github.com/supriya-project/uqbar"; + changelog = "https://github.com/supriya-project/uqbar/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ davisrichard437 ]; };