mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
sudo-rs: cleanup
This commit is contained in:
parent
7fc7a64326
commit
7bc3861c88
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue