Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 31 lines 866 B view raw
1{ stdenvNoCC, lib, fetchFromGitHub, python3, openssh}: 2 3stdenvNoCC.mkDerivation { 4 pname = "ssh-ident"; 5 version = "2016-04-21"; 6 src = fetchFromGitHub { 7 owner = "ccontavalli"; 8 repo = "ssh-ident"; 9 rev = "ebf8282728211dc4448d50f7e16e546ed03c22d2"; 10 sha256 = "1jf19lz1gwn7cyp57j8d4zs5bq13iw3kw31m8nvr8h6sib2pf815"; 11 }; 12 13 postPatch = '' 14 substituteInPlace ssh-ident \ 15 --replace 'ssh-agent >' '${openssh}/bin/ssh-agent >' 16 ''; 17 buildInputs = [ python3 ]; 18 19 installPhase = '' 20 mkdir -p $out/bin 21 install -m 755 ssh-ident $out/bin/ssh-ident 22 ''; 23 24 meta = with lib; { 25 homepage = "https://github.com/ccontavalli/ssh-ident"; 26 description = "Start and use ssh-agent and load identities as necessary"; 27 license = licenses.bsd2; 28 maintainers = with maintainers; [ telotortium ]; 29 platforms = with platforms; unix; 30 }; 31}