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: c808f75c02c1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d3733053dd7f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 21, 2018

  1. Copy the full SHA
    f3b3b66 View commit details

Commits on Dec 24, 2018

  1. Merge pull request #52649 from leenaars/sourcesans

    source-sans-pro: 2.010 -> 2.040
    joachifm authored Dec 24, 2018
    Copy the full SHA
    d373305 View commit details
Showing with 7 additions and 5 deletions.
  1. +7 −5 pkgs/data/fonts/source-sans-pro/default.nix
12 changes: 7 additions & 5 deletions pkgs/data/fonts/source-sans-pro/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{ stdenv, fetchzip }:

fetchzip {
name = "source-sans-pro-2.010";
name = "source-sans-pro-2.040";

url = "https://github.com/adobe-fonts/source-sans-pro/archive/2.010R-ro/1.065R-it.zip";
url = "https://github.com/adobe-fonts/source-sans-pro/releases/download/2.040R-ro%2F1.090R-it/source-sans-pro-2.040R-ro-1.090R-it.zip";

postFetch = ''
mkdir -p $out/share/fonts/opentype
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
mkdir -p $out/share/fonts/opentype $out/share/fonts/truetype $out/share/fonts/variable
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
'';

sha256 = "17rgkh54arybmcdg750ynw32x2sps7p9vrvq9kpih8vdghwrh9k2";
sha256 = "1n7z9xpxls74xxjsa61df1ln86y063m07w1f4sbxpjaa0frim4pp";

meta = with stdenv.lib; {
homepage = https://sourceforge.net/adobe/sourcesans;