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