nixpkgs/pkgs/tools/misc/tio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
775 B
Nix
Raw Normal View History

2024-04-16 13:38:39 +00:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, inih, lua, bash-completion, darwin }:
2018-05-10 14:04:04 +00:00
stdenv.mkDerivation rec {
pname = "tio";
2024-04-16 13:38:39 +00:00
version = "2.8";
2018-05-10 14:04:04 +00:00
2021-09-19 16:57:27 +00:00
src = fetchFromGitHub {
owner = "tio";
repo = "tio";
rev = "v${version}";
2024-04-16 13:38:39 +00:00
hash = "sha256-BBfLmRhbDeymXXlYp71XTwbAab7h7gJ842fzZJNb6kU=";
2018-05-10 14:04:04 +00:00
};
2023-05-19 03:47:48 +00:00
strictDeps = true;
2024-04-16 13:38:39 +00:00
buildInputs = [ inih lua ]
++ lib.optionals (stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.IOKit ];
2023-05-19 03:47:48 +00:00
nativeBuildInputs = [ meson ninja pkg-config bash-completion ];
2018-05-10 14:04:04 +00:00
meta = with lib; {
2018-05-10 14:04:04 +00:00
description = "Serial console TTY";
homepage = "https://tio.github.io/";
2018-05-10 14:04:04 +00:00
license = licenses.gpl2Plus;
2021-12-31 18:48:55 +00:00
maintainers = with maintainers; [ yana ];
platforms = platforms.unix;
2023-11-27 01:17:53 +00:00
mainProgram = "tio";
2018-05-10 14:04:04 +00:00
};
}