diff --git a/pkgs/data/fonts/jetbrains-mono/default.nix b/pkgs/data/fonts/jetbrains-mono/default.nix new file mode 100644 index 000000000000..05eb554c6f49 --- /dev/null +++ b/pkgs/data/fonts/jetbrains-mono/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 738c99b973d6..9d9437ef7a15 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };