nixpkgs/pkgs/desktops/lxqt/lxqt-build-tools/default.nix

28 lines
746 B
Nix
Raw Normal View History

2019-02-05 15:13:17 -08:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, glib }:
2017-02-19 02:45:37 -08:00
stdenv.mkDerivation rec {
2019-02-05 15:13:17 -08:00
pname = "lxqt-build-tools";
version = "0.6.0";
2017-02-19 02:45:37 -08:00
src = fetchFromGitHub {
owner = "lxqt";
2019-02-05 15:13:17 -08:00
repo = pname;
2017-02-19 02:45:37 -08:00
rev = version;
2019-02-05 15:13:17 -08:00
sha256 = "0i7m9s4g5rsw28vclc9nh0zcapx85cqfwxkx7rrw7wa12svy7pm2";
2017-02-19 02:45:37 -08:00
};
2018-06-20 14:49:24 -07:00
nativeBuildInputs = [ cmake pkgconfig ];
2019-02-05 15:13:17 -08:00
buildInputs = [ qtbase glib pcre ];
2017-11-01 18:52:41 -07:00
preConfigure = ''cmakeFlags+=" -DLXQT_ETC_XDG_DIR=$out/etc/xdg"'';
2017-02-19 02:45:37 -08:00
meta = with stdenv.lib; {
description = "Various packaging tools and scripts for LXQt applications";
homepage = https://github.com/lxqt/lxqt-build-tools;
2017-02-19 02:45:37 -08:00
license = licenses.lgpl21;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}