Skip to content

Commit

Permalink
Merge pull request #100024 from delroth/sudo-1.9.3p1
Browse files Browse the repository at this point in the history
sudo: 1.8.31p1 -> 1.9.3p1 + adding myself as maintainer
  • Loading branch information
samueldr committed Oct 10, 2020
2 parents bf4866c + fb1b32a commit 8d3a7d9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/tools/security/sudo/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ stdenv, fetchurl, coreutils, pam, groff, sssd
{ stdenv, fetchurl, coreutils, pam, groff, sssd, nixosTests
, sendmailPath ? "/run/wrappers/bin/sendmail"
, withInsults ? false
, withSssd ? false
}:

stdenv.mkDerivation rec {
pname = "sudo";
version = "1.8.31p1";
version = "1.9.3p1";

src = fetchurl {
url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz";
sha256 = "1n0mdmgcs92af34xxsnsh1arrngymhdmwd9srjgjbk65q7xzsg67";
sha256 = "17mldsg5d08s23cskmjxfa81ibnqw3slgf3l4023j72ywi9xxffw";
};

prePatch = ''
Expand Down Expand Up @@ -61,6 +61,8 @@ stdenv.mkDerivation rec {
rm -f $out/share/doc/sudo/ChangeLog
'';

passthru.tests = { inherit (nixosTests) sudo; };

meta = {
description = "A command to run commands as root";

Expand All @@ -76,7 +78,7 @@ stdenv.mkDerivation rec {

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;
};
Expand Down

0 comments on commit 8d3a7d9

Please sign in to comment.