Commit Graph

26 Commits

Author SHA1 Message Date
NullBite
c3933fdc40
google-fonts: fix font name format
When specifying a list of fonts to install, the google-fonts package
would previously only search for fonts with the formats `$font-*.ttf`
and `$font[*.ttf`. However, certain fonts in the Google fonts repository
do not follow this naming scheme (e.g., Nova Square;
ofl/novasquare/NovaSquare.ttf). I have added `$font.ttf` as a format.

I have also optimized the build script so it does not make multiple calls
to `find`.
2024-02-05 11:26:25 +01:00
nicoo
feb7cafb3c google-fonts: Automatically drop to-be-delisted fonts in postPatch 2023-10-23 20:01:49 +00:00
nicoo
86231c7ebc google-fonts: set meta.sourceProvenance 2023-10-23 19:39:27 +00:00
nicoo
c42b4f3ba5 google-fonts: unstable-2022-11-14 → unstable-2023-10-20 2023-10-23 19:39:26 +00:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
laalsaas
c3f650c367
google-fonts: add font selection parameter (#201556)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-11-18 02:35:37 +01:00
tilcreator
2b8f96558f google-fonts: unstable-2021-06-12 -> unstable-2022-02-26 2022-03-01 20:57:42 +01:00
06kellyjac
77a7b33804 google-fonts: unstable-2021-01-19 -> unstable-2021-06-12
Also move to `stdenvNoCC` to reduce rebuilds
2021-06-14 11:50:23 +01:00
tu-maurice
605f8ab4bf google-fonts: 2019-07-14 -> unstable-2021-01-19 2021-01-19 23:00:48 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
alexameen
c39f407553 Made AdobeBlank-Regular.ttf available with google-fonts.adobeBlank 2020-11-14 19:39:55 -06:00
alexameen
95bbf889f7 Remove AdobeBlank-Regular.ttf from google-fonts package
modified:   default.nix
2020-11-14 01:26:40 -06:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Katharina Fey
64cc2f9ee9
google-fonts: Removing fixed-output derivation 2019-07-14 22:45:54 +01:00
Katharina Fey
38bd8d3185
google-fonts: 2018-07-13 -> 2019-07-14 2019-07-14 22:45:44 +01:00
Hamish Mackenzie
9cc3aaa676 google-fonts: Fix macOS argument list limit issue 2018-10-29 13:29:07 +13:00
Will Dietz
9991a755ed google-fonts: 2017-06-28 -> 2018-07-13 2018-07-21 00:15:50 -05:00
sternenseemann
08ef46892c google-fonts: 2016-08-30 -> 2017-06-28 2017-07-12 18:17:42 +02:00
Eelco Dolstra
2c2b6ae455 google-fonts: Add a check to ensure that there are no duplicate font names
Issue #20282.
2016-11-14 17:35:35 +01:00
c74d
44b932316b google-fonts: Fix typos in homepage, description
In the `meta`data for the `google-fonts` package --

  - the `homepage` field was set to the URL
    <https://www.google.com/fontsl>, which would appear to be a
    misspelt version of <https://www.google.com/fonts>, which now
    redirects to <https://fonts.google.com>.

  - the `description` field referred to Google Fonts as "Google Font".

This patch corrects these errors, and updates the `homepage` URL.
2016-10-29 19:59:59 +00:00
cmfwyp
c015c29106
google-fonts: 2015-11-18 -> 2016-08-30 2016-09-24 00:39:35 -04:00
Eelco Dolstra
1681718e2f google-fonts: Turn into a fixed-output derivation
Also remove the executable bit from some fonts, and don't build on
Hydra because this package is huge.
2016-07-20 11:55:46 +02:00
Eelco Dolstra
aea262f654 Fix misspelled meta.maintainers attributes 2016-02-10 14:59:50 +01:00
Michael Fellinger
08c6a2cd92 google-fonts: init at 2015-11-18 2015-11-18 12:19:37 +01:00