2013-11-28 11:52:32 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, coreutils, openssh, gnupg
|
|
|
|
, procps, gnugrep, gawk, findutils, gnused }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-01-31 09:42:44 +00:00
|
|
|
name = "keychain-2.7.1";
|
2008-04-23 11:51:23 +01:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
2011-01-31 09:42:44 +00:00
|
|
|
url = mirror://gentoo/distfiles/keychain-2.7.1.tar.bz2;
|
|
|
|
sha256 = "14ai6wjwnj09xnl81ar2dlr5kwb8y1k5ck6nc549shpng0zzw1qi";
|
2008-04-23 11:51:23 +01:00
|
|
|
};
|
|
|
|
|
2013-11-28 11:52:32 +00:00
|
|
|
phases = [ "unpackPhase" "buildPhase" ];
|
2008-04-23 11:51:23 +01:00
|
|
|
|
2013-11-28 11:52:32 +00:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp keychain $out/bin
|
|
|
|
wrapProgram $out/bin/keychain \
|
|
|
|
--prefix PATH ":" "${coreutils}/bin" \
|
|
|
|
--prefix PATH ":" "${openssh}/bin" \
|
|
|
|
--prefix PATH ":" "${gnupg}/bin" \
|
|
|
|
--prefix PATH ":" "${gnugrep}/bin" \
|
|
|
|
--prefix PATH ":" "${gnused}/bin" \
|
|
|
|
--prefix PATH ":" "${findutils}/bin" \
|
|
|
|
--prefix PATH ":" "${gawk}/bin" \
|
|
|
|
--prefix PATH ":" "${procps}/bin"
|
|
|
|
'';
|
2008-04-23 11:51:23 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Keychain management tool";
|
|
|
|
homepage = "http://www.gentoo.org/proj/en/keychain/";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-04-23 11:51:23 +01:00
|
|
|
};
|
|
|
|
}
|