depot/third_party/nixpkgs/pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix

54 lines
951 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, kwindowsystem
, liblxqt
, libqtxdg
, lxqt-build-tools
, qtbase
, qtsvg
, qttools
, qtwayland
, wrapQtAppsHook
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "lxqt-openssh-askpass";
version = "2.1.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-oFN4FpTBxOcXtykkkrJvaoxhvwEJKBp+eusrrSBIXIU=";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
kwindowsystem
liblxqt
libqtxdg
qtbase
qtsvg
qtwayland
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-openssh-askpass";
description = "GUI to query passwords on behalf of SSH agents";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
mainProgram = "lxqt-openssh-askpass";
};
}