Skip to content

Commit d9eca2c

Browse files
committed
python3Packages.uqbar: build from GitHub
1 parent 36a8284 commit d9eca2c

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

pkgs/development/python-modules/uqbar/default.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
55
pytestCheckHook,
66
pytest-asyncio,
77
pythonAtLeast,
@@ -17,9 +17,11 @@ buildPythonPackage rec {
1717
version = "0.9.6";
1818
pyproject = true;
1919

20-
src = fetchPypi {
21-
inherit pname version;
22-
hash = "sha256-BaycnI00SgZzpvHPueXAAzV/yWDJEeaViWRSZkJofaY=";
20+
src = fetchFromGitHub {
21+
owner = "supriya-project";
22+
repo = "uqbar";
23+
tag = "v${version}";
24+
hash = "sha256-1rK40lwZ3YmQZXhia2+iYRZxDCYvijXgBMIL5p7KmR0=";
2325
};
2426

2527
postPatch = ''
@@ -61,11 +63,11 @@ buildPythonPackage rec {
6163
"test_sphinx_style"
6264
]
6365
++ lib.optional (pythonAtLeast "3.12") [
64-
# https://github.com/josiah-wolf-oberholtzer/uqbar/issues/93
66+
# https://github.com/supriya-project/uqbar/issues/93
6567
"objects.get_vars"
6668
]
6769
++ lib.optionals (pythonAtLeast "3.14") [
68-
# https://github.com/josiah-wolf-oberholtzer/uqbar/issues/106
70+
# https://github.com/supriya-project/uqbar/issues/106
6971
"test_04"
7072
"SummarizingClassDocumenter"
7173
];
@@ -74,8 +76,8 @@ buildPythonPackage rec {
7476

7577
meta = {
7678
description = "Tools for creating Sphinx and Graphviz documentation";
77-
homepage = "https://github.com/josiah-wolf-oberholtzer/uqbar";
78-
changelog = "https://github.com/josiah-wolf-oberholtzer/uqbar/releases/tag/v${version}";
79+
homepage = "https://github.com/supriya-project/uqbar";
80+
changelog = "https://github.com/supriya-project/uqbar/releases/tag/v${version}";
7981
license = lib.licenses.mit;
8082
maintainers = with lib.maintainers; [ davisrichard437 ];
8183
};

0 commit comments

Comments
 (0)