mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
35 lines
713 B
Nix
35 lines
713 B
Nix
{ stdenv, fetchFromGitHub, bdftopcf }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cherry";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "turquoise-hexagon";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1zaiqspf6y0hpszhihdsvsyw33d3ffdap4dym7w45wfrhdpvpi0p";
|
|
};
|
|
|
|
nativeBuildInputs = [ bdftopcf ];
|
|
|
|
buildPhase = ''
|
|
patchShebangs make.sh
|
|
./make.sh
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/misc
|
|
cp *.pcf $out/share/fonts/misc
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "cherry font";
|
|
homepage = https://github.com/turquoise-hexagon/cherry;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|
|
|