3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/cp437/default.nix

28 lines
639 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2021-07-14 16:10:11 +01:00
stdenv.mkDerivation rec {
pname = "cp437";
2021-07-14 16:10:11 +01:00
version = "0.6";
src = fetchFromGitHub {
owner = "keaston";
repo = "cp437";
rev = "v${version}";
sha256 = "18f4mnfnyviqclbhmbhix80k823481ypkwbp26qfvhnxdgzbggcc";
};
installPhase = ''
install -Dm755 cp437 -t $out/bin
'';
meta = with 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;
2020-11-10 12:51:00 +00:00
maintainers = with maintainers; [ jb55 ];
};
}