mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
Merge pull request #70687 from dtzWill/update/cherry-1.4
cherry: 1.3 -> 1.4, pcf -> otb, mkfontdir for X11
This commit is contained in:
commit
741b404e8a
|
@ -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; {
|
||||
|
|
|
@ -16820,7 +16820,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