mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
29 lines
659 B
Nix
29 lines
659 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|