a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
27 lines
690 B
Nix
27 lines
690 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "work-sans";
|
|
version = "2.010";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/weiweihuanghuang/Work-Sans/archive/refs/tags/v${version}.zip";
|
|
hash = "sha256-cedcx3CpcPZk3jxxIs5Bz78dxZNtOemvXnUBO6zl2dw=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 fonts/variable/*.ttf fonts/static/TTF/*.ttf -t $out/share/fonts/opentype
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A grotesque sans";
|
|
homepage = "https://weiweihuanghuang.github.io/Work-Sans/";
|
|
license = licenses.ofl;
|
|
maintainers = [ maintainers.marsam ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|