about summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix')
-rw-r--r--pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix39
1 files changed, 15 insertions, 24 deletions
diff --git a/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix b/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
index 4b88ea3e5abd0..62bf5c5b8dee6 100644
--- a/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
+++ b/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
@@ -4,60 +4,51 @@
 , nix-update-script
 , pkg-config
 , meson
-, python3
 , ninja
 , vala
-, desktop-file-utils
-, gtk3
-, granite
+, gtk4
+, granite7
+, libadwaita
 , libgee
-, libhandy
-, gcr
-, webkitgtk_4_1
-, wrapGAppsHook
+, gcr_4
+, webkitgtk_6_0
+, wrapGAppsHook4
 }:
 
 stdenv.mkDerivation rec {
   pname = "elementary-capnet-assist";
-  version = "2.4.4";
+  version = "8.0.0";
 
   src = fetchFromGitHub {
     owner = "elementary";
     repo = "capnet-assist";
     rev = version;
-    sha256 = "sha256-vnFrGHt/rtrDmXokYRoebVpNLfkZPe5IShRsXCWWsXs=";
+    sha256 = "sha256-xYywiI8hFjS7ODEhLGVwrlAY8I0pvUHfg6UkDhUsglU=";
   };
 
   nativeBuildInputs = [
-    desktop-file-utils
     meson
     ninja
     pkg-config
-    python3
     vala
-    wrapGAppsHook
+    wrapGAppsHook4
   ];
 
   buildInputs = [
-    gcr
-    granite
-    gtk3
+    gcr_4
+    granite7
+    gtk4
+    libadwaita
     libgee
-    libhandy
-    webkitgtk_4_1
+    webkitgtk_6_0
   ];
 
-  postPatch = ''
-    chmod +x meson/post_install.py
-    patchShebangs meson/post_install.py
-  '';
-
   passthru = {
     updateScript = nix-update-script { };
   };
 
   meta = with lib; {
-    description = "A small WebKit app that assists a user with login when a captive portal is detected";
+    description = "Small WebKit app that assists a user with login when a captive portal is detected";
     homepage = "https://github.com/elementary/capnet-assist";
     license = licenses.gpl3Plus;
     platforms = platforms.linux;