1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/tools/misc/cutecom/default.nix
R. RyanTM 7d98f2583e cutecom: 0.45.0 -> 0.50.0 (#45838)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
cutecom
2018-09-01 12:11:19 +02:00

26 lines
762 B
Nix

{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:
stdenv.mkDerivation rec {
name = "cutecom-${version}";
version = "0.50.0";
src = fetchFromGitHub {
owner = "neundorf";
repo = "CuteCom";
rev = "v${version}";
sha256 = "0zjmbjrwwan9z5cphqjcq2h71cm4mw88j457lzdqb29cg4bdn3ag";
};
preConfigure = ''
substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
'';
buildInputs = [qtbase qtserialport cmake];
meta = {
description = "A graphical serial terminal";
homepage = http://cutecom.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.bennofs ];
platforms = stdenv.lib.platforms.linux;
};
}