cp437: init at v0.6

Emulates an old-style "code page 437" / "IBM-PC" character set terminal
on a modern UTF-8 terminal emulator.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2020-11-09 08:42:23 -08:00 committed by Andreas Rammhold
parent da115b4c56
commit b5f8f521e6
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub }:
let version = "0.6";
in
stdenv.mkDerivation {
pname = "cp437";
inherit version;
src = fetchFromGitHub {
owner = "keaston";
repo = "cp437";
rev = "v${version}";
sha256 = "18f4mnfnyviqclbhmbhix80k823481ypkwbp26qfvhnxdgzbggcc";
};
installPhase = ''
install -Dm755 cp437 -t $out/bin
'';
meta = with stdenv.lib; {
description = ''
Emulates an old-style "code page 437" / "IBM-PC" character
set terminal on a modern UTF-8 terminal emulator
'';
homepage = "https://github.com/keaston/cp437";
license = licenses.bsd3;
maintainer = with maintainers; [ jb55 ];
};
}

View file

@ -192,6 +192,8 @@ in
comedilib = callPackage ../development/libraries/comedilib { };
cp437 = callPackage ../tools/misc/cp437 { };
cpu-x = callPackage ../applications/misc/cpu-x { };
dhallToNix = callPackage ../build-support/dhall-to-nix.nix {