nixpkgs/pkgs/tools/misc/vtm/default.nix
2022-12-26 21:58:52 +08:00

32 lines
728 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "vtm";
version = "0.9.8g";
src = fetchFromGitHub {
owner = "netxs-group";
repo = "vtm";
rev = "v${version}";
sha256 = "sha256-Q+QPRIk7EtcSZBrm9RCxSbz9cgznZQBnPwm9Qm+gH24=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "../src" ];
meta = {
homepage = "https://vtm.netxs.online/";
description = "Terminal multiplexer with window manager and session sharing";
license = lib.licenses.mit;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ahuzik ];
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
};
}