2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
readline,
|
|
|
|
autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "microcom";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2023.09.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pengutronix";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-CT/myxOK4U3DzliGsa45WMIFcYLjcoxx6w5S1NL5c7Y=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ readline ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A minimalistic terminal program for communicating
|
|
|
|
with devices over a serial connection";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ emantor ];
|
|
|
|
platforms = with platforms; linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "microcom";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|