2023-01-28 05:13:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2016-06-10 09:33:25 +00:00
|
|
|
|
2023-01-28 05:13:31 +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
|
|
|
|
2023-01-28 05:13:31 +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=";
|
2023-01-28 05:13:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2016-06-10 09:33:25 +00:00
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
mkdir -p $out/share/fonts/mononoki
|
2023-02-04 17:13:13 +00:00
|
|
|
cp * $out/share/fonts/mononoki
|
2023-01-28 05:13:31 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
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;
|
|
|
|
};
|
2023-01-28 05:13:31 +00:00
|
|
|
}
|