Skip to content

Commit 9521787

Browse files
committed
azure-storage-azcopy: migrate to finalAttrs
1 parent 34a6a1f commit 9521787

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pkgs/by-name/az/azure-storage-azcopy/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
buildGoModule,
55
}:
66

7-
buildGoModule rec {
7+
buildGoModule (finalAttrs: {
88
pname = "azure-storage-azcopy";
99
version = "10.31.1";
1010

1111
src = fetchFromGitHub {
1212
owner = "Azure";
1313
repo = "azure-storage-azcopy";
14-
tag = "v${version}";
14+
tag = "v${finalAttrs.version}";
1515
hash = "sha256-VB7bMbMzBl5ulrTNZIHdNYKx0vHeEYIJi4L50M8BY4M=";
1616
};
1717

@@ -28,8 +28,8 @@ buildGoModule rec {
2828
meta = {
2929
description = "New Azure Storage data transfer utility - AzCopy v10";
3030
homepage = "https://github.com/Azure/azure-storage-azcopy";
31-
changelog = "https://github.com/Azure/azure-storage-azcopy/releases/tag/v${version}";
31+
changelog = "https://github.com/Azure/azure-storage-azcopy/releases/tag/v${finalAttrs.version}";
3232
license = lib.licenses.mit;
3333
maintainers = with lib.maintainers; [ kashw2 ];
3434
};
35-
}
35+
})

0 commit comments

Comments
 (0)