nixpkgs/pkgs/data/fonts/julia-mono/default.nix
2024-10-20 04:46:08 +00:00

37 lines
1.1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "JuliaMono-ttf";
version = "0.058";
src = fetchzip {
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz";
stripRoot = false;
hash = "sha256-QKMTU6ISP983Kg4ZxyPV4IgiuO0ZXMiOtvZPwP7dF7k=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
mv *.ttf $out/share/fonts/truetype
runHook postInstall
'';
meta = with lib; {
description = "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 didnt
physically happen in Lisbon, but online).
'';
maintainers = with maintainers; [ suhr ];
platforms = with platforms; all;
homepage = "https://juliamono.netlify.app/";
license = licenses.ofl;
};
}