Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{ lib, stdenvNoCC, fetchurl }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "apple-emoji";
|
||||
version = "latest";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://github.com/samuelngs/apple-emoji-linux/releases/latest/download/AppleColorEmoji.ttf";
|
||||
hash = "sha256-SG3JQLybhY/fMX+XqmB/BKhQSBB0N1VRqa+H6laVUPE=";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm644 $src -t $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Apple color emoji";
|
||||
homepage = "https://github.com/samuelngs/apple-emoji-linux";
|
||||
#changelog = "https://github.com/slavfox/Cozette/blob/v.${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
# maintainers = with maintainers; [ brettlyons marsam ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{ lib, stdenvNoCC, xorg }:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "apple-fonts";
|
||||
version = "1.0";
|
||||
|
||||
dontBuild = true;
|
||||
dontUnpack = true;
|
||||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [ xorg.mkfontscale ];
|
||||
|
||||
# read install --help to find -Dm644 meaning
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/usr/share/fonts/opentype
|
||||
for folder in $src/fonts/*; do
|
||||
install -Dm644 "$folder"/*.otf -t $out/usr/share/fonts/opentype
|
||||
done
|
||||
mkfontdir "$out/usr/share/fonts/opentype"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://developer.apple.com/fonts/";
|
||||
description = "Apple Fonts package for nixOS";
|
||||
longDescription = ''
|
||||
Get the typefaces you need to design interfaces for your apps on Apple platforms.
|
||||
These typefaces are designed to optimally display text at a variety of sizes
|
||||
and in a wide range of languages across multiple interfaces.
|
||||
'';
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user