mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
24 lines
580 B
Nix
24 lines
580 B
Nix
{ stdenv, 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 stdenv.lib; {
|
|
homepage = https://github.com/madmalik/mononoki;
|
|
description = "A font for programming and code review";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|