smiley-sans: add update script

This commit is contained in:
Candy Cloud 2023-01-07 00:34:34 +00:00
parent 361dd1f0d8
commit 6445471398

View file

@ -1,4 +1,4 @@
{ lib, stdenvNoCC, fetchzip }: { lib, stdenvNoCC, fetchzip, nix-update-script }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "smiley-sans"; pname = "smiley-sans";
@ -18,6 +18,10 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; { meta = with lib; {
description = "A condensed and oblique Chinese typeface seeking a visual balance between the humanist and the geometric"; 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/"; homepage = "https://atelier-anchor.com/typefaces/smiley-sans/";