From f0f6972dfd3a1fcbb4a167cb75373afe06f169df Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 25 May 2019 11:31:04 -0500 Subject: [PATCH] mno16: init at 1.0 --- pkgs/data/fonts/mno16/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/data/fonts/mno16/default.nix diff --git a/pkgs/data/fonts/mno16/default.nix b/pkgs/data/fonts/mno16/default.nix new file mode 100644 index 000000000000..2a700be113a4 --- /dev/null +++ b/pkgs/data/fonts/mno16/default.nix @@ -0,0 +1,21 @@ +{ lib, fetchzip }: + +let + pname = "mno16"; + version = "1.0"; +in fetchzip rec { + name = "${pname}-${version}"; + url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${name}.zip"; + sha256 = "1x06nl281fcjk6g1p4cgrgxakmwcci6vvasskaygsqlzxd8ig87w"; + + postFetch = '' + mkdir -p $out/share/fonts/truetype + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/ + ''; + + meta = with lib; { + description = "minimalist monospaced font"; + homepage = https://sev.dev/fonts/mno16; + license = licenses.cc0; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 86a023fb8c6f..18949e0ecdb5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16376,6 +16376,8 @@ in medio = callPackage ../data/fonts/medio { }; + mno16 = callPackage ../data/fonts/mno16 { }; + mnist = callPackage ../data/machine-learning/mnist { }; mobile-broadband-provider-info = callPackage ../data/misc/mobile-broadband-provider-info { };