Skip to content

Commit 7bc3861

Browse files
committed
sudo-rs: cleanup
1 parent 7fc7a64 commit 7bc3861

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkgs/by-name/su/sudo-rs/package.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
1818
src = fetchFromGitHub {
1919
owner = "trifectatechfoundation";
2020
repo = "sudo-rs";
21-
rev = "v${finalAttrs.version}";
21+
tag = "v${finalAttrs.version}";
2222
hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw=";
2323
};
2424
useFetchCargoVendor = true;
@@ -79,19 +79,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
7979
tests = nixosTests.sudo-rs;
8080
};
8181

82-
meta = with lib; {
82+
meta = {
8383
description = "Memory safe implementation of sudo and su";
8484
homepage = "https://github.com/trifectatechfoundation/sudo-rs";
8585
changelog = "${finalAttrs.meta.homepage}/blob/v${finalAttrs.version}/CHANGELOG.md";
86-
license = with licenses; [
86+
license = with lib.licenses; [
8787
asl20
8888
mit
8989
];
90-
maintainers = with maintainers; [
90+
maintainers = with lib.maintainers; [
9191
nicoo
9292
rvdp
9393
];
9494
mainProgram = "sudo";
95-
platforms = platforms.linux;
95+
platforms = lib.platforms.linux;
9696
};
9797
})

0 commit comments

Comments
 (0)