diff --git a/pkgs/data/fonts/hermit/default.nix b/pkgs/data/fonts/hermit/default.nix new file mode 100644 index 000000000000..c247ad155438 --- /dev/null +++ b/pkgs/data/fonts/hermit/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "hermit"; + version = "2.0"; + + src = fetchurl { + url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz"; + sha256 = "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0"; + }; + + sourceRoot = "."; + + dontBuild = true; + installPhase = '' + mkdir -p $out/share/fonts/opentype + cp *.otf $out/share/fonts/opentype/ + ''; + + meta = with stdenv.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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cf591e92a637..9937a932cec2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15570,6 +15570,8 @@ in hanazono = callPackage ../data/fonts/hanazono { }; + hermit = callPackage ../data/fonts/hermit { }; + hyperscrypt-font = callPackage ../data/fonts/hyperscrypt { }; ia-writer-duospace = callPackage ../data/fonts/ia-writer-duospace { };