depot/third_party/nixpkgs/pkgs/applications/terminal-emulators/microcom/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
703 B
Nix

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