1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/data/fonts/victor-mono/default.nix
2019-07-13 11:58:34 -04:00

30 lines
739 B
Nix

{ 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;
};
}