2020-04-25 10:01:05 -07:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, lxqt-build-tools
|
2020-04-26 07:53:59 -07:00
|
|
|
, lxqtUpdateScript
|
2020-04-25 10:01:05 -07:00
|
|
|
}:
|
2016-10-03 15:03:17 -07:00
|
|
|
|
2019-07-27 14:05:17 -07:00
|
|
|
mkDerivation rec {
|
2016-10-03 15:03:17 -07:00
|
|
|
pname = "qtermwidget";
|
2021-04-16 13:32:42 -07:00
|
|
|
version = "0.17.0";
|
2016-10-03 15:03:17 -07:00
|
|
|
|
2017-11-01 19:01:22 -07:00
|
|
|
src = fetchFromGitHub {
|
2018-05-21 18:24:38 -07:00
|
|
|
owner = "lxqt";
|
2016-10-03 15:03:17 -07:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-16 13:32:42 -07:00
|
|
|
sha256 = "0pmkk2mba8z6cgfsd8sy4vhf5d9fn9hvxszzyycyy1ndygjrc1v8";
|
2016-10-03 15:03:17 -07:00
|
|
|
};
|
|
|
|
|
2020-04-25 10:01:05 -07:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
|
|
|
];
|
2016-10-03 15:03:17 -07:00
|
|
|
|
2020-04-25 10:01:05 -07:00
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
];
|
2016-10-03 15:03:17 -07:00
|
|
|
|
2020-04-26 07:53:59 -07:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2019-07-27 14:05:17 -07:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/lxqt/qtermwidget";
|
2021-02-08 06:41:52 -08:00
|
|
|
description = "A terminal emulator widget for Qt 5";
|
|
|
|
license = licenses.gpl2Plus;
|
2016-10-03 15:03:17 -07:00
|
|
|
platforms = with platforms; unix;
|
2017-02-19 04:21:45 -08:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 15:03:17 -07:00
|
|
|
};
|
|
|
|
}
|