cutecom: 0.22.0 -> 0.44.0

This commit is contained in:
Benno Fünfstück 2017-07-11 22:18:09 +02:00
parent f3cbde9125
commit cfd5740a7e
2 changed files with 14 additions and 8 deletions

View File

@ -1,16 +1,22 @@
{ stdenv, fetchurl, qt4, cmake }: { stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cutecom-0.22.0"; name = "cutecom-${version}";
src = fetchurl { version = "0.40.0";
url = "http://cutecom.sourceforge.net/${name}.tar.gz"; src = fetchFromGitHub {
sha256 = "199fvl463nyn77r3nm8xgzgifs28j5759kkcnc5xbwww2nk20rhv"; owner = "neundorf";
repo = "CuteCom";
rev = "v${version}";
sha256 = "1bn6vndqlvn73riq6p0nanmcl35ja9gsil5hvfpf509r7i8gx4ds";
}; };
buildInputs = [qt4 cmake];
preConfigure = ''
substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
'';
buildInputs = [qtbase qtserialport cmake];
meta = { meta = {
description = "A graphical serial terminal"; description = "A graphical serial terminal";
version = "0.22.0";
homepage = http://cutecom.sourceforge.net/; homepage = http://cutecom.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus; license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.bennofs ]; maintainers = [ stdenv.lib.maintainers.bennofs ];

View File

@ -13606,7 +13606,7 @@ with pkgs;
cuneiform = callPackage ../tools/graphics/cuneiform {}; cuneiform = callPackage ../tools/graphics/cuneiform {};
cutecom = callPackage ../tools/misc/cutecom { }; cutecom = libsForQt5.callPackage ../tools/misc/cutecom { };
cutegram = cutegram =
let callpkg = libsForQt56.callPackage; let callpkg = libsForQt56.callPackage;