mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
752 B
Nix
26 lines
752 B
Nix
{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cutecom";
|
|
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;
|
|
};
|
|
}
|