3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/mononoki/default.nix
volth c9eb44eab3 data/fonts: cleanup
* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
2019-05-13 06:03:31 +00:00

24 lines
570 B
Nix

{ lib, fetchzip }:
let
version = "1.2";
in fetchzip {
name = "mononoki-${version}";
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
postFetch = ''
mkdir -p $out/share/fonts/mononoki
unzip -j $downloadedFile -d $out/share/fonts/mononoki
'';
sha256 = "19y4xg7ilm21h9yynyrwcafdqn05zknpmmjrb37qim6p0cy2glff";
meta = with lib; {
homepage = https://github.com/madmalik/mononoki;
description = "A font for programming and code review";
license = licenses.ofl;
platforms = platforms.all;
};
}