about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/hermit/default.nix
blob: 3ff5dd36829238b0a7832c1f89f66dd50cd5e2d7 (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
24
25
{ lib, fetchzip }:

let
  pname = "hermit";
  version = "2.0";
in fetchzip rec {
  name = "${pname}-${version}";

  url = "https://pcaro.es/d/otf-${name}.tar.gz";

  postFetch = ''
    tar xf $downloadedFile
    install -m444 -Dt $out/share/fonts/opentype *.otf
  '';
  sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl";

  meta = with lib; {
    description = "monospace font designed to be clear, pragmatic and very readable";
    homepage = "https://pcaro.es/p/hermit";
    license = licenses.ofl;
    maintainers = with maintainers; [ dtzWill ];
    platforms = platforms.all;
  };
}