Merge pull request #176066 from alexghr/alexghr/build/update-victor-mono-1.5.3

victor-mono: 1.5.2 -> 1.5.3
main
Sandro 2 years ago committed by GitHub
commit ffb03512b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      pkgs/data/fonts/victor-mono/default.nix

@ -1,10 +1,11 @@
{ lib, fetchzip }:
let
version = "1.5.2";
version = "1.5.3";
in
fetchzip {
name = "victor-mono-${version}";
stripRoot = false;
# Upstream prefers we download from the website,
# but we really insist on a more versioned resource.
@ -16,12 +17,15 @@ fetchzip {
url = "https://github.com/rubjo/victor-mono/raw/v${version}/public/VictorMonoAll.zip";
postFetch = ''
mkdir -p $out/share/fonts/
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
mkdir -p "$out/share/fonts/"
mv $out/OTF $out/share/fonts/opentype
mv $out/TTF $out/share/fonts/truetype
rm -r $out/{EOT,WOFF,WOFF2}
'';
sha256 = "sha256-cNDZh0P/enmoKL/6eHzkgl5ghtai2K9cTgWMVmm8GIA=";
sha256 = "sha256-3TGpUDBJ24NEJb00oaJAHEbjC58bSthohzqM1klVDGA=";
meta = with lib; {
description = "Free programming font with cursive italics and ligatures";

Loading…
Cancel
Save