Skip to content

Commit eb1a756

Browse files
pay-respects: modernize
Signed-off-by: Ethan Carter Edwards <[email protected]>
1 parent e09a2ca commit eb1a756

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/by-name/pa/pay-respects/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
fetchFromGitea,
44
rustPlatform,
55
}:
6-
rustPlatform.buildRustPackage rec {
6+
rustPlatform.buildRustPackage (finalAttrs: {
77
pname = "pay-respects";
88
version = "0.7.6";
99

1010
src = fetchFromGitea {
1111
domain = "codeberg.org";
1212
owner = "iff";
1313
repo = "pay-respects";
14-
rev = "v${version}";
14+
tag = "v${finalAttrs.version}";
1515
hash = "sha256-+50MKpZgJqjuUvJeFFv8fMILkJ3cOAN7R7kmlR+98II=";
1616
};
1717

@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
2929
];
3030
mainProgram = "pay-respects";
3131
};
32-
}
32+
})

0 commit comments

Comments
 (0)