1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

barlow: init at 1.422

This commit is contained in:
Mario Rodas 2020-07-18 04:20:00 -05:00
parent cf059b32d9
commit f1d5d21271
No known key found for this signature in database
GPG key ID: 325649BCA6D53027
2 changed files with 30 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -18095,6 +18095,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 { };