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 {
pname = "smiley-sans";
@ -18,6 +18,10 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
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/";