Merge pull request #71385 from geistesk/cutecom-0.51.0

cutecom: 0.50.0 -> 0.51.0
This commit is contained in:
worldofpeace 2019-10-26 12:07:23 +00:00 committed by GitHub
commit 923199537f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,25 +1,29 @@
{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }: { mkDerivation, lib, fetchFromGitLab, qtbase, qtserialport, cmake }:
stdenv.mkDerivation rec { mkDerivation rec {
pname = "cutecom"; pname = "cutecom";
version = "0.50.0"; version = "0.51.0";
src = fetchFromGitHub {
owner = "neundorf"; src = fetchFromGitLab {
repo = "CuteCom"; owner = "cutecom";
repo = "cutecom";
rev = "v${version}"; rev = "v${version}";
sha256 = "0zjmbjrwwan9z5cphqjcq2h71cm4mw88j457lzdqb29cg4bdn3ag"; sha256 = "1zprabjs4z26hsb64fc3k790aiiqiz9d88j666xrzi4983m1bfv8";
}; };
preConfigure = '' preConfigure = ''
substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)" substituteInPlace CMakeLists.txt \
--replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
''; '';
buildInputs = [qtbase qtserialport cmake];
meta = { buildInputs = [ qtbase qtserialport ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "A graphical serial terminal"; description = "A graphical serial terminal";
homepage = http://cutecom.sourceforge.net/; homepage = "https://gitlab.com/cutecom/cutecom/";
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.bennofs ]; maintainers = with maintainers; [ bennofs ];
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }