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