Skip to content

Commit 94020cd

Browse files
authored
python314Pacakges.asdf-coordinates-schemas: migrate to finalAttrs
1 parent 7ae3696 commit 94020cd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • pkgs/development/python-modules/asdf-coordinates-schemas

pkgs/development/python-modules/asdf-coordinates-schemas/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
setuptools,
99
}:
1010

11-
buildPythonPackage rec {
11+
buildPythonPackage (finalAttrs: {
1212
pname = "asdf-coordinates-schemas";
1313
version = "0.5.0";
1414
pyproject = true;
1515

1616
src = fetchFromGitHub {
1717
owner = "asdf-format";
1818
repo = "asdf-coordinates-schemas";
19-
tag = version;
19+
tag = finalAttrs.version;
2020
hash = "sha256-gz4SmhPHevcn+40ODcSEdmzlGQFSQaoME64dWCNJKFI=";
2121
};
2222

@@ -38,8 +38,8 @@ buildPythonPackage rec {
3838
meta = {
3939
description = "ASDF schemas for coordinates";
4040
homepage = "https://github.com/asdf-format/asdf-coordinates-schemas";
41-
changelog = "https://github.com/asdf-format/asdf-coordinates-schemas/blob/${version}/CHANGES.rst";
41+
changelog = "https://github.com/asdf-format/asdf-coordinates-schemas/blob/${finalAttrs.src.tag}/CHANGES.rst";
4242
license = lib.licenses.bsd3;
4343
maintainers = with lib.maintainers; [ fab ];
4444
};
45-
}
45+
})

0 commit comments

Comments
 (0)