diff options
Diffstat (limited to 'pkgs/desktops/lxqt/lxqt-build-tools/default.nix')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-build-tools/default.nix | 27 |
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 000000000000..46f904d0ec7f --- /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 ]; + }; +} |