Skip to content

Commit

Permalink
Merge pull request #100130 from suhr/julia-mono
Browse files Browse the repository at this point in the history
julia-mono: init at 0.018
  • Loading branch information
marsam committed Oct 12, 2020
2 parents 89f961c + 2336543 commit 0f81680
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/data/fonts/julia-mono/default.nix
@@ -0,0 +1,22 @@
{ lib, fetchzip }:

let
version = "0.018";
in fetchzip {
name = "JuliaMono-${version}";
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono.zip";
sha256 = "0ss79a9gymbhih5pgjkg1mipmk0qsvqqwlkqcdm9fz87d7kfhby3";

postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
'';

meta = {
description = "A monospaced font for scientific and technical computing";
maintainers = with lib.maintainers; [ suhr ];
platforms = with lib.platforms; all;
homepage = "https://juliamono.netlify.app/";
license = lib.licenses.ofl;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -19105,6 +19105,8 @@ in

junicode = callPackage ../data/fonts/junicode { };

julia-mono = callPackage ../data/fonts/julia-mono { };

kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {};

kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {};
Expand Down

0 comments on commit 0f81680

Please sign in to comment.