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