xdg-desktop-portal: init at 0.11
This commit is contained in:
parent
215dcb7285
commit
fe54e14cef
2 changed files with 39 additions and 0 deletions
37
pkgs/development/libraries/xdg-desktop-portal/default.nix
Normal file
37
pkgs/development/libraries/xdg-desktop-portal/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libxml2, glib, pipewire, fuse }:
|
||||
|
||||
let
|
||||
version = "0.11";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "xdg-desktop-portal-${version}";
|
||||
|
||||
outputs = [ "out" "installedTests" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flatpak";
|
||||
repo = "xdg-desktop-portal";
|
||||
rev = version;
|
||||
sha256 = "06gipd51snvlp2jp68v2c8rwbsv36kjzg9xacm81n1w4b2dpz4g0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig libxml2 ];
|
||||
buildInputs = [ glib pipewire fuse ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-installed-tests"
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"installed_testdir=$(installedTests)/libexec/installed-tests/xdg-desktop-portal"
|
||||
"installed_test_metadir=$(installedTests)/share/installed-tests/xdg-desktop-portal"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Desktop integration portals for sandboxed apps";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -18718,6 +18718,8 @@ with pkgs;
|
|||
|
||||
xdaliclock = callPackage ../tools/misc/xdaliclock {};
|
||||
|
||||
xdg-desktop-portal = callPackage ../development/libraries/xdg-desktop-portal { };
|
||||
|
||||
xdg-user-dirs = callPackage ../tools/X11/xdg-user-dirs { };
|
||||
|
||||
xdg_utils = callPackage ../tools/X11/xdg-utils {
|
||||
|
|
Loading…
Reference in a new issue