nixpkgs/pkgs/by-name/he/hermit/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
656 B
Nix
Raw Normal View History

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