2023-01-18 20:29:32 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-10-10 07:38:22 +00:00
|
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
|
pname = "JuliaMono-ttf";
|
2023-01-28 06:03:22 +00:00
|
|
|
|
version = "0.047";
|
2021-02-28 08:40:10 +00:00
|
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
|
src = fetchzip {
|
|
|
|
|
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz";
|
|
|
|
|
stripRoot = false;
|
2023-01-28 06:03:22 +00:00
|
|
|
|
hash = "sha256-tCZo48SBGdhcsP1wgaWkfWr3L3Yz+p/iqesLmarSWbk=";
|
2023-01-18 20:29:32 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
2020-10-10 07:38:22 +00:00
|
|
|
|
|
2020-10-19 07:08:27 +00:00
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
2023-01-18 20:29:32 +00:00
|
|
|
|
mv *.ttf $out/share/fonts/truetype
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
2020-10-10 07:38:22 +00:00
|
|
|
|
'';
|
|
|
|
|
|
2021-03-04 01:24:06 +00:00
|
|
|
|
meta = with lib; {
|
2020-10-10 07:38:22 +00:00
|
|
|
|
description = "A monospaced font for scientific and technical computing";
|
2021-02-28 08:40:10 +00:00
|
|
|
|
longDescription = ''
|
2021-05-05 04:20:00 +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-02-28 08:40:10 +00:00
|
|
|
|
'';
|
2021-03-04 01:24:06 +00:00
|
|
|
|
maintainers = with maintainers; [ suhr ];
|
|
|
|
|
platforms = with platforms; all;
|
2021-09-08 04:32:00 +00:00
|
|
|
|
homepage = "https://juliamono.netlify.app/";
|
2021-03-04 01:24:06 +00:00
|
|
|
|
license = licenses.ofl;
|
2020-10-10 07:38:22 +00:00
|
|
|
|
};
|
|
|
|
|
}
|