depot/third_party/nixpkgs/pkgs/data/fonts/mononoki/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
670 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "mononoki";
version = "1.3";
src = fetchzip {
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
stripRoot = false;
hash = "sha256-bZYBRdmbQVs4i6UzMIHwJnoLWggX4CW8ZogNFYiX/9w=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/mononoki
cp webfont/* $out/share/fonts/mononoki
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/madmalik/mononoki";
description = "A font for programming and code review";
license = licenses.ofl;
platforms = platforms.all;
};
}