diff --git a/pkgs/data/fonts/julia-mono/default.nix b/pkgs/data/fonts/julia-mono/default.nix new file mode 100644 index 000000000000..c6bcdfd3b2ae --- /dev/null +++ b/pkgs/data/fonts/julia-mono/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchzip }: + +let + version = "0.018"; +in fetchzip { + name = "JuliaMono-${version}"; + url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono.zip"; + sha256 = "0ss79a9gymbhih5pgjkg1mipmk0qsvqqwlkqcdm9fz87d7kfhby3"; + + postFetch = '' + mkdir -p $out/share/fonts + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + ''; + + meta = { + description = "A monospaced font for scientific and technical computing"; + maintainers = with lib.maintainers; [ suhr ]; + platforms = with lib.platforms; all; + homepage = "https://juliamono.netlify.app/"; + license = lib.licenses.ofl; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c2371e455b0f..480d069f3879 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19087,6 +19087,8 @@ in junicode = callPackage ../data/fonts/junicode { }; + julia-mono = callPackage ../data/fonts/julia-mono { }; + kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {}; kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {};