openssh-askpass: init at 10.2.p1

This commit is contained in:
n3tshift
2026-01-15 19:59:58 +00:00
parent ecefe3dd43
commit c7b2723168
@@ -0,0 +1,32 @@
{
lib,
stdenv,
openssh,
gtk3,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "openssh-askpass";
inherit (openssh) src version;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3 ];
sourceRoot = "${openssh.pname}-${finalAttrs.version}/contrib";
makeFlags = "gnome-ssh-askpass3";
dontConfigure = true;
installPhase = ''
runHook preInstall
mkdir -p $out/libexec
cp -a gnome-ssh-askpass3 $out/libexec/gtk-ssh-askpass
runHook postInstall
'';
meta = {
description = "A passphrase dialog for OpenSSH and GTK";
homepage = "https://www.openssh.org";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ n3tshift ];
};
})