1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/tools/networking/ssh-ident/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

29 lines
861 B
Nix

{ stdenv, fetchFromGitHub, makeWrapper, python }:
stdenv.mkDerivation rec {
name = "ssh-ident-${version}";
version = "2016-04-21";
src = fetchFromGitHub {
owner = "ccontavalli";
repo = "ssh-ident";
rev = "ebf8282728211dc4448d50f7e16e546ed03c22d2";
sha256 = "1jf19lz1gwn7cyp57j8d4zs5bq13iw3kw31m8nvr8h6sib2pf815";
};
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
install -m 755 ssh-ident $out/bin/ssh-ident
wrapProgram $out/bin/ssh-ident \
--prefix PATH : "${python}/bin/python"
'';
meta = {
homepage = https://github.com/ccontavalli/ssh-ident;
description = "Start and use ssh-agent and load identities as necessary";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ telotortium ];
platforms = with stdenv.lib.platforms; unix;
};
}