From 2d19ee62473403de5e7d6e26c9a520b8fe3a89e9 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 14 Sep 2018 02:50:38 +0200 Subject: [PATCH] xdg-dbus-proxy: init at 0.1.0 --- .../libraries/xdg-dbus-proxy/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/xdg-dbus-proxy/default.nix diff --git a/pkgs/development/libraries/xdg-dbus-proxy/default.nix b/pkgs/development/libraries/xdg-dbus-proxy/default.nix new file mode 100644 index 000000000000..247b8ee45d0b --- /dev/null +++ b/pkgs/development/libraries/xdg-dbus-proxy/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, pkgconfig, glib }: + +let + version = "0.1.0"; +in stdenv.mkDerivation rec { + name = "xdg-dbus-proxy-${version}"; + + src = fetchurl { + url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${name}.tar.xz"; + sha256 = "055wli36lvdannp6qqwbvd78353n61wn9kp8y3dchh39wq7x7vwy"; + }; + + nativeBuildInputs = [ pkgconfig ]; + + buildInputs = [ glib ]; + + meta = with stdenv.lib; { + description = "DBus proxy for Flatpak and others"; + homepage = https://flatpak.org/; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ jtojnar ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 671b5df3586c..807082ff071e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19437,6 +19437,8 @@ with pkgs; xdaliclock = callPackage ../tools/misc/xdaliclock {}; + xdg-dbus-proxy = callPackage ../development/libraries/xdg-dbus-proxy { }; + xdg-desktop-portal = callPackage ../development/libraries/xdg-desktop-portal { }; xdg-desktop-portal-gtk = callPackage ../development/libraries/xdg-desktop-portal-gtk { };