summary refs log tree commit diff
path: root/pkgs/data/fonts/mononoki/default.nix
blob: d48332b4a27f087fa982fd9dd318a34965f40ba4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchzip }:

let
  version = "1.3";
in fetchzip {
  name = "mononoki-${version}";

  url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";

  postFetch = ''
    mkdir -p $out/share/fonts/mononoki
    unzip -j $downloadedFile -d $out/share/fonts/mononoki
  '';

  sha256 = "sha256-K2uOpJRmQ1NcDZfh6rorCF0MvGHFCsSW8J7Ue9OC/OY=";

  meta = with lib; {
    homepage = "https://github.com/madmalik/mononoki";
    description = "A font for programming and code review";
    license = licenses.ofl;
    platforms = platforms.all;
  };
}