2020-01-16 09:20:00 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2021-01-27 11:29:00 +00:00
|
|
|
version = "2.225";
|
2020-01-16 09:20:00 +00:00
|
|
|
in
|
2020-07-11 09:20:00 +00:00
|
|
|
fetchzip {
|
2020-01-16 09:20:00 +00:00
|
|
|
name = "JetBrainsMono-${version}";
|
|
|
|
|
2020-08-27 09:20:00 +00:00
|
|
|
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
2020-01-16 09:20:00 +00:00
|
|
|
|
2021-01-27 11:29:00 +00:00
|
|
|
sha256 = "1k8xmjaingz50626hd73hqbp196kg3zndiy0aqb88z5cw9nd0fva";
|
2020-01-16 09:20:00 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
2020-01-24 12:30:00 +00:00
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
2020-01-16 09:20:00 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A typeface made for developers";
|
|
|
|
homepage = "https://jetbrains.com/mono/";
|
2020-12-28 14:46:00 +00:00
|
|
|
changelog = "https://github.com/JetBrains/JetBrainsMono/blob/v${version}/Changelog.md";
|
2020-08-27 09:20:00 +00:00
|
|
|
license = licenses.ofl;
|
2020-01-16 09:20:00 +00:00
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|