@ -1,30 +1,35 @@
{ stdenv , fetchFromGitHub , autoreconfHook , pkgconfig , libxml2 , glib , pipewire , fuse }:
{ stdenv , fetchFromGitHub , fetchpatch , autoreconfHook , pkgconfig , libxml2 , glib , pipewire , fontconfig , flatpak , acl , dbus , f use , wrapGAppsHook , gnome3 }:
let
version = " 1 . 0 . 3 " ;
in stdenv . mkDerivation rec {
name = " x d g - d e s k t o p - p o r t a l - ${ version } " ;
stdenv . mkDerivation rec {
pname = " x d g - d e s k t o p - p o r t a l " ;
version = " 1 . 1 . 0 " ;
outputs = [ " o u t " " i n s t a l l e d T e s t s " ] ;
src = fetchFromGitHub {
owner = " f l a t p a k " ;
repo = " x d g - d e s k t o p - p o r t a l " ;
repo = pname ;
rev = version ;
sha256 = " 1 1 3 k 5 s r 4 l 5 8 r m 8 s g p 4 q b j r h y j g 3 7 c 5 a d 5 4 i 5 8 n j s m 9 8 k n b 5 r 2 p p v " ;
sha256 = " 1 0 d v 6 2 8 g c i 6 v c s 0 r b y p 4 w b 6 y v i g w 2 i 1 j j 9 x 7 i i 6 c k x j i r 5 r f f 5 d x " ;
} ;
patches = [
./respect-path-env-var.patch
# https://github.com/flatpak/xdg-desktop-portal/pull/263
( fetchpatch {
url = https://github.com/flatpak/xdg-desktop-portal/commit/5e5993b64ea43f7ba77335f98e3d6c5bf99a51b9.patch ;
sha256 = " 1 i 7 5 3 q 3 5 d g i h j 6 v p 3 9 6 1 i 0 h n 2 s x y 2 p y f x 0 d b q a 3 8 5 z 0 y 6 w z 8 k 9 x q " ;
} )
] ;
nativeBuildInputs = [ autoreconfHook pkgconfig libxml2 ] ;
buildInputs = [ glib pipewire fuse ] ;
nativeBuildInputs = [ autoreconfHook pkgconfig libxml2 wrapGAppsHook ] ;
buildInputs = [ glib pipewire fontconfig flatpak acl dbus f use gnome3 . gsettings-desktop-schemas ] ;
doCheck = true ;
doCheck = true ; # XXX: investigate!
configureFlags = [
" - - e n a b l e - i n s t a l l e d - t e s t s "
" - - d i s a b l e - g e o c l u e " # Requires 2.5.2, not released yet
] ;
makeFlags = [