google-fonts: 2018-07-13 -> 2019-07-14

This commit is contained in:
Katharina Fey 2019-07-14 22:45:44 +01:00
parent 54cbf55543
commit 38bd8d3185
No known key found for this signature in database
GPG Key ID: F972AEEA2887D547

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "google-fonts-${version}";
version = "2018-07-13";
version = "2019-07-14";
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
rev = "3ca591dae7372a26e254ec6d22e7b453813b9530";
sha256 = "01ak3dzw2kihwa0dy27x8vvpiscd66mnkf61vj1xn29m4g48y0lr";
rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
};
outputHashAlgo = "sha256";
@ -29,6 +29,13 @@ stdenv.mkDerivation rec {
ofl/siamreap \
ofl/terminaldosislight
# See comment above, the structure of these is a bit odd
# We keep the ofl/<font>/static/ variants
rm -rv ofl/comfortaa/*.ttf \
ofl/mavenpro/*.ttf \
ofl/muli/*.ttf \
ofl/oswald/*.ttf
if find . -name "*.ttf" | sed 's|.*/||' | sort | uniq -c | sort -n | grep -v '^.*1 '; then
echo "error: duplicate font names"
exit 1