Commit Graph

1264 Commits

Author SHA1 Message Date
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
midchildan
a29fcc1c10
fira-code: only extract the variable font
Fira Code includes a variable font[1] file that packs all the variants
in a single file. Including both variable and non-variable fonts would
be redundant and cause the system to list the same font twice.

[1]: https://en.wikipedia.org/wiki/Variable_fonts
2021-01-10 09:25:40 +01:00
R. RyanTM
5e2e809e96 iosevka-bin: 4.2.0 -> 4.3.0 2021-01-04 09:43:54 +00:00
Robert Helgesson
a9e7aa9329 unifont_upper: 13.0.04 -> 13.0.05 2021-01-01 12:01:59 +01:00
Robert Helgesson
63476e2b73 unifont: 13.0.04 -> 13.0.05 2021-01-01 12:01:59 +01:00
Sandro
b1e4174583
Merge pull request #107745 from bbigras/meslolgs-nf
meslo-lgs-nf: init at git-2020-03-22
2020-12-29 00:28:46 +01:00
Mario Rodas
1e912ad91e jetbrains-mono: 2.210 -> 2.221
https://github.com/JetBrains/JetBrainsMono/releases/tag/v2.221
2020-12-28 09:46:00 -05:00
Bruno Bigras
4e9e2ed1a6 meslo-lgs-nf: init at 2020-03-22
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2020-12-27 13:44:25 -05:00
R. RyanTM
11cb6a89d5 iosevka-bin: 4.1.1 -> 4.2.0 2020-12-27 12:30:23 +00:00
R. RyanTM
30a21ff224 iosevka-bin: 4.0.3 -> 4.1.1 2020-12-22 10:31:56 +00:00
Mario Rodas
42cb24cec2
stix-two: 2.0.2 -> 2.10
PR #107235
2020-12-20 12:21:17 +01:00
Mario Rodas
590b928dda
Merge pull request #106801 from r-ryantm/auto-update/iosevka-bin
iosevka-bin: 4.0.2 -> 4.0.3
2020-12-13 15:59:02 -05:00
R. RyanTM
9d8b218d00 iosevka-bin: 4.0.2 -> 4.0.3 2020-12-13 03:05:23 +00:00
Mario Rodas
ef3f1f80e7 recursive: 1.064 -> 1.069 2020-12-12 04:20:00 +00:00
R. RyanTM
c281128a95 iosevka-bin: 4.0.0 -> 4.0.2 2020-12-07 20:37:17 +00:00
sternenseemann
83a901b898 unifont_upper: 12.1.03 -> 13.0.04 2020-12-01 19:31:06 +01:00
R. RyanTM
5f35ce44e4 iosevka-bin: 3.7.1 -> 4.0.0 2020-11-30 22:56:13 +00:00
Sandro
ba83811b7d
Merge pull request #105177 from r-ryantm/auto-update/inter
inter: 3.11 -> 3.15
2020-11-27 23:58:10 +01:00
R. RyanTM
e007728c92 agave: 30 -> 35 2020-11-27 21:33:29 +00:00
R. RyanTM
00aabed73c inter: 3.11 -> 3.15 2020-11-27 21:27:37 +00:00
Sandro
1d8c28b3ff
Merge pull request #103795 from Jiehong/feature/update_tw
ttf-tw-moe: no_version -> 2020-11-14
2020-11-26 01:45:49 +01:00
Christian Kampka
ebff09994a
unifont: 13.0.01 -> 13.0.04 2020-11-25 20:25:33 +01:00
Vincent Bernat
3725f9ed9b iosevka: update location of parameters.toml
Since version 3.1.0, it has been moved to `params/parameters.toml`. Note
that an alternative to appending would be to use
`params/private-parameters.toml` but in our case, I don't think it
matters much as we don't keep the build directory.
2020-11-25 10:12:05 +01:00
Jan Tojnar
3f17975544
Merge pull request #103779 from alexameen/fix_google_fonts_adobe_blank 2020-11-23 07:38:20 +01:00
Vincent Laporte
b94a294363 scheherazade-new: init at 3.000 2020-11-15 09:33:45 +01:00
alexameen
c39f407553 Made AdobeBlank-Regular.ttf available with google-fonts.adobeBlank 2020-11-14 19:39:55 -06:00
Jiehong Ma
a5e2e4caa6 ttf-tw-moe: no_verion -> 2020-11-14 2020-11-14 11:09:17 +01:00
alexameen
95bbf889f7 Remove AdobeBlank-Regular.ttf from google-fonts package
modified:   default.nix
2020-11-14 01:26:40 -06:00
Peter Hoeg
999e24d247 vista-fonts: new sha256 2020-11-11 21:26:31 +08:00
Mario Rodas
e42eadcd16 jetbrains-mono: 2.200 -> 2.210
https://github.com/JetBrains/JetBrainsMono/releases/tag/v2.210
2020-11-09 04:20:00 +00:00
Robert Hensing
97e3346fbd
Merge pull request #99955 from Jiehong/feature/new_font
ttf-tw-moe: first version
2020-11-05 12:37:30 +01:00
Aluísio Augusto Silva Gonçalves
1ade372bf8
iosevka: add AluisioASG as maintainer 2020-11-04 07:47:30 -03:00
Aluísio Augusto Silva Gonçalves
08fd340b1e
iosevka: remove dependency on otfcc
As of Iosevka 3.7.0, otfcc is no longer used.  I haven't checked if
the situation has changed since [2017] but this should make Iosevka
available on aarch64-linux and *-darwin.

