about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/hermit/default.nix
blob: c247ad155438321ccb2b452f92ff59ff0f9effd2 (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
26
27
28
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "hermit";
  version = "2.0";

  src = fetchurl {
    url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz";
    sha256 = "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0";
  };

  sourceRoot = ".";

  dontBuild = true;
  installPhase = ''
    mkdir -p $out/share/fonts/opentype
    cp *.otf $out/share/fonts/opentype/
  '';

  meta = with stdenv.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;
  };
}