File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
pkgs/by-name/op/openfortivpn-webview-qt Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments