Skip to content

Commit ead76b7

Browse files
openfortivpn-webview-qt: init at 1.1.2 (#283560)
2 parents 94cddaa + 14dfe7b commit ead76b7

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
stdenv,
3+
lib,
4+
fetchFromGitHub,
5+
qt6Packages,
6+
}:
7+
stdenv.mkDerivation rec {
8+
pname = "openfortivpn-webview-qt";
9+
version = "1.1.2";
10+
11+
src = fetchFromGitHub {
12+
owner = "gm-vm";
13+
repo = "openfortivpn-webview";
14+
rev = "v${version}-electron";
15+
hash = "sha256-BNotbb2pL7McBm0SQwcgEvjgS2GId4HVaxWUz/ODs6w=";
16+
};
17+
sourceRoot = "source/openfortivpn-webview-qt";
18+
19+
nativeBuildInputs = [
20+
qt6Packages.wrapQtAppsHook
21+
qt6Packages.qmake
22+
];
23+
buildInputs = [ qt6Packages.qtwebengine ];
24+
installPhase = ''
25+
runHook preInstall
26+
mkdir -p $out/bin
27+
cp openfortivpn-webview $out/bin/
28+
runHook postInstall
29+
'';
30+
31+
meta = with lib; {
32+
description = "Perform the SAML single sign-on and easily retrieve the SVPNCOOKIE needed by openfortivpn";
33+
homepage = "https://github.com/gm-vm/openfortivpn-webview/tree/main";
34+
license = licenses.mit;
35+
maintainers = [ lib.maintainers.jonboh ];
36+
platforms = platforms.linux;
37+
mainProgram = "openfortivpn-webview";
38+
};
39+
}

0 commit comments

Comments
 (0)