2021-08-18 13:19:15 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchgit
|
|
|
|
, xorg
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "drawterm";
|
2023-03-08 16:32:21 +00:00
|
|
|
version = "unstable-2023-03-05";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.9front.org/plan9front/drawterm";
|
2023-03-08 16:32:21 +00:00
|
|
|
rev = "ed9cff5a4c39322744c4708699c9ae6651b7c9ab";
|
|
|
|
sha256 = "LM6UnggoxKC3e6xOlHYk9VFF99Abbdmp37nuUML8RgI=";
|
2021-08-18 13:19:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXt
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: macos
|
|
|
|
makeFlags = [ "CONF=unix" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 -t $out/bin/ drawterm
|
|
|
|
install -Dm644 -t $out/man/man1/ drawterm.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Connect to Plan9 CPU servers from other operating systems.";
|
|
|
|
homepage = "https://drawterm.9front.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ luc65r ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|