2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-11-09 17:42:23 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-11-09 17:42:23 +01:00
|
|
|
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 13:51:00 +01:00
|
|
|
maintainers = with maintainers; [ jb55 ];
|
2020-11-09 17:42:23 +01:00
|
|
|
};
|
|
|
|
}
|