blob: d825b555e19548e574fe8e31287023a5e58ff2b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ mkDerivation, lib, fetchFromGitLab, qtbase, qtserialport, cmake }:
mkDerivation rec {
pname = "cutecom";
version = "0.51.0";
src = fetchFromGitLab {
owner = "cutecom";
repo = "cutecom";
rev = "v${version}";
sha256 = "1zprabjs4z26hsb64fc3k790aiiqiz9d88j666xrzi4983m1bfv8";
};
preConfigure = ''
substituteInPlace CMakeLists.txt \
--replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
'';
buildInputs = [ qtbase qtserialport ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "A graphical serial terminal";
homepage = "https://gitlab.com/cutecom/cutecom/";
license = licenses.gpl3;
maintainers = with maintainers; [ bennofs ];
platforms = platforms.linux;
};
}
|