mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
cherry: init at 1.2
This commit is contained in:
parent
57a46d4330
commit
2dd48b7017
35
pkgs/data/fonts/cherry/default.nix
Normal file
35
pkgs/data/fonts/cherry/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchFromGitHub, bdftopcf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "cherry";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "turquoise-hexagon";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1sfajzndv78v8hb156876i2rw3zw8xys6qi8zr4yi0isgsqj5yx5";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
@ -15422,6 +15422,8 @@ in
|
||||
|
||||
charis-sil = callPackage ../data/fonts/charis-sil { };
|
||||
|
||||
cherry = callPackage ../data/fonts/cherry { };
|
||||
|
||||
comfortaa = callPackage ../data/fonts/comfortaa {};
|
||||
|
||||
comic-neue = callPackage ../data/fonts/comic-neue { };
|
||||
|
Loading…
Reference in New Issue
Block a user