nixpkgs/pkgs/tools/misc/tio/default.nix
2023-11-27 02:17:53 +01:00

29 lines
668 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, inih, bash-completion }:
stdenv.mkDerivation rec {
pname = "tio";
version = "2.7";
src = fetchFromGitHub {
owner = "tio";
repo = "tio";
rev = "v${version}";
hash = "sha256-SGOxy0gyR2RQn5sj28RPhDNmESd7LhNj9nlOoCZSEJs=";
};
strictDeps = true;
buildInputs = [ inih ];
nativeBuildInputs = [ meson ninja pkg-config bash-completion ];
meta = with lib; {
description = "Serial console TTY";
homepage = "https://tio.github.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ yana ];
platforms = platforms.unix;
mainProgram = "tio";
};
}