2020-10-16 20:44:37 +00:00
|
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
|
|
let
|
2022-12-02 08:20:57 +00:00
|
|
|
|
version = "0.046";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
|
in
|
|
|
|
|
fetchzip {
|
|
|
|
|
name = "JuliaMono-ttf-${version}";
|
|
|
|
|
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono-ttf.tar.gz";
|
2022-12-02 08:20:57 +00:00
|
|
|
|
sha256 = "sha256-+Ro517m1unQskQFhsT6oiz19aov87/tT1jlP/XB7kFU=";
|
|
|
|
|
|
|
|
|
|
stripRoot = false;
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
|
|
postFetch = ''
|
2020-10-19 23:25:03 +00:00
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
2022-12-02 08:20:57 +00:00
|
|
|
|
mv $out/*.ttf $out/share/fonts/truetype
|
|
|
|
|
rm $out/LICENSE
|
2020-10-16 20:44:37 +00:00
|
|
|
|
'';
|
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
|
meta = with lib; {
|
2020-10-16 20:44:37 +00:00
|
|
|
|
description = "A monospaced font for scientific and technical computing";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
longDescription = ''
|
2021-05-20 23:08:51 +00:00
|
|
|
|
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-09 03:18:52 +00:00
|
|
|
|
'';
|
|
|
|
|
maintainers = with maintainers; [ suhr ];
|
|
|
|
|
platforms = with platforms; all;
|
2021-09-18 10:52:07 +00:00
|
|
|
|
homepage = "https://juliamono.netlify.app/";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
license = licenses.ofl;
|
2020-10-16 20:44:37 +00:00
|
|
|
|
};
|
|
|
|
|
}
|