sudo: fix meta license information (#269788)

This commit is contained in:
Pierre Bourdon 2023-11-25 10:27:47 +01:00
parent 702c081780
commit 5b7ae3565d
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C
2 changed files with 11 additions and 9 deletions

View File

@ -1068,6 +1068,12 @@ in mkLicense lset) ({
url = "https://github.com/thestk/stk/blob/master/LICENSE";
};
sudo = {
shortName = "sudo";
fullName = "Sudo License (ISC-style)";
url = "https://www.sudo.ws/about/license/";
};
sustainableUse = {
shortName = "sustainable";
fullName = "Sustainable Use License";

View File

@ -71,9 +71,8 @@ stdenv.mkDerivation rec {
passthru.tests = { inherit (nixosTests) sudo; };
meta = {
meta = with lib; {
description = "A command to run commands as root";
longDescription =
''
Sudo (su "do") allows a system administrator to delegate
@ -81,13 +80,10 @@ stdenv.mkDerivation rec {
to run some (or all) commands as root or another user while
providing an audit trail of the commands and their arguments.
'';
homepage = "https://www.sudo.ws/";
license = "https://www.sudo.ws/sudo/license.html";
maintainers = with lib.maintainers; [ delroth ];
platforms = lib.platforms.linux;
# From https://www.sudo.ws/about/license/
license = with licenses; [ sudo bsd2 bsd3 zlib ];
maintainers = with maintainers; [ delroth ];
platforms = platforms.linux;
};
}