2018-06-20 23:49:24 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5, glib }:
|
2017-02-19 11:45:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lxqt-build-tools-${version}";
|
2018-06-20 23:49:24 +02:00
|
|
|
version = "0.5.0";
|
2017-02-19 11:45:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = "lxqt-build-tools";
|
|
|
|
rev = version;
|
2018-06-20 23:49:24 +02:00
|
|
|
sha256 = "0dcwzrijmn4sgivmy2zwz3xa4y69pwhranyw0m90g0pp55di2psz";
|
2017-02-19 11:45:37 +01:00
|
|
|
};
|
|
|
|
|
2018-06-20 23:49:24 +02:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ qt5.qtbase glib pcre ];
|
2017-11-02 02:52:41 +01:00
|
|
|
|
|
|
|
preConfigure = ''cmakeFlags+=" -DLXQT_ETC_XDG_DIR=$out/etc/xdg"'';
|
2017-02-19 11:45:37 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|