Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 readline, 6 autoreconfHook, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "microcom"; 11 version = "2023.09.0"; 12 13 src = fetchFromGitHub { 14 owner = "pengutronix"; 15 repo = "microcom"; 16 rev = "v${version}"; 17 hash = "sha256-CT/myxOK4U3DzliGsa45WMIFcYLjcoxx6w5S1NL5c7Y="; 18 }; 19 20 nativeBuildInputs = [ autoreconfHook ]; 21 buildInputs = [ readline ]; 22 23 meta = with lib; { 24 description = "Minimalistic terminal program for communicating 25 with devices over a serial connection"; 26 inherit (src.meta) homepage; 27 license = licenses.gpl2; 28 maintainers = with maintainers; [ emantor ]; 29 platforms = with platforms; linux; 30 mainProgram = "microcom"; 31 }; 32}