Skip to content

Commit 92490a3

Browse files
committed
python3Packages.uqbar: migrate to finalAttrs
1 parent d9eca2c commit 92490a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
unidecode,
1313
}:
1414

15-
buildPythonPackage rec {
15+
buildPythonPackage (finalAttrs: {
1616
pname = "uqbar";
1717
version = "0.9.6";
1818
pyproject = true;
1919

2020
src = fetchFromGitHub {
2121
owner = "supriya-project";
2222
repo = "uqbar";
23-
tag = "v${version}";
23+
tag = "v${finalAttrs.version}";
2424
hash = "sha256-1rK40lwZ3YmQZXhia2+iYRZxDCYvijXgBMIL5p7KmR0=";
2525
};
2626

@@ -77,8 +77,8 @@ buildPythonPackage rec {
7777
meta = {
7878
description = "Tools for creating Sphinx and Graphviz documentation";
7979
homepage = "https://github.com/supriya-project/uqbar";
80-
changelog = "https://github.com/supriya-project/uqbar/releases/tag/v${version}";
80+
changelog = "https://github.com/supriya-project/uqbar/releases/tag/${finalAttrs.src.tag}";
8181
license = lib.licenses.mit;
8282
maintainers = with lib.maintainers; [ davisrichard437 ];
8383
};
84-
}
84+
})

0 commit comments

Comments
 (0)