cherry: 1.3 -> 1.4, pcf -> otb, mkfontdir for X11
This commit is contained in:
parent
b01407602c
commit
47b6dd4345
2 changed files with 9 additions and 6 deletions
|
@ -1,17 +1,17 @@
|
|||
{ stdenv, fetchFromGitHub, bdftopcf }:
|
||||
{ stdenv, fetchFromGitHub, fonttosfnt, mkfontdir }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cherry";
|
||||
version = "1.3";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "turquoise-hexagon";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1zaiqspf6y0hpszhihdsvsyw33d3ffdap4dym7w45wfrhdpvpi0p";
|
||||
sha256 = "13zkxwp6r6kcxv4x459vwscr0n0sik4a3kcz5xnmlpvcdnbxi586";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bdftopcf ];
|
||||
nativeBuildInputs = [ fonttosfnt mkfontdir ];
|
||||
|
||||
buildPhase = ''
|
||||
patchShebangs make.sh
|
||||
|
@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/misc
|
||||
cp *.pcf $out/share/fonts/misc
|
||||
cp *.otb $out/share/fonts/misc
|
||||
|
||||
# create fonts.dir so NixOS xorg module adds to fp
|
||||
mkfontdir $out/share/fonts/misc
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -16729,7 +16729,7 @@ in
|
|||
|
||||
charis-sil = callPackage ../data/fonts/charis-sil { };
|
||||
|
||||
cherry = callPackage ../data/fonts/cherry { };
|
||||
cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; };
|
||||
|
||||
cnstrokeorder = callPackage ../data/fonts/cnstrokeorder {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue