3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/cherry/default.nix

35 lines
713 B
Nix
Raw Normal View History

2019-01-17 21:09:48 +00:00
{ stdenv, fetchFromGitHub, bdftopcf }:
stdenv.mkDerivation rec {
pname = "cherry";
version = "1.3";
2019-01-17 21:09:48 +00:00
src = fetchFromGitHub {
owner = "turquoise-hexagon";
repo = pname;
rev = version;
sha256 = "1zaiqspf6y0hpszhihdsvsyw33d3ffdap4dym7w45wfrhdpvpi0p";
2019-01-17 21:09:48 +00:00
};
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;
};
}