nixpkgs/pkgs/data/fonts/hermit/default.nix

26 lines
601 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2019-01-17 22:16:55 +01:00
let
2019-01-17 22:16:55 +01:00
pname = "hermit";
version = "2.0";
in fetchzip rec {
name = "${pname}-${version}";
2019-01-17 22:16:55 +01:00
url = "https://pcaro.es/d/otf-${name}.tar.gz";
2019-01-17 22:16:55 +01:00
postFetch = ''
tar xf $downloadedFile
install -m444 -Dt $out/share/fonts/opentype *.otf
2019-01-17 22:16:55 +01:00
'';
sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl";
2019-01-17 22:16:55 +01:00
meta = with lib; {
2019-01-17 22:16:55 +01:00
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;
};
}