summary refs log blame commit diff
path: root/pkgs/os-specific/linux/pam_ssh_agent_auth/default.nix
blob: 694bc4a8f084d8c480f02bce385909a46622ee11 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                         
                                    


                                                                 
                                                                    

    





                                                                  

                                     

                                


                                                                        

                                                   

    
{ stdenv, fetchurl, pam, openssl, perl }:

stdenv.mkDerivation rec {
  name = "pam_ssh_agent_auth-0.9.5";

  src = fetchurl {
    url = "mirror://sourceforge/pamsshagentauth/${name}.tar.bz2";
    sha256 = "1aihfyj17nvqhf0d5i0dg2lsly3r24xjyx0sfqpf60s0libkp4y0";
  };

  patches =
    [ # Allow multiple colon-separated authorized keys files to be
      # specified in the file= option.
      ./multiple-key-files.patch
    ];

  buildInputs = [ pam openssl perl ];

  enableParallelBuilding = true;

  meta = {
    homepage = http://pamsshagentauth.sourceforge.net/;
    description = "PAM module for authentication through the SSH agent";
    maintainers = [ stdenv.lib.maintainers.eelco ];
    platforms = stdenv.lib.maintainers.linux;
  };
}