nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchzip }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "hermit";
5 version = "2.0";
6
7 src = fetchzip {
8 url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz";
9 stripRoot = false;
10 hash = "sha256-RYXZ2yJ8BIxsgeEwhXz7g0NnWG3kMPZoJaOLMUQyWWQ=";
11 };
12
13 installPhase = ''
14 runHook preInstall
15
16 install -m444 -Dt $out/share/fonts/opentype *.otf
17
18 runHook postInstall
19 '';
20
21 meta = with lib; {
22 description = "monospace font designed to be clear, pragmatic and very readable";
23 homepage = "https://pcaro.es/p/hermit";
24 license = licenses.ofl;
25 maintainers = with maintainers; [ dtzWill ];
26 platforms = platforms.all;
27 };
28}