diff options
author | William Casarin <jb55@jb55.com> | 2020-11-09 08:42:23 -0800 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2020-11-10 12:25:19 +0100 |
commit | b5f8f521e69dab6558c1a788e0f4f26e131e74a3 (patch) | |
tree | 044324d4d46dd497e490414777535d1e2a0b3ceb /pkgs/tools/misc | |
parent | da115b4c56f7745f2641d6f5295248bf036e6886 (diff) |
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>
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/cp437/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/cp437/default.nix b/pkgs/tools/misc/cp437/default.nix new file mode 100644 index 0000000000000..2e15e32e97137 --- /dev/null +++ b/pkgs/tools/misc/cp437/default.nix @@ -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 ]; + }; +} |