2019-12-22 21:59:42 -07:00
|
|
|
{ stdenv, fetchzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-06-19 14:55:30 -06:00
|
|
|
pname = "dejavu-nerdfont";
|
2019-12-22 21:59:42 -07:00
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = fetchzip {
|
2020-01-03 22:06:31 -07:00
|
|
|
url =
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/DejaVuSansMono.zip";
|
2019-12-22 21:59:42 -07:00
|
|
|
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";
|
2020-01-03 22:06:31 -07:00
|
|
|
homepage = "https://github.com/ryanoasis/nerd-fonts";
|
2019-12-22 21:59:42 -07:00
|
|
|
license = licenses.mit;
|
2020-01-03 17:47:17 -07:00
|
|
|
maintainers = [ maintainers.nrdxp ];
|
|
|
|
inherit version;
|
2019-12-22 21:59:42 -07:00
|
|
|
};
|
|
|
|
}
|