dterm: init at 0.5

Add dterm, a simple terminal emulator.
This commit is contained in:
Michael Auchter 2022-06-20 15:21:03 +00:00
parent 4592f00769
commit 263ff104e5
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "dterm";
version = "0.5";
src = fetchurl {
url = "http://www.knossos.net.nz/downloads/dterm-${version}.tgz";
sha256 = "94533be79f1eec965e59886d5f00a35cb675c5db1d89419f253bb72f140abddb";
};
buildInputs = [ readline ];
postPatch = ''
substituteInPlace Makefile \
--replace 'gcc' '${stdenv.cc.targetPrefix}cc'
'';
preInstall = "mkdir -p $out/bin";
installFlags = [ "BIN=$(out)/bin/" ];
meta = with lib; {
homepage = "http://www.knossos.net.nz/resources/free-software/dterm/";
description = "A simple terminal program";
license = licenses.gpl2Only;
maintainers = with maintainers; [ auchter ];
platforms = platforms.unix;
};
}

View File

@ -1145,6 +1145,8 @@ with pkgs;
cope = callPackage ../tools/misc/cope { };
dterm = callPackage ../tools/misc/dterm { };
ejson2env = callPackage ../tools/admin/ejson2env { };
davinci-resolve = callPackage ../applications/video/davinci-resolve { };