3
0
Fork 0
forked from mirrors/nixpkgs

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 {
name = "cutecom-0.22.0";
src = fetchurl {
url = "http://cutecom.sourceforge.net/${name}.tar.gz";
sha256 = "199fvl463nyn77r3nm8xgzgifs28j5759kkcnc5xbwww2nk20rhv";
name = "cutecom-${version}";
version = "0.40.0";
src = fetchFromGitHub {
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 = {
description = "A graphical serial terminal";
version = "0.22.0";
homepage = http://cutecom.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.bennofs ];

View file

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