2019-12-23 07:59:42 +03:00
|
|
|
{ stdenv, fetchzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-27 04:25:02 +03:00
|
|
|
name = "dejavu-nerdfont-${version}";
|
2019-12-23 07:59:42 +03:00
|
|
|
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;
|
2020-01-04 03:47:17 +03:00
|
|
|
maintainers = [ maintainers.nrdxp ];
|
|
|
|
inherit version;
|
2019-12-23 07:59:42 +03:00
|
|
|
};
|
|
|
|
}
|