victor-mono: init at 1.2.1

This commit is contained in:
EEva (JPotier) 2019-07-13 11:00:39 +03:00 committed by worldofpeace
parent 7803ff314c
commit 5e51a6073e
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, fetchFromGitHub }:
let
pname = "victor-mono";
version = "1.2.1";
in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rubjo";
repo = pname;
rev = "v${version}";
postFetch = ''
tar xf $downloadedFile --strip=1
unzip public/VictorMonoAll.zip TTF/\*
mkdir -p $out/share/fonts/truetype/${pname}
cp TTF/*.ttf $out/share/fonts/truetype/${pname}
'';
sha256 = "0gisjcywmn3kjgwfmzcv8ibxqd126s93id2w0zjly0c7m3ckamh8";
meta = with lib; {
homepage = https://rubjo.github.io/victor-mono;
description = "A free programming font with cursive italics and ligatures";
license = with licenses; [ mit ];
maintainers = with maintainers; [ jpotier ];
platforms = platforms.all;
};
}

View File

@ -16811,6 +16811,8 @@ in
vegur = callPackage ../data/fonts/vegur { };
victor-mono = callPackage ../data/fonts/victor-mono { };
vistafonts = callPackage ../data/fonts/vista-fonts { };
vistafonts-chs = callPackage ../data/fonts/vista-fonts-chs { };