mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
32 lines
1.0 KiB
Nix
32 lines
1.0 KiB
Nix
{ lib, fetchzip }:
|
||
|
||
let
|
||
version = "0.043";
|
||
|
||
in
|
||
fetchzip {
|
||
name = "JuliaMono-ttf-${version}";
|
||
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono-ttf.tar.gz";
|
||
sha256 = "sha256-oxQRrFhTf37OrJSbDlmzh/7xOuKrtxO7v2+j7QcsAmE=";
|
||
|
||
postFetch = ''
|
||
mkdir -p $out/share/fonts/truetype
|
||
tar xf $downloadedFile -C $out/share/fonts/truetype
|
||
'';
|
||
|
||
meta = with lib; {
|
||
description = "A monospaced font for scientific and technical computing";
|
||
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).
|
||
'';
|
||
maintainers = with maintainers; [ suhr ];
|
||
platforms = with platforms; all;
|
||
homepage = "https://juliamono.netlify.app/";
|
||
license = licenses.ofl;
|
||
};
|
||
}
|