mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
44 lines
795 B
Nix
44 lines
795 B
Nix
{ stdenv
|
|
, lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qtbase
|
|
, qttools
|
|
, lxqt-build-tools
|
|
, lxqtUpdateScript
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qtermwidget";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "tb1Vlkv8HsNlFCFOYfPnJlhdJmhyDmLE9SaTXZT0gGs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
];
|
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.isDarwin;
|
|
homepage = "https://github.com/lxqt/qtermwidget";
|
|
description = "A terminal emulator widget for Qt 5";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = teams.lxqt.members;
|
|
};
|
|
}
|