about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix26
1 files changed, 11 insertions, 15 deletions
diff --git a/nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix b/nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix
index 614be5603a8e..8be2adad40f4 100644
--- a/nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix
+++ b/nixpkgs/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix
@@ -6,24 +6,23 @@
 , ninja
 , pkg-config
 , vala
-, wrapGAppsHook
+, wrapGAppsHook4
 , glib
-, granite
-, gtk3
-, libhandy
+, granite7
+, gtk4
 , systemd
-, vte
+, xorg
 }:
 
 stdenv.mkDerivation rec {
   pname = "xdg-desktop-portal-pantheon";
-  version = "1.1.0";
+  version = "7.0.0";
 
   src = fetchFromGitHub {
     owner = "elementary";
     repo = "portals";
     rev = version;
-    sha256 = "sha256-YICNOeNrpO2tJFyULjQEhZQCrrMyQau59EC7c5K9q40=";
+    sha256 = "sha256-Rfo9Z5rCJgk36Db3ce8dYBJswy8owjvRMrJVB/RfwyI=";
   };
 
   nativeBuildInputs = [
@@ -31,16 +30,15 @@ stdenv.mkDerivation rec {
     ninja
     pkg-config
     vala
-    wrapGAppsHook
+    wrapGAppsHook4
   ];
 
   buildInputs = [
     glib
-    granite
-    gtk3
-    libhandy
+    granite7
+    gtk4
     systemd
-    vte
+    xorg.libX11
   ];
 
   mesonFlags = [
@@ -48,9 +46,7 @@ stdenv.mkDerivation rec {
   ];
 
   passthru = {
-    updateScript = nix-update-script {
-      attrPath = "pantheon.${pname}";
-    };
+    updateScript = nix-update-script { };
   };
 
   meta = with lib; {