about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/microcom/default.nix
blob: ef9f09a606fa3708f488b131d3d6dedd15c4f85f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv,
  lib,
  fetchFromGitHub,
  readline,
  autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "microcom";
  version = "2023.09.0";

  src = fetchFromGitHub {
    owner = "pengutronix";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-CT/myxOK4U3DzliGsa45WMIFcYLjcoxx6w5S1NL5c7Y=";
  };

  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;
    mainProgram = "microcom";
  };
}