about summary refs log tree commit diff
path: root/pkgs/desktops/lxqt/base/lxqt-build-tools/default.nix
blob: 8d369f464335db82e90dd872e7b511fa2386e3a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5 }:

stdenv.mkDerivation rec {
  name = "lxqt-build-tools-${version}";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "lxde";
    repo = "lxqt-build-tools";
    rev = version;
    sha256 = "0i3pzgyd80n73dnqs8f6axinaji7biflgqsi33baxn4r1hy58ym1";
  };

  nativeBuildInputs = [ cmake pkgconfig pcre qt5.qtbase ];

  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/lxde/lxqt-build-tools;
    license = licenses.lgpl21;
    platforms = with platforms; unix;
    maintainers = with maintainers; [ romildo ];
  };
}