sudo-rs: cleanup

This commit is contained in:
r-vdp 2025-05-07 23:45:57 +02:00
parent 7fc7a64326
commit 7bc3861c88
No known key found for this signature in database

View file

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "trifectatechfoundation"; owner = "trifectatechfoundation";
repo = "sudo-rs"; repo = "sudo-rs";
rev = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw="; hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
@ -79,19 +79,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
tests = nixosTests.sudo-rs; tests = nixosTests.sudo-rs;
}; };
meta = with lib; { meta = {
description = "Memory safe implementation of sudo and su"; description = "Memory safe implementation of sudo and su";
homepage = "https://github.com/trifectatechfoundation/sudo-rs"; homepage = "https://github.com/trifectatechfoundation/sudo-rs";
changelog = "${finalAttrs.meta.homepage}/blob/v${finalAttrs.version}/CHANGELOG.md"; changelog = "${finalAttrs.meta.homepage}/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with licenses; [ license = with lib.licenses; [
asl20 asl20
mit mit
]; ];
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
nicoo nicoo
rvdp rvdp
]; ];
mainProgram = "sudo"; mainProgram = "sudo";
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
}) })