2020-10-10 09:38:22 +02:00
|
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
|
|
let
|
2021-04-05 23:23:23 +02:00
|
|
|
|
version = "0.035";
|
2021-02-28 09:40:10 +01:00
|
|
|
|
|
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";
|
2021-04-05 23:23:23 +02:00
|
|
|
|
sha256 = "sha256:17w8rn37wadxnmakhd6mpmqdx14dsrc3qym4k9b47albl1a34i1j";
|
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
|
|
|
|
|
'';
|
|
|
|
|
|
2021-03-04 02:24:06 +01:00
|
|
|
|
meta = with lib; {
|
2020-10-10 09:38:22 +02:00
|
|
|
|
description = "A monospaced font for scientific and technical computing";
|
2021-02-28 09:40:10 +01:00
|
|
|
|
longDescription = ''
|
|
|
|
|
JuliaMono is a monospaced typeface designed for use in text editing environments that require a wide range of specialist and technical Unicode characters. It was intended as a fun experiment to be presented at the 2020 JuliaCon conference in Lisbon, Portugal (which of course didn’t physically happen in Lisbon, but online).
|
|
|
|
|
'';
|
2021-03-04 02:24:06 +01:00
|
|
|
|
maintainers = with maintainers; [ suhr ];
|
|
|
|
|
platforms = with platforms; all;
|
2021-02-28 09:40:10 +01:00
|
|
|
|
homepage = "https://cormullion.github.io/pages/2020-07-26-JuliaMono/";
|
2021-03-04 02:24:06 +01:00
|
|
|
|
license = licenses.ofl;
|
2020-10-10 09:38:22 +02:00
|
|
|
|
};
|
|
|
|
|
}
|