nixpkgs-suyu/pkgs/desktops/lxqt/core/qtermwidget/default.nix

29 lines
717 B
Nix
Raw Normal View History

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