2017-07-11 22:18:09 +02:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:
|
2015-02-19 13:34:01 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "cutecom";
|
2018-09-01 12:11:19 +02:00
|
|
|
version = "0.50.0";
|
2017-07-11 22:18:09 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neundorf";
|
|
|
|
repo = "CuteCom";
|
|
|
|
rev = "v${version}";
|
2018-09-01 12:11:19 +02:00
|
|
|
sha256 = "0zjmbjrwwan9z5cphqjcq2h71cm4mw88j457lzdqb29cg4bdn3ag";
|
2015-02-19 13:34:01 +01:00
|
|
|
};
|
2017-07-11 22:18:09 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
|
|
|
|
'';
|
|
|
|
buildInputs = [qtbase qtserialport cmake];
|
2015-02-19 13:34:01 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A graphical serial terminal";
|
|
|
|
homepage = http://cutecom.sourceforge.net/;
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bennofs ];
|
2018-03-08 05:11:52 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-02-19 13:34:01 +01:00
|
|
|
};
|
|
|
|
}
|