2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2019-01-17 21:16:55 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
let
|
2019-01-17 21:16:55 +00:00
|
|
|
pname = "hermit";
|
|
|
|
version = "2.0";
|
2019-05-13 02:55:32 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "${pname}-${version}";
|
2019-01-17 21:16:55 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
url = "https://pcaro.es/d/otf-${name}.tar.gz";
|
2019-01-17 21:16:55 +00:00
|
|
|
|
2022-09-08 21:55:32 +01:00
|
|
|
stripRoot = false;
|
2019-05-13 02:55:32 +01:00
|
|
|
postFetch = ''
|
2022-09-08 21:55:32 +01:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype $out/*.otf
|
|
|
|
shopt -s extglob dotglob
|
|
|
|
rm -rf $out/!(share)
|
|
|
|
shopt -u extglob dotglob
|
2019-01-17 21:16:55 +00:00
|
|
|
'';
|
2019-05-13 02:55:32 +01:00
|
|
|
sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl";
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|