2023-01-20 10:41:00 +00:00
|
|
|
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "mno16";
|
|
|
|
version = "1.0";
|
2023-01-20 10:41:00 +00:00
|
|
|
in (fetchzip rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${name}.zip";
|
|
|
|
sha256 = "1x06nl281fcjk6g1p4cgrgxakmwcci6vvasskaygsqlzxd8ig87w";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "minimalist monospaced font";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://sev.dev/fonts/mno16";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.cc0;
|
|
|
|
};
|
2023-01-20 10:41:00 +00:00
|
|
|
}).overrideAttrs (_: {
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
|
|
|
'';
|
|
|
|
})
|