2018-06-20 21:49:24 +00: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 21:49:24 +00:00
|
|
|
version = "0.5.0";
|
2017-02-19 10:45:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 01:24:38 +00:00
|
|
|
owner = "lxqt";
|
2017-02-19 10:45:37 +00:00
|
|
|
repo = "lxqt-build-tools";
|
|
|
|
rev = version;
|
2018-06-20 21:49:24 +00:00
|
|
|
sha256 = "0dcwzrijmn4sgivmy2zwz3xa4y69pwhranyw0m90g0pp55di2psz";
|
2017-02-19 10:45:37 +00:00
|
|
|
};
|
|
|
|
|
2018-06-20 21:49:24 +00: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";
|
2018-05-22 01:24:38 +00:00
|
|
|
homepage = https://github.com/lxqt/lxqt-build-tools;
|
2017-02-19 10:45:37 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|