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