sudo: fix meta license information (#269788)
This commit is contained in:
parent
702c081780
commit
5b7ae3565d
2 changed files with 11 additions and 9 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue