2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "hermit";
|
|
|
|
version = "2.0";
|
|
|
|
in fetchzip rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
url = "https://pcaro.es/d/otf-${name}.tar.gz";
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
stripRoot = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
postFetch = ''
|
2022-09-09 14:08:57 +00:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype $out/*.otf
|
|
|
|
shopt -s extglob dotglob
|
|
|
|
rm -rf $out/!(share)
|
|
|
|
shopt -u extglob dotglob
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl";
|
|
|
|
|
|
|
|
meta = with 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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|