nixpkgs/pkgs/applications/misc/cubocore-packages/coreterminal/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

46 lines
812 B
Nix

{ mkDerivation
, lib
, fetchFromGitLab
, qtbase
, qtserialport
, qtermwidget
, cmake
, ninja
, libcprime
, libcsys
}:
mkDerivation rec {
pname = "coreterminal";
version = "4.5.0";
src = fetchFromGitLab {
owner = "cubocore/coreapps";
repo = pname;
rev = "v${version}";
hash = "sha256-zMSE1gQ2HJQCqil3MB4slRe0Cojv2XRLd8wLTokF8H0=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
qtbase
qtserialport
qtermwidget
libcprime
libcsys
];
meta = with lib; {
description = "A terminal emulator from the C Suite";
mainProgram = "coreterminal";
homepage = "https://gitlab.com/cubocore/coreapps/coreterminal";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dan4ik605743 ];
platforms = platforms.linux;
};
}