Merge pull request #64694 from jpotier/victor-mono
victor-mono: init at 1.2.1
This commit is contained in:
commit
1ab8c3e157
2 changed files with 31 additions and 0 deletions
29
pkgs/data/fonts/victor-mono/default.nix
Normal file
29
pkgs/data/fonts/victor-mono/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue