Add victor-mono
This commit is contained in:
parent
8957f3066a
commit
1dd6155b7d
2 changed files with 27 additions and 0 deletions
|
@ -29,6 +29,7 @@ self: super:
|
|||
|
||||
scientifica-font = super.callPackage ./scientifica-font {};
|
||||
curie-font = super.callPackage ./curie-font {};
|
||||
victor-mono = super.callPackage ./victor-mono {};
|
||||
|
||||
ripmime = super.ripmime.override {
|
||||
stdenv = super.overrideCC super.stdenv super.gcc6;
|
||||
|
|
26
pkgs/victor-mono/default.nix
Normal file
26
pkgs/victor-mono/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
_name = "victor-mono";
|
||||
version = "1.2.1";
|
||||
in fetchFromGitHub {
|
||||
name = "${_name}-${version}";
|
||||
owner = "rubjo";
|
||||
repo = "victor-mono";
|
||||
rev = "v${version}";
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
unzip public/VictorMonoAll.zip TTF/\*
|
||||
mkdir -p $out/share/fonts/truetype/${_name}
|
||||
cp TTF/*.ttf $out/share/fonts/truetype/${_name}
|
||||
'';
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue