diff options
author | Robert Irelan <rirelan@gmail.com> | 2016-06-19 12:13:05 -0700 |
---|---|---|
committer | Robert Irelan <rirelan@gmail.com> | 2016-06-19 12:44:46 -0700 |
commit | 222c43599696c1e97adfafd4b576ac7e4cba35c1 (patch) | |
tree | 15e01db5d2b8475d8a811dabff1360a120557c0f /pkgs/tools/networking | |
parent | 6fd8e5719bf8ef45f38ec582747c2a1eb712264a (diff) |
ssh-ident: init at 2016-04-21
Add ssh-ident package from its GitHub repo. Since there are no version tags on GitHub, I'm using the date of its most recent commit.
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/ssh-ident/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/networking/ssh-ident/default.nix b/pkgs/tools/networking/ssh-ident/default.nix new file mode 100644 index 0000000000000..605986935f015 --- /dev/null +++ b/pkgs/tools/networking/ssh-ident/default.nix @@ -0,0 +1,27 @@ +{ 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 ]; + }; +} |