3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/hermit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
675 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2019-01-17 21:16:55 +00:00
stdenvNoCC.mkDerivation rec {
2019-01-17 21:16:55 +00:00
pname = "hermit";
version = "2.0";
src = fetchzip {
url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz";
stripRoot = false;
hash = "sha256-RYXZ2yJ8BIxsgeEwhXz7g0NnWG3kMPZoJaOLMUQyWWQ=";
};
installPhase = ''
runHook preInstall
2019-01-17 21:16:55 +00:00
install -m444 -Dt $out/share/fonts/opentype *.otf
runHook postInstall
2019-01-17 21:16:55 +00:00
'';
meta = with lib; {
2019-01-17 21:16:55 +00:00
description = "monospace font designed to be clear, pragmatic and very readable";
homepage = "https://pcaro.es/p/hermit";
2019-01-17 21:16:55 +00:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}