nixpkgs/pkgs/tools/misc/keychain/default.nix

59 lines
1.6 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, installShellFiles
, makeWrapper
, coreutils
, openssh
, gnupg
, perl
, procps
, gnugrep
, gawk
, findutils
, gnused
}:
2015-03-22 22:02:42 +00:00
stdenv.mkDerivation rec {
pname = "keychain";
keychain: 2.8.3 -> 2.8.5 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -h` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -V` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -h` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --help` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain help` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -h` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -V` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -h` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --help` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped help` and found version 2.8.5 - found 2.8.5 with grep in /nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5 - found 2.8.5 in filename of file in /nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5 cc "@sigma"
2018-02-27 03:42:56 +00:00
version = "2.8.5";
2015-03-22 22:02:42 +00:00
src = fetchFromGitHub {
owner = "funtoo";
repo = "keychain";
2019-09-08 23:38:31 +00:00
rev = version;
keychain: 2.8.3 -> 2.8.5 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -h` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -V` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -h` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --help` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain help` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -h` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped help` got 0 exit code - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -V` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped version` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -h` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --help` and found version 2.8.5 - ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped help` and found version 2.8.5 - found 2.8.5 with grep in /nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5 - found 2.8.5 in filename of file in /nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5 cc "@sigma"
2018-02-27 03:42:56 +00:00
sha256 = "1bkjlg0a2bbdjhwp37ci1rwikvrl4s3xlbf2jq2z4azc96dr83mj";
};
nativeBuildInputs = [ installShellFiles makeWrapper ];
buildInputs = [ perl ];
installPhase = ''
mkdir -p $out/bin
cp keychain $out/bin/keychain
installManPage keychain.1
2013-11-28 11:52:32 +00:00
wrapProgram $out/bin/keychain \
--prefix PATH ":" "${lib.makeBinPath [ coreutils findutils gawk gnupg gnugrep gnused openssh procps ]}" \
2013-11-28 11:52:32 +00:00
'';
meta = with lib; {
description = "Keychain management tool";
longDescription = ''
2021-01-15 09:19:50 +00:00
Keychain helps you to manage SSH and GPG keys in a convenient and secure
manner. It acts as a frontend to ssh-agent and ssh-add, but allows you
to easily have one long running ssh-agent process per system, rather
than the norm of one ssh-agent per login session.
2021-01-15 09:19:50 +00:00
This dramatically reduces the number of times you need to enter your
passphrase. With keychain, you only need to enter a passphrase once
every time your local machine is rebooted. Keychain also makes it easy
for remote cron jobs to securely "hook in" to a long-running ssh-agent
process, allowing your scripts to take advantage of key-based logins.
'';
homepage = "https://www.funtoo.org/Keychain";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ sigma SuperSandro2000 ];
};
}