2019-05-13 01:55:32 +00:00
|
|
|
{ lib, fetchzip }:
|
2016-06-10 09:33:25 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
let
|
2021-03-23 02:33:08 +00:00
|
|
|
version = "1.3";
|
2017-08-10 19:43:49 +00:00
|
|
|
in fetchzip {
|
|
|
|
name = "mononoki-${version}";
|
2016-06-10 09:33:25 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
|
2016-06-10 09:33:25 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
postFetch = ''
|
2016-06-10 09:33:25 +00:00
|
|
|
mkdir -p $out/share/fonts/mononoki
|
2017-08-10 19:43:49 +00:00
|
|
|
unzip -j $downloadedFile -d $out/share/fonts/mononoki
|
2016-06-10 09:33:25 +00:00
|
|
|
'';
|
|
|
|
|
2021-03-23 02:33:08 +00:00
|
|
|
sha256 = "sha256-K2uOpJRmQ1NcDZfh6rorCF0MvGHFCsSW8J7Ue9OC/OY=";
|
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;
|
|
|
|
};
|
|
|
|
}
|