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