evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sm / smiley-sans / package.nix
blobd136695c8aed16f6a79355ed6a97240398918246
1 { lib, stdenvNoCC, fetchzip, nix-update-script }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "smiley-sans";
5   version = "2.0.1";
7   src = fetchzip {
8     url = "https://github.com/atelier-anchor/smiley-sans/releases/download/v${version}/smiley-sans-v${version}.zip";
9     sha256 = "sha256-p6DwX5MBPemAfV99L9ayLkEWro31ip4tf+wBQr8mkbs=";
10     stripRoot = false;
11   };
13   installPhase = ''
14     runHook preInstall
15     install -Dm644 -t $out/share/fonts/opentype *.otf
16     install -Dm644 -t $out/share/fonts/truetype *.ttf
17     install -Dm644 -t $out/share/fonts/woff2 *.woff2
18     runHook postInstall
19   '';
21   passthru.updateScript = nix-update-script { };
23   meta = with lib; {
24     description = "Condensed and oblique Chinese typeface seeking a visual balance between the humanist and the geometric";
25     homepage = "https://atelier-anchor.com/typefaces/smiley-sans/";
26     changelog = "https://github.com/atelier-anchor/smiley-sans/blob/main/CHANGELOG.md";
27     license = licenses.ofl;
28     maintainers = [ ];
29     platforms = platforms.all;
30   };