nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 31 lines 676 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchzip, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "work-sans"; 9 version = "2.010"; 10 11 src = fetchzip { 12 url = "https://github.com/weiweihuanghuang/Work-Sans/archive/refs/tags/v${version}.zip"; 13 hash = "sha256-cedcx3CpcPZk3jxxIs5Bz78dxZNtOemvXnUBO6zl2dw="; 14 }; 15 16 installPhase = '' 17 runHook preInstall 18 19 install -Dm644 fonts/variable/*.ttf fonts/static/TTF/*.ttf -t $out/share/fonts/opentype 20 21 runHook postInstall 22 ''; 23 24 meta = with lib; { 25 description = "Grotesque sans"; 26 homepage = "https://weiweihuanghuang.github.io/Work-Sans/"; 27 license = licenses.ofl; 28 maintainers = [ ]; 29 platforms = platforms.all; 30 }; 31}