1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/tools/misc/cutecom/default.nix
R. RyanTM 911948612c cutecom: 0.40.0 -> 0.45.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/cutecom/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/m2h4yn3nfhq124h1w0x1x02n077rn9v1-cutecom-0.45.0/bin/cutecom had a zero exit code or showed the expected version
- 0 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 0.45.0 with grep in /nix/store/m2h4yn3nfhq124h1w0x1x02n077rn9v1-cutecom-0.45.0
- directory tree listing: https://gist.github.com/80c65075700b5b1fd11b437dcc0e864c
- du listing: https://gist.github.com/bf6f87cab3a3306b11350bd6f5ab295e
2018-06-19 14:41:07 -07:00

26 lines
762 B
Nix

{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:
stdenv.mkDerivation rec {
name = "cutecom-${version}";
version = "0.45.0";
src = fetchFromGitHub {
owner = "neundorf";
repo = "CuteCom";
rev = "v${version}";
sha256 = "07h1r7bcz86fvcvxq6g5zyh7fsginx27jbp81a7hjhhhn6v0dsmh";
};
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;
};
}