diff options
author | EEva (JPotier) <jpo.contributes.to.nixos@marvid.fr> | 2019-07-13 11:00:39 +0300 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-07-13 11:58:34 -0400 |
commit | 5e51a6073e4d00dec18e742451a43912ced6fbf0 (patch) | |
tree | 3945d1bac8a85bd833877015d4c8f87fc1b0d7be /pkgs/data | |
parent | 7803ff314c707ee11a6d8d1c9ac4cde70737d22e (diff) |
victor-mono: init at 1.2.1
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/victor-mono/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/data/fonts/victor-mono/default.nix b/pkgs/data/fonts/victor-mono/default.nix new file mode 100644 index 0000000000000..d83e412267ac0 --- /dev/null +++ b/pkgs/data/fonts/victor-mono/default.nix @@ -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; + }; +} |