Merge pull request #100024 from delroth/sudo-1.9.3p1

sudo: 1.8.31p1 -> 1.9.3p1 + adding myself as maintainer
This commit is contained in:
Samuel Dionne-Riel 2020-10-09 20:58:13 -04:00 committed by GitHub
commit 8d3a7d9222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, coreutils, pam, groff, sssd { stdenv, fetchurl, coreutils, pam, groff, sssd, nixosTests
, sendmailPath ? "/run/wrappers/bin/sendmail" , sendmailPath ? "/run/wrappers/bin/sendmail"
, withInsults ? false , withInsults ? false
, withSssd ? false , withSssd ? false
@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sudo"; pname = "sudo";
version = "1.8.31p1"; version = "1.9.3p1";
src = fetchurl { src = fetchurl {
url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz"; url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz";
sha256 = "1n0mdmgcs92af34xxsnsh1arrngymhdmwd9srjgjbk65q7xzsg67"; sha256 = "17mldsg5d08s23cskmjxfa81ibnqw3slgf3l4023j72ywi9xxffw";
}; };
prePatch = '' prePatch = ''
@ -61,6 +61,8 @@ stdenv.mkDerivation rec {
rm -f $out/share/doc/sudo/ChangeLog rm -f $out/share/doc/sudo/ChangeLog
''; '';
passthru.tests = { inherit (nixosTests) sudo; };
meta = { meta = {
description = "A command to run commands as root"; description = "A command to run commands as root";
@ -76,7 +78,7 @@ stdenv.mkDerivation rec {
license = "https://www.sudo.ws/sudo/license.html"; license = "https://www.sudo.ws/sudo/license.html";
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = with stdenv.lib.maintainers; [ eelco delroth ];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
}; };