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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
580 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2019-05-25 16:31:04 +00:00
stdenvNoCC.mkDerivation rec {
2019-05-25 16:31:04 +00:00
pname = "mno16";
version = "1.0";
src = fetchzip {
url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${pname}-${version}.zip";
stripRoot = false;
hash = "sha256-xJQ9V7GlGUTEeYhqYFl/SemS6iqV0eW85YOn/tLgA+M=";
};
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp fonts/*.ttf $out/share/fonts/truetype/
'';
2019-05-25 16:31:04 +00:00
meta = with lib; {
description = "minimalist monospaced font";
homepage = "https://sev.dev/fonts/mno16";
2019-05-25 16:31:04 +00:00
license = licenses.cc0;
};
}