mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #107803 from marsam/update-jetbrains-mono
jetbrains-mono: 2.210 -> 2.221
This commit is contained in:
commit
c4b602ba4e
@ -1,24 +1,24 @@
|
|||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.210";
|
version = "2.221";
|
||||||
in
|
in
|
||||||
fetchzip {
|
fetchzip {
|
||||||
name = "JetBrainsMono-${version}";
|
name = "JetBrainsMono-${version}";
|
||||||
|
|
||||||
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
||||||
|
|
||||||
sha256 = "05csy42qji8xbaq5iap2nmki0d0cbiwiq9kbzjd1cah9qn6gfill";
|
sha256 = "1in3znnj0i0yfwj93ncxi3s1cp9lhgwnv2r14br47rr7vik4zjr6";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||||
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A typeface made for developers";
|
description = "A typeface made for developers";
|
||||||
homepage = "https://jetbrains.com/mono/";
|
homepage = "https://jetbrains.com/mono/";
|
||||||
|
changelog = "https://github.com/JetBrains/JetBrainsMono/blob/v${version}/Changelog.md";
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
maintainers = [ maintainers.marsam ];
|
maintainers = [ maintainers.marsam ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
Loading…
Reference in New Issue
Block a user