mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
50 lines
835 B
Nix
50 lines
835 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
glib,
|
|
inih,
|
|
lua,
|
|
bash-completion,
|
|
darwin,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tio";
|
|
version = "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tio";
|
|
repo = "tio";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-1NXp94AQOgMNKf+P2eJ6ifUhWSqIYllVeCraBO2pHxQ=";
|
|
};
|
|
|
|
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 = [ ];
|
|
mainProgram = "tio";
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|