5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ lib, stdenvNoCC, fetchzip }:
|
||
|
||
stdenvNoCC.mkDerivation rec {
|
||
pname = "JuliaMono-ttf";
|
||
version = "0.051";
|
||
|
||
src = fetchzip {
|
||
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz";
|
||
stripRoot = false;
|
||
hash = "sha256-JdoCblRW9Vih7zQyvTb/VXhZJJDNV0sPDfTQ+wRKotE=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
mkdir -p $out/share/fonts/truetype
|
||
mv *.ttf $out/share/fonts/truetype
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
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;
|
||
};
|
||
}
|