openfortivpn-webview-qt: init at 1.1.2 (#283560)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
qt6Packages,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openfortivpn-webview-qt";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gm-vm";
|
||||
repo = "openfortivpn-webview";
|
||||
rev = "v${version}-electron";
|
||||
hash = "sha256-BNotbb2pL7McBm0SQwcgEvjgS2GId4HVaxWUz/ODs6w=";
|
||||
};
|
||||
sourceRoot = "source/openfortivpn-webview-qt";
|
||||
|
||||
nativeBuildInputs = [
|
||||
qt6Packages.wrapQtAppsHook
|
||||
qt6Packages.qmake
|
||||
];
|
||||
buildInputs = [ qt6Packages.qtwebengine ];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
cp openfortivpn-webview $out/bin/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Perform the SAML single sign-on and easily retrieve the SVPNCOOKIE needed by openfortivpn";
|
||||
homepage = "https://github.com/gm-vm/openfortivpn-webview/tree/main";
|
||||
license = licenses.mit;
|
||||
maintainers = [ lib.maintainers.jonboh ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "openfortivpn-webview";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user