Merge pull request #255796 from Majiir/pam_rssh-1.1.0

pam_rssh: fix 1.1.0 update

authored by Ilan Joselevich and committed by GitHub 17a46d09 4dc624f9

+11 -4
+11 -4
pkgs/os-specific/linux/pam_rssh/default.nix
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 , pkg-config 5 , openssl 6 , pam 7 , openssh 8 }: 9 10 - rustPlatform.buildRustPackage { 11 pname = "pam_rssh"; 12 version = "1.1.0"; 13 14 src = fetchFromGitHub { 15 owner = "z4yx"; 16 repo = "pam_rssh"; 17 - rev = "92c240bd079e9711c7afa8bacfcf01de48f42577"; 18 - hash = "sha256-mIQeItPh6RrF3cFbAth2Kmb2E/Xj+lOgatvjcLE4Yag="; 19 fetchSubmodules = true; 20 }; 21 22 - cargoHash = "sha256-QMyMqsjZ91WimIaaSCXtbRScS3BoB+yFtHjx3xViq7U="; 23 24 nativeBuildInputs = [ 25 pkg-config
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 + , coreutils 5 , pkg-config 6 , openssl 7 , pam 8 , openssh 9 }: 10 11 + rustPlatform.buildRustPackage rec { 12 pname = "pam_rssh"; 13 version = "1.1.0"; 14 15 src = fetchFromGitHub { 16 owner = "z4yx"; 17 repo = "pam_rssh"; 18 + rev = "v${version}"; 19 + hash = "sha256-SDtMqGy2zhq9jEQVwSEl4EwRp2jgXfTVLrCX7k/kBeU="; 20 fetchSubmodules = true; 21 }; 22 23 + cargoHash = "sha256-gNy1tcHDUOG1XduGAIMapvx5dlq+U1LitUQkccGfb9o="; 24 + 25 + postPatch = '' 26 + substituteInPlace src/auth_keys.rs \ 27 + --replace '/bin/echo' '${coreutils}/bin/echo' \ 28 + --replace '/bin/false' '${coreutils}/bin/false' 29 + ''; 30 31 nativeBuildInputs = [ 32 pkg-config