diff options
author | Alex Gherghisan <alexghr@users.noreply.github.com> | 2022-06-02 22:04:32 +0100 |
---|---|---|
committer | Alex Gherghisan <alexghr@users.noreply.github.com> | 2022-06-25 10:42:42 +0100 |
commit | a86c78d0616a253d0b447a823d0fb00ccfa602a1 (patch) | |
tree | 6447b3155bafab570157ddfcb16958a9f9f5f7ae /pkgs | |
parent | fa288e60506565c472ec8b2c8df0b52342392cb3 (diff) |
victor-mono: 1.5.2 -> 1.5.3
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/data/fonts/victor-mono/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/data/fonts/victor-mono/default.nix b/pkgs/data/fonts/victor-mono/default.nix index 45873e1b7f96c..11d3f1d25baef 100644 --- a/pkgs/data/fonts/victor-mono/default.nix +++ b/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"; |