[2017]: https://github.com/NixOS/nixpkgs/pull/31835#issuecomment-347048242
2020-11-04 07:47:29 -03:00
Aluísio Augusto Silva Gonçalves
26ce7f2607
iosevka: add update script
As outlined in the previous commit, we just need to update the source
URL in node-packages.json, and wait for node-packages.nix to be rebuilt
from it.
2020-11-04 07:47:29 -03:00
Aluísio Augusto Silva Gonçalves
e6bc641ef4
iosevka: 3.2.2 -> 3.7.1; fetch source through nodePackages
Previously we used nodePackages only to fetch Iosevka's build
dependencies and then fetched the source code ourselves.  Updates
involved changing the version and hashes in the `iosevka` derivation and
then running node-packages/generate.sh to update the build dependencies,
which in turns updates *all* of node-packages.nix.

A new proposed policy for handling node-packages.nix updates involves
batching those updates.  Previously, that would mean `iosevka` and its
build dependencies could end up out of sync until the batched update was
run.

To work with the new policy, we now fetch Iosevka's source code (and
not only its dependencies) through nodePackages.  Updates are done by
changing the source URL in node-packages.json, which eventually becomes
part of an update of node-packages.nix, which is then propagated to
`iosevka` itself.

One con of this strategy is that errors can not be caught directly
after the update, but only after node-packages.nix is regenerated.
2020-11-04 07:47:29 -03:00
Aluísio Augusto Silva Gonçalves
e237f23b6a
iosevka-bin: move update script
Move bin.nix's update script to update-bin.sh so it doesn't conflict
with default.nix's update script.
2020-11-04 07:47:29 -03:00
Aluísio Augusto Silva Gonçalves
988f0cf3c5
iosevka-bin: Use iosevka's meta
The two packages have the same metadata, except for the maintainers.
2020-11-04 07:47:28 -03:00
Mario Rodas
322aaa9b19 fraunces: init at 1.000 2020-10-29 04:20:00 +00:00
Mario Rodas
4f5156fdb9
Merge pull request #100746 from dtzWill/update/agave-30
agave: 22 -> 30
2020-11-02 18:35:54 -05:00
Mario Rodas
dbc3eda9d9 sudo-font: 0.51 -> 0.52 2020-11-01 04:20:00 +00:00
V
d3025ee8c6 iosevka-bin: add support for variants
This adds the ability to select a specific prebuilt variant. It also adds
an updater script for generating their hashes. Additionally, switching
to TTC files reduces the package size by an order of magnitude.

Example usage:

	fonts.fonts = with pkgs; [
	  (iosevka-bin.override { variant = "ss10"; })
	  (iosevka-bin.override { variant = "sparkle"; })
	  (iosevka-bin.override { variant = "aile"; })
	];
2020-10-30 21:19:20 +01:00
Ben Siraphob
db74029e3e treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
Alexander Bich
6078bad045 open-sans: fix revision
Remove URL encoding of revision, it results in double encoding.
2020-10-24 22:05:32 +03:00
Rok Garbas
d5ebdf57c8
Merge pull request #101390 from garbas/fix-juliamono
julia-mono: update sha256
2020-10-22 18:57:26 +02:00
Rok Garbas
92cb4e843c
julia-mono: update sha256 2020-10-22 17:33:29 +02:00
Jan Tojnar
03c64130bb
Merge pull request #94892 from toonn/font-joypixels-emoji 2020-10-22 10:21:25 +02:00
Jan Tojnar
5902a08028
joypixels: run install hooks
Also clean up formatting.
2020-10-22 03:32:45 +02:00
toonn
196c828153
joypixels: Use updated font for macOS
After some back and forth with JoyPixels they agreed to creating a
version of their font for macOS that does not use the exact same name as
the Apple Color Emoji default font.

This naming collision meant it was impossible to configure applications
to use the JoyPixels emoji font unless you disabled the Apple Color
Emoji font using Font Book. Which meant the JoyPixels font could either
replace the Apple Color Emoji font completely or only fill in the gaps
in that font (on my system "hot face" isn't in the system font) but not
be used entirely for specific apps or be used with the system font as a
back up.
2020-10-22 03:32:45 +02:00
toonn
fd653b992a
joypixels: Move assert to allow override
By moving the assert concerning license acceptance into the src
attribute license acceptance can be expressed with an override,
`joypixels.override { acceptLicense = true; }`.
2020-10-22 03:32:44 +02:00
toonn
ca61c67381
joypixels: Drop dash from nixos endpoint url
The url was changed on request.
2020-10-22 03:32:44 +02:00