Merge pull request #77820 from marsam/init-jetbrains-mono
jetbrains-mono: init at 1.0.0
This commit is contained in:
commit
1177bce848
2 changed files with 27 additions and 0 deletions
25
pkgs/data/fonts/jetbrains-mono/default.nix
Normal file
25
pkgs/data/fonts/jetbrains-mono/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue