nixpkgs-suyu/pkgs/data/fonts/julia-mono/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.1 KiB
Nix
Raw Normal View History

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