dterm: init at 0.5
Add dterm, a simple terminal emulator.
This commit is contained in:
parent
4592f00769
commit
263ff104e5
27
pkgs/tools/misc/dterm/default.nix
Normal file
27
pkgs/tools/misc/dterm/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user