victor-mono: 1.5.2 -> 1.5.3
This commit is contained in:
parent
fa288e6050
commit
a86c78d061
|
@ -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…
Reference in a new issue