File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
pkgs/by-name/op/openfortivpn-webview Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1318013180 githubId = 639066;
1318113181 name = "Luke Rewega";
1318213182 };
13183+ lriesebos = {
13184+ name = "Leon Riesebos";
13185+ github = "lriesebos";
13186+ githubId = 28567817;
13187+ };
1318313188 lromor = {
13184131891318513190 github = "lromor";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildNpmPackage ,
4+ fetchFromGitHub ,
5+ electron ,
6+ } :
7+
8+ let
9+ version = "1.2.0" ;
10+ in
11+ buildNpmPackage {
12+ pname = "openfortivpn-webview" ;
13+ inherit version ;
14+ src =
15+ ( fetchFromGitHub {
16+ owner = "gm-vm" ;
17+ repo = "openfortivpn-webview" ;
18+ rev = "v${ version } -electron" ;
19+ hash = "sha256-HheqDjlWxHJS0+OEhRTwANs9dyz3lhhCmWh+YH4itOk=" ;
20+ } )
21+ + "/openfortivpn-webview-electron" ;
22+
23+ installPhase = ''
24+ runHook preInstall
25+ npmInstallHook
26+ makeWrapper ${ lib . getExe electron } $out/bin/openfortivpn-webview --add-flags $out/lib/node_modules/openfortivpn-webview
27+ runHook postInstall
28+ '' ;
29+
30+ npmDepsHash = "sha256-Vf8R0+RXHlXwPOnPENw8ooxIXT3kSppQmB2yk5TWEwg=" ;
31+ dontNpmBuild = true ;
32+ env . ELECTRON_SKIP_BINARY_DOWNLOAD = "1" ;
33+
34+ meta = {
35+ description = "Application to perform the SAML single sing-on and easily retrieve the SVPNCOOKIE needed by openfortivpn" ;
36+ homepage = "https://github.com/gm-vm/openfortivpn-webview" ;
37+ license = lib . licenses . mit ;
38+ maintainers = with lib . maintainers ; [ lriesebos ] ;
39+ platforms = with lib . platforms ; linux ++ darwin ;
40+ mainProgram = "openfortivpn-webview" ;
41+ } ;
42+ }
You can’t perform that action at this time.
0 commit comments