summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-28 00:08:36 +0100
committerGitHub <noreply@github.com>2021-01-28 00:08:36 +0100
commitbd90b97d431de7c49bfde0a4f973e53cab7b6ef0 (patch)
tree76c23515bfa0ae00b6d38b7be629c265bab44558
parent90d22ffa01a0e2282f837a9b3f608f04a2704cd5 (diff)
parent605f8ab4bf33fb7805a1cb5e1abf2fd12eda5149 (diff)
Merge pull request #110027 from tu-maurice/google-fonts-2021-01-19
google-fonts: 2019-07-14 -> unstable-2021-01-19
-rw-r--r--pkgs/data/fonts/google-fonts/default.nix25
1 files changed, 9 insertions, 16 deletions
diff --git a/pkgs/data/fonts/google-fonts/default.nix b/pkgs/data/fonts/google-fonts/default.nix
index 0fac2a67bb8a..210902a0e71e 100644
--- a/pkgs/data/fonts/google-fonts/default.nix
+++ b/pkgs/data/fonts/google-fonts/default.nix
@@ -1,16 +1,18 @@
-{ lib, stdenv, fetchFromGitHub }:
+{ lib
+, stdenv
+, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "google-fonts";
- version = "2019-07-14";
+ version = "unstable-2021-01-19";
outputs = [ "out" "adobeBlank" ];
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
- rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
- sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
+ rev = "a3a831f0fe44cd58465c6937ea06873728f2ba0d";
+ sha256 = "19abx2bj7mkysv2ihr43m3kpyf6kv6v2qjlm1skxc82rb72xqhix";
};
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
@@ -21,18 +23,9 @@ stdenv.mkDerivation {
# directories. This causes non-determinism in the install since
# the installation order of font files with the same name is not
# fixed.
- rm -rv ofl/alefhebrew \
- ofl/misssaintdelafield \
- ofl/mrbedford \
- 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
+ rm -rv ofl/cabincondensed \
+ ofl/signikanegative \
+ ofl/signikanegativesc
if find . -name "*.ttf" | sed 's|.*/||' | sort | uniq -c | sort -n | grep -v '^.*1 '; then
echo "error: duplicate font names"