2020-07-31 06:13:41 +02:00
|
|
|
let version = "2.0.0";
|
2020-07-31 06:17:28 +02:00
|
|
|
in
|
|
|
|
{ stdenv, fetchzip }:
|
2019-12-23 05:59:42 +01:00
|
|
|
|
2020-07-31 06:13:41 +02:00
|
|
|
stdenv.mkDerivation {
|
2020-06-19 22:55:30 +02:00
|
|
|
pname = "dejavu-nerdfont";
|
2020-07-31 06:13:41 +02:00
|
|
|
inherit version;
|
2019-12-23 05:59:42 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
2020-01-04 06:06:31 +01:00
|
|
|
url =
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/DejaVuSansMono.zip";
|
2019-12-23 05:59:42 +01: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-04 06:06:31 +01:00
|
|
|
homepage = "https://github.com/ryanoasis/nerd-fonts";
|
2019-12-23 05:59:42 +01:00
|
|
|
license = licenses.mit;
|
2020-01-04 01:47:17 +01:00
|
|
|
maintainers = [ maintainers.nrdxp ];
|
2020-12-28 05:07:40 +01:00
|
|
|
platforms = platforms.unix;
|
2020-01-04 01:47:17 +01:00
|
|
|
inherit version;
|
2019-12-23 05:59:42 +01:00
|
|
|
};
|
|
|
|
}
|