1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/fonts/julia-mono/default.nix

23 lines
650 B
Nix
Raw Normal View History

2020-10-10 08:38:22 +01:00
{ lib, fetchzip }:
let
2020-10-19 08:08:27 +01:00
version = "0.022";
2020-10-10 08:38:22 +01:00
in fetchzip {
name = "JuliaMono-${version}";
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono.zip";
2020-10-22 16:33:29 +01:00
sha256 = "sha256-/MVT6n842sSiuPZNYxN3q1vn6yvMvmcTEDyvAd2GikA=";
2020-10-10 08:38:22 +01:00
postFetch = ''
2020-10-19 08:08:27 +01:00
mkdir -p $out/share/fonts/truetype
2020-10-10 08:38:22 +01:00
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;
};
}