pub-solar-os/pkgs/data/fonts/dejavu-nerdfont/default.nix
Timothy DeHerrera 73d3826d64
Initialize template branch
Remove all idiosyncratic stuff and only leave profiles, modules and pkg
definitions, which are general and applicable for any configuration.
2020-01-03 17:47:17 -07:00

24 lines
646 B
Nix

{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
name = "dejavu-nerdfont-${version}";
version = "2.0.0";
src = fetchzip {
url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/DejaVuSansMono.zip";
hash = "sha256-yMvKzt5CKpK1bThT25lqSyRvZRCFvo6HHbTj+ripdCo=";
stripRoot = false;
};
buildCommand = ''
install --target $out/share/fonts/opentype -D $src/*Mono.ttf
'';
meta = with stdenv.lib; {
description = "Nerdfont version of DejaVu";
homepage = https://github.com/ryanoasis/nerd-fonts;
license = licenses.mit;
maintainers = [ maintainers.nrdxp ];
inherit version;
};
}