lol

sudo-rs: 0.2.0 -> 0.2.1

+3 -13
+3 -13
pkgs/tools/security/sudo-rs/default.nix
··· 1 1 { lib 2 2 , bash 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , installShellFiles 6 5 , nix-update-script 7 6 , nixosTests ··· 12 11 13 12 rustPlatform.buildRustPackage rec { 14 13 pname = "sudo-rs"; 15 - version = "0.2.0"; 14 + version = "0.2.1"; 16 15 17 16 src = fetchFromGitHub { 18 17 owner = "memorysafety"; 19 18 repo = "sudo-rs"; 20 19 rev = "v${version}"; 21 - hash = "sha256-Kk5D3387hdl6eGWTSV003r+XajuDh6YgHuqYlj9NnaQ="; 20 + hash = "sha256-EQEdNDUXEMMiFZKuu9LR9ywjvKWyM5bWcRHHUB9+gp4="; 22 21 }; 23 - cargoHash = "sha256-yeMK37tOgJcs9pW3IclpR5WMXx0gMDJ2wcmInxJYbQ8="; 22 + cargoHash = "sha256-Zs9/A7u4yMLKY4cAUCnsqRHgkxI8R3w1JwkAd2lw0eo="; 24 23 25 24 nativeBuildInputs = [ installShellFiles pandoc ]; 26 25 27 26 buildInputs = [ pam ]; 28 - 29 - patches = [ 30 - (fetchpatch { 31 - # @R-VdP's patch to work with NixOS' suid wrappers 32 - name = "Skip self_check when executed as root.patch"; 33 - url = "https://github.com/R-VdP/sudo-rs/commit/a44541dcb36b94f938daaed66b3ff06cfc1c2b40.patch"; 34 - hash = "sha256-PdmOqp/NDjFy8ve4jEOi58e0N9xUnaVKioQwdC5Jf1U="; 35 - }) 36 - ]; 37 27 38 28 # Don't attempt to generate the docs in a (pan)Docker container 39 29 postPatch = ''