Merge pull request #205307 from candyc1oud/smiley-sans
smiley-sans: init at 1.0.0
This commit is contained in:
commit
f1a4461499
29
pkgs/data/fonts/smiley-sans/default.nix
Normal file
29
pkgs/data/fonts/smiley-sans/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "smiley-sans";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/atelier-anchor/smiley-sans/releases/download/v${version}/smiley-sans-v${version}.zip";
|
||||
sha256 = "sha256-LE0CZkWiXjyuiEk316ABCNQL9n5GID8CipjBIu2o6uk=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm644 -t $out/share/fonts/opentype *.otf
|
||||
install -Dm644 -t $out/share/fonts/truetype *.ttf
|
||||
install -Dm644 -t $out/share/fonts/woff2 *.woff2
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A condensed and oblique Chinese typeface seeking a visual balance between the humanist and the geometric";
|
||||
homepage = "https://atelier-anchor.com/typefaces/smiley-sans/";
|
||||
changelog = "https://github.com/atelier-anchor/smiley-sans/blob/main/CHANGELOG.md";
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ candyc1oud ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -16279,6 +16279,8 @@ with pkgs;
|
||||
|
||||
self = pkgsi686Linux.callPackage ../development/interpreters/self { };
|
||||
|
||||
smiley-sans = callPackage ../data/fonts/smiley-sans { };
|
||||
|
||||
inherit (callPackages ../applications/networking/cluster/spark { })
|
||||
spark_3_2
|
||||
spark_3_1
|
||||
|
Loading…
Reference in New Issue
Block a user