2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, lxqt-build-tools
|
|
|
|
, lxqtUpdateScript
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qtermwidget";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "0.15.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "07wvcc650998yav9hr4hpm842j0iqdvls3mn9n2n4v8xvm7cii2m";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A terminal emulator widget for Qt 5";
|
|
|
|
homepage = "https://github.com/lxqt/qtermwidget";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|