nixpkgs/pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix
2020-04-29 16:12:28 -03:00

51 lines
926 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, qtx11extras
, kwindowsystem
, liblxqt
, libqtxdg
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "lxqt-openssh-askpass";
version = "0.15.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "056bj3ssp4vqapzqg3da3m95vi92043j7mv70lmpznxdwyjwgxc3";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
liblxqt
libqtxdg
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
description = "GUI to query passwords on behalf of SSH agents";
homepage = "https://github.com/lxqt/lxqt-openssh-askpass";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}