blob: 1c2b45c2efd4bb37574760b195cd0761a53e705c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
glib,
inih,
lua,
bash-completion,
darwin,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tio";
version = "3.5";
src = fetchFromGitHub {
owner = "tio";
repo = "tio";
rev = "v${finalAttrs.version}";
hash = "sha256-3d3TYHSERIQdw+Iw6qCydGpWRpWrhZwb4SnwV1nVtIk=";
};
strictDeps = true;
buildInputs = [
inih
lua
glib
] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.IOKit ];
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 ];
mainProgram = "tio";
platforms = platforms.unix;
};
})
|