mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
24 lines
580 B
Nix
24 lines
580 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
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/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "minimalist monospaced font";
|
|
homepage = "https://sev.dev/fonts/mno16";
|
|
license = licenses.cc0;
|
|
};
|
|
}
|