2017-11-02 02:01:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
|
2016-10-03 23:03:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "qtermwidget";
|
2018-06-23 20:47:32 +01:00
|
|
|
version = "0.9.0";
|
2016-10-03 23:03:17 +01:00
|
|
|
|
2017-11-02 02:01:22 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-10-03 23:03:17 +01:00
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-06-23 20:47:32 +01:00
|
|
|
sha256 = "05gbdjzgmcr3ljs9ba3qvh7a3v6yn6vakwfy8avld9gy5bdd76rg";
|
2016-10-03 23:03:17 +01:00
|
|
|
};
|
|
|
|
|
2017-11-02 02:01:22 +00:00
|
|
|
nativeBuildInputs = [ cmake lxqt.lxqt-build-tools ];
|
2016-10-03 23:03:17 +01:00
|
|
|
|
2017-11-02 02:01:22 +00:00
|
|
|
buildInputs = [ qt5.qtbase qt5.qttools];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
2016-10-03 23:03:17 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A terminal emulator widget for Qt 5";
|
|
|
|
homepage = https://github.com/lxde/qtermwidget;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 12:21:45 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:03:17 +01:00
|
|
|
};
|
|
|
|
}
|