2017-07-11 21:18:09 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:
|
2015-02-19 12:34:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-07-11 21:18:09 +01:00
|
|
|
name = "cutecom-${version}";
|
2018-06-19 22:41:07 +01:00
|
|
|
version = "0.45.0";
|
2017-07-11 21:18:09 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neundorf";
|
|
|
|
repo = "CuteCom";
|
|
|
|
rev = "v${version}";
|
2018-06-19 22:41:07 +01:00
|
|
|
sha256 = "07h1r7bcz86fvcvxq6g5zyh7fsginx27jbp81a7hjhhhn6v0dsmh";
|
2015-02-19 12:34:01 +00:00
|
|
|
};
|
2017-07-11 21:18:09 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
|
|
|
|
'';
|
|
|
|
buildInputs = [qtbase qtserialport cmake];
|
2015-02-19 12:34:01 +00: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 04:11:52 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-02-19 12:34:01 +00:00
|
|
|
};
|
|
|
|
}
|