blob: ada7f23f4211bfdcaef0c16997c278f7a95b6a77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, fetchzip }:
let
version = "1.0.1";
in
fetchzip rec {
name = "JetBrainsMono-${version}";
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/${version}/JetBrainsMono-${version}.zip";
sha256 = "15a8fwyg8ns6krq6nsvgn41iaqbd3lgm3cmv7w370gr6brbn6lxq";
postFetch = ''
unzip $downloadedFile
install -m444 -Dt $out/share/fonts/truetype ttf/*.ttf
install -m444 -Dt $out/share/fonts/woff/ web/woff/*.woff
install -m444 -Dt $out/share/fonts/woff2/ web/woff2/*.woff2
'';
meta = with lib; {
description = "A typeface made for developers";
homepage = "https://jetbrains.com/mono/";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
platforms = platforms.all;
};
}
|