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

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

29 lines
662 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2016-06-10 09:33:25 +00:00
stdenvNoCC.mkDerivation rec {
pname = "mononoki";
2023-03-17 00:01:21 +00:00
version = "1.6";
2016-06-10 09:33:25 +00:00
src = fetchzip {
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
stripRoot = false;
2023-03-17 00:01:21 +00:00
hash = "sha256-HQM9rzIJXLOScPEXZu0MzRlblLfbVVNJ+YvpONxXuwQ=";
};
installPhase = ''
runHook preInstall
2016-06-10 09:33:25 +00:00
mkdir -p $out/share/fonts/mononoki
2023-02-04 17:13:13 +00:00
cp * $out/share/fonts/mononoki
runHook postInstall
'';
2017-08-10 19:43:49 +00:00
meta = with lib; {
homepage = "https://github.com/madmalik/mononoki";
2016-06-10 09:33:25 +00:00
description = "A font for programming and code review";
license = licenses.ofl;
platforms = platforms.all;
};
}