nixpkgs/pkgs/tools/misc/tio/default.nix
2022-09-23 15:33:54 +02:00

24 lines
612 B
Nix

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