Merge pull request #77820 from marsam/init-jetbrains-mono

jetbrains-mono: init at 1.0.0
This commit is contained in:
Will Dietz 2020-01-16 11:49:37 -06:00 committed by GitHub
commit 1177bce848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, fetchzip }:
let
version = "1.0.0";
in
fetchzip rec {
name = "JetBrainsMono-${version}";
url = "https://download.jetbrains.com/fonts/JetBrainsMono-${version}.zip";
sha256 = "0mwqi66d56v4ml1w7wjsiidrh153jvh0czafyic47rkvmxhnrrhv";
postFetch = ''
unzip $downloadedFile
install -m444 -Dt $out/share/fonts/truetype *.ttf
'';
meta = with lib; {
description = "A typeface made for developers";
homepage = "https://jetbrains.com/mono/";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
platforms = platforms.all;
};
}

View file

@ -17483,6 +17483,8 @@ in
iwona = callPackage ../data/fonts/iwona { };
jetbrains-mono = callPackage ../data/fonts/jetbrains-mono { };
jost = callPackage ../data/fonts/jost { };
joypixels = callPackage ../data/fonts/joypixels { };