3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/julia-mono/default.nix

32 lines
1 KiB
Nix
Raw Normal View History

2020-10-10 08:38:22 +01:00
{ lib, fetchzip }:
let
2021-09-21 07:58:20 +01:00
version = "0.043";
2021-02-28 08:40:10 +00:00
2021-05-20 17:59:08 +01:00
in
fetchzip {
name = "JuliaMono-ttf-${version}";
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono-ttf.tar.gz";
2021-09-21 07:58:20 +01:00
sha256 = "sha256-oxQRrFhTf37OrJSbDlmzh/7xOuKrtxO7v2+j7QcsAmE=";
2020-10-10 08:38:22 +01:00
postFetch = ''
2020-10-19 08:08:27 +01:00
mkdir -p $out/share/fonts/truetype
2021-05-20 17:59:08 +01:00
tar xf $downloadedFile -C $out/share/fonts/truetype
2020-10-10 08:38:22 +01:00
'';
2021-03-04 01:24:06 +00:00
meta = with lib; {
2020-10-10 08:38:22 +01:00
description = "A monospaced font for scientific and technical computing";
2021-02-28 08:40:10 +00:00
longDescription = ''
2021-05-05 05:20:00 +01: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 didnt
physically happen in Lisbon, but online).
2021-02-28 08:40:10 +00:00
'';
2021-03-04 01:24:06 +00:00
maintainers = with maintainers; [ suhr ];
platforms = with platforms; all;
homepage = "https://juliamono.netlify.app/";
2021-03-04 01:24:06 +00:00
license = licenses.ofl;
2020-10-10 08:38:22 +01:00
};
}