From c8def0a3ac2f3496b9972a6ea23e8a5adaad6968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 18:43:06 -0300 Subject: [PATCH] libqtxdg: init at 2.0.0 --- pkgs/desktops/lxqt/base/libqtxdg/default.nix | 25 ++++++++++++++++++++ pkgs/desktops/lxqt/default.nix | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/desktops/lxqt/base/libqtxdg/default.nix diff --git a/pkgs/desktops/lxqt/base/libqtxdg/default.nix b/pkgs/desktops/lxqt/base/libqtxdg/default.nix new file mode 100644 index 000000000000..47d3fb2e91c3 --- /dev/null +++ b/pkgs/desktops/lxqt/base/libqtxdg/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, cmake, qt5 }: + +stdenv.mkDerivation rec { + name = "libqtxdg-${version}"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "lxde"; + repo = "libqtxdg"; + rev = version; + sha256 = "1s5jw4q6gcivk7mc95ir9q2nry4yyhfwy039ddf5ymh79nynv8vy"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ qt5.qtbase qt5.qtsvg ]; + + meta = with stdenv.lib; { + description = "Qt implementation of freedesktop.org xdg specs"; + homepage = https://github.com/lxde/libqtxdg; + license = licenses.lgpl21; + maintainers = with maintainers; [ romildo ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index 1216c81b872a..9f2710ab823c 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -26,4 +26,7 @@ let echo -------------------------------------------------------- ''; + ### BASE + libqtxdg = callPackage ./base/libqtxdg { }; + in self