nixpkgs/pkgs/desktops/lxqt/qtermwidget/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
931 B
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitHub
, cmake
, qtbase
, qttools
, lxqt-build-tools
, wrapQtAppsHook
, gitUpdater
, version ? "2.0.0"
}:
2016-10-03 22:03:17 +00:00
stdenv.mkDerivation rec {
2016-10-03 22:03:17 +00:00
pname = "qtermwidget";
inherit version;
2016-10-03 22:03:17 +00:00
2017-11-02 02:01:22 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 22:03:17 +00:00
repo = pname;
rev = version;
hash = {
"1.4.0" = "sha256-wYUOqAiBjnupX1ITbFMw7sAk42V37yDz9SrjVhE4FgU=";
"2.0.0" = "sha256-kZS6D/wSJFRt/+Afq0zCCmNnJPpFT+1hd4zVPc+rJsE=";
}."${version}";
2016-10-03 22:03:17 +00:00
};
nativeBuildInputs = [
cmake
lxqt-build-tools
2023-11-05 20:23:51 +00:00
qttools
wrapQtAppsHook
];
2016-10-03 22:03:17 +00:00
buildInputs = [
qtbase
];
2016-10-03 22:03:17 +00:00
passthru.updateScript = gitUpdater { };
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://github.com/lxqt/qtermwidget";
description = "Terminal emulator widget for Qt, used by QTerminal";
license = licenses.gpl2Plus;
2016-10-03 22:03:17 +00:00
platforms = with platforms; unix;
2022-04-14 13:52:15 +00:00
maintainers = teams.lxqt.members;
2016-10-03 22:03:17 +00:00
};
}