Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 51a7070b4179
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 50e6e597d676
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jan 24, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8a9fffc View commit details
  2. Merge pull request #78409 from marsam/update-jetbrains-mono

    jetbrains-mono: 1.0.1 -> 1.0.2
    marsam authored Jan 24, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    50e6e59 View commit details
Showing with 7 additions and 7 deletions.
  1. +7 −7 pkgs/data/fonts/jetbrains-mono/default.nix
14 changes: 7 additions & 7 deletions pkgs/data/fonts/jetbrains-mono/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{ lib, fetchzip }:

let
version = "1.0.1";
version = "1.0.2";
in
fetchzip rec {
name = "JetBrainsMono-${version}";

url = "https://github.com/JetBrains/JetBrainsMono/releases/download/${version}/JetBrainsMono-${version}.zip";
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";

sha256 = "15a8fwyg8ns6krq6nsvgn41iaqbd3lgm3cmv7w370gr6brbn6lxq";
sha256 = "0fyn7yb1m9gkzbbzv25f8v6qzv7w4amqv3z4fpfb262l1f6yq41i";

postFetch = ''
unzip $downloadedFile
install -m444 -Dt $out/share/fonts/truetype ttf/*.ttf
install -m444 -Dt $out/share/fonts/woff/ web/woff/*.woff
install -m444 -Dt $out/share/fonts/woff2/ web/woff2/*.woff2
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
'';

meta = with lib; {