mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
27 lines
716 B
Nix
27 lines
716 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "2.242";
|
|
in
|
|
fetchzip {
|
|
name = "JetBrainsMono-${version}";
|
|
|
|
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
|
|
|
sha256 = "sha256-flaUqpHmgebUzwPq0d+I3p9yqPmsV0kap04eApOQxdI=";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A typeface made for developers";
|
|
homepage = "https://jetbrains.com/mono/";
|
|
changelog = "https://github.com/JetBrains/JetBrainsMono/blob/v${version}/Changelog.md";
|
|
license = licenses.ofl;
|
|
maintainers = [ maintainers.marsam ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|