about summary refs log tree commit diff
path: root/pkgs/desktops/lxqt/lxqt-build-tools
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-09-10 18:00:14 -0300
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-10 23:00:14 +0200
commit2047e28c7fe94a8541f19ac2c57cf4866a318c57 (patch)
tree5a4d8bd21ef7194b566e62807bc51b6b2ff25241 /pkgs/desktops/lxqt/lxqt-build-tools
parentf0839455e9637b4baeb34c245cfabb691a239481 (diff)
lxqt: mv contents of base, core and optional to parent directory (#46484)
Diffstat (limited to 'pkgs/desktops/lxqt/lxqt-build-tools')
-rw-r--r--pkgs/desktops/lxqt/lxqt-build-tools/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-build-tools/default.nix b/pkgs/desktops/lxqt/lxqt-build-tools/default.nix
new file mode 100644
index 0000000000000..46f904d0ec7f8
--- /dev/null
+++ b/pkgs/desktops/lxqt/lxqt-build-tools/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5, glib }:
+
+stdenv.mkDerivation rec {
+  name = "lxqt-build-tools-${version}";
+  version = "0.5.0";
+
+  src = fetchFromGitHub {
+    owner = "lxqt";
+    repo = "lxqt-build-tools";
+    rev = version;
+    sha256 = "0dcwzrijmn4sgivmy2zwz3xa4y69pwhranyw0m90g0pp55di2psz";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [ qt5.qtbase glib pcre ];
+
+  preConfigure = ''cmakeFlags+=" -DLXQT_ETC_XDG_DIR=$out/etc/xdg"'';
+
+  meta = with stdenv.lib; {
+    description = "Various packaging tools and scripts for LXQt applications";
+    homepage = https://github.com/lxqt/lxqt-build-tools;
+    license = licenses.lgpl21;
+    platforms = with platforms; unix;
+    maintainers = with maintainers; [ romildo ];
+  };
+}