mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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 {
|
||||
owner = "trifectatechfoundation";
|
||||
repo = "sudo-rs";
|
||||
rev = "v${finalAttrs.version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw=";
|
||||
};
|
||||
useFetchCargoVendor = true;
|
||||
|
@ -79,19 +79,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
tests = nixosTests.sudo-rs;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Memory safe implementation of sudo and su";
|
||||
homepage = "https://github.com/trifectatechfoundation/sudo-rs";
|
||||
changelog = "${finalAttrs.meta.homepage}/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = with licenses; [
|
||||
license = with lib.licenses; [
|
||||
asl20
|
||||
mit
|
||||
];
|
||||
maintainers = with maintainers; [
|
||||
maintainers = with lib.maintainers; [
|
||||
nicoo
|
||||
rvdp
|
||||
];
|
||||
mainProgram = "sudo";
|
||||
platforms = platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue