diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-10-12 06:32:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 06:32:25 -0500 |
commit | 0f816804405238796284e6bf483a909fa7997ccf (patch) | |
tree | fe53947850444a21a25f4f1884c1608a84594ee7 | |
parent | 89f961c40410319dcb1d0700cef1bc0ac2e51053 (diff) | |
parent | 2336543338d1df3861b1d6b06364ae12b0fcf0e3 (diff) |
Merge pull request #100130 from suhr/julia-mono
julia-mono: init at 0.018
-rw-r--r-- | pkgs/data/fonts/julia-mono/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/data/fonts/julia-mono/default.nix b/pkgs/data/fonts/julia-mono/default.nix new file mode 100644 index 000000000000..c6bcdfd3b2ae --- /dev/null +++ b/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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a56ed5cab4cf..78dd13023808 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {}; |