Merge pull request #178361 from auchter/auchter/dterm

dterm: init at 0.5
This commit is contained in:
Mario Rodas 2022-06-22 22:18:13 -05:00 committed by GitHub
commit b873098d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View File

@ -1177,6 +1177,12 @@
github = "attila-lendvai";
githubId = 840345;
};
auchter = {
name = "Michael Auchter";
email = "a@phire.org";
github = "auchter";
githubId = 1190483;
};
auntie = {
email = "auntieNeo@gmail.com";
github = "auntieNeo";

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

@ -1147,6 +1147,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 { };