2023-01-18 20:29:32 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2019-01-17 21:16:55 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-01-17 21:16:55 +00:00
|
|
|
pname = "hermit";
|
|
|
|
version = "2.0";
|
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
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
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
|
|
|
|
|
|
|
runHook postInstall
|
2019-01-17 21:16:55 +00:00
|
|
|
'';
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2019-01-17 21:16:55 +00:00
|
|
|
description = "monospace font designed to be clear, pragmatic and very readable";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pcaro.es/p/hermit";
|
2019-01-17 21:16:55 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|