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: 903a0cac04a1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7546f2d189a9
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 18, 2020

  1. barlow: init at 1.422

    marsam committed Jul 18, 2020
    Copy the full SHA
    f1d5d21 View commit details

Commits on Jul 19, 2020

  1. Merge pull request #93442 from marsam/init-barlow

    barlow: init at 1.422
    marsam authored Jul 19, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7546f2d View commit details
Showing with 30 additions and 0 deletions.
  1. +28 −0 pkgs/data/fonts/barlow/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
28 changes: 28 additions & 0 deletions pkgs/data/fonts/barlow/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib, fetchzip }:
let
version = "1.422";
in
fetchzip rec {
name = "barlow-${version}";

url = "https://tribby.com/fonts/barlow/download/barlow-${version}.zip";

sha256 = "08ld4c3zq4d1px07lc64i7l8848zsc61ddy3654w2sh0hx5sm5ld";

postFetch = ''
mkdir -p $out/share/fonts/
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.eot -d $out/share/fonts/eot
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
'';

meta = with lib; {
description = "A grotesk variable font superfamily";
homepage = "https://tribby.com/fonts/barlow/";
license = licenses.ofl;
maintainers = [ maintainers.marsam ];
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -18103,6 +18103,8 @@ in

bakoma_ttf = callPackage ../data/fonts/bakoma-ttf { };

barlow = callPackage ../data/fonts/barlow { };

bgnet = callPackage ../data/documentation/bgnet { };

bibata-cursors = callPackage ../data/icons/bibata-cursors { };