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

24 lines
580 B
Nix
Raw Normal View History

2017-08-10 19:43:49 +00:00
{ stdenv, fetchzip }:
2016-06-10 09:33:25 +00:00
2017-08-10 19:43:49 +00:00
let
2016-06-10 09:33:25 +00:00
version = "1.2";
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
'';
2017-08-10 19:43:49 +00:00
sha256 = "19y4xg7ilm21h9yynyrwcafdqn05zknpmmjrb37qim6p0cy2glff";
2016-06-10 09:33:25 +00:00
meta = with stdenv.lib; {
homepage = https://github.com/madmalik/mononoki;
description = "A font for programming and code review";
license = licenses.ofl;
platforms = platforms.all;
};
}