Commit Graph

84 Commits

Author SHA1 Message Date
George
b1f74dd413
iosevka: 5.0.2 -> 7.0.4, iosevka-bin: 5.0.5 -> 7.0.4 (#126664)
* iosevka: 5.0.2 -> 7.0.4

* iosevka-bin: 5.0.5 -> 7.0.4
2021-06-13 05:58:28 -04:00
R. RyanTM
1a190edeaf iosevka-bin: 5.0.4 -> 5.0.5 2021-03-11 00:15:57 +00:00
R. RyanTM
f7ac876464 iosevka-bin: 5.0.3 -> 5.0.4 2021-02-28 14:09:34 +00:00
R. RyanTM
3027cda030 iosevka-bin: 5.0.2 -> 5.0.3 2021-02-23 05:04:53 +00:00
Sandro Jäckel
07bf41c171
iosevka: remove unused inputs 2021-02-18 02:21:11 +01:00
Riley Inman
52f11bfcda iosevka-bin: 4.5.0 -> 5.0.2 2021-02-17 13:53:59 -05:00
Riley Inman
21a6759463 iosevka: 3.7.1 -> 4.5.0, revise build plan system 2021-02-11 20:15:20 -08:00
R. RyanTM
c44765536d iosevka-bin: 4.4.0 -> 4.5.0 2021-01-19 01:02:48 +00:00
R. RyanTM
c94c8b3be5 iosevka-bin: 4.3.0 -> 4.4.0 2021-01-14 12:06:37 +00: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
R. RyanTM
5e2e809e96 iosevka-bin: 4.2.0 -> 4.3.0 2021-01-04 09:43:54 +00: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
R. RyanTM
9d8b218d00 iosevka-bin: 4.0.2 -> 4.0.3 2020-12-13 03:05:23 +00:00
R. RyanTM
c281128a95 iosevka-bin: 4.0.0 -> 4.0.2 2020-12-07 20:37:17 +00:00
R. RyanTM
5f35ce44e4 iosevka-bin: 3.7.1 -> 4.0.0 2020-11-30 22:56:13 +00: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
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
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
R. RyanTM
bd5b6cb3b7 iosevka-bin: 3.4.1 -> 3.4.6 2020-08-25 18:14:02 +00:00
Martin Weinelt
99c6768ecb
Merge pull request #95184 from seylerius/master
iosevka: unify output directory with other fonts
2020-08-15 03:00:57 +02:00
R. RyanTM
42bf6d5c2e iosevka-bin: 3.3.1 -> 3.4.1 2020-08-14 00:06:27 +00:00
seylerius
6508e30050
iosevka-bin: unify output dir with other fonts 2020-08-11 05:27:37 -05:00
seylerius
b4cff6b475
iosevka: unify output directory with other fonts 2020-08-11 04:52:53 -05:00
Will Dietz
2b58f47bd0
iosevka-bin: 3.2.2 -> 3.3.1
https://github.com/be5invis/Iosevka/releases/tag/v3.3.1
2020-07-29 00:08:44 -05:00
Riley Inman
26d56baf0e iosevka: 2.3.3 -> 3.2.2 2020-07-05 10:54:27 -04:00
Riley Inman
f9a94f989d iosevka-bin: 2.3.3 -> 3.2.2 2020-07-05 10:05:47 -04:00
Michael Reilly
e20f308b8e treewide: quoted urls for RFC45, only the rebuilds 2020-04-05 10:17:15 -04:00
Riley Inman
1f4d7a71a8 iosevka: disable update check in build 2020-02-20 04:53:55 -05:00
Cole Helbling
e718c3a685
iosevka: don't show build progress
The node progress "bar" looks like crap when using `nix-build`. Redirect
the infinite scrolling screen to `/dev/null` to calm the output down.
Errors will still print because stderr isn't redirected.
2020-02-16 23:45:35 -08:00
Vincent Bernat
83053c85f4 iosevka: 2.3.2 -> 2.3.3 2019-12-28 16:50:53 +01:00
R. RyanTM
6852fee386 iosevka-bin: 2.3.2 -> 2.3.3 2019-11-25 18:05:58 -08:00
Bastien Riviere
a9e88bb2e9 iosevka: 2.3.0 -> 2.3.2
This commit include:
- update iosevka version
- fix extraParameters, was not able to inject all needed settings
- format file
- update package.json
2019-10-26 22:26:01 +02:00
R. RyanTM
417834eb7a iosevka-bin: 2.3.0 -> 2.3.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/iosevka-bin/versions
2019-10-21 11:45:35 -07:00
Riley Inman
dd2f026780 iosevka: Add comment to document privateBuildPlan 2019-09-24 10:34:17 -04:00
Riley Inman
c847da5b8b iosevka: Fix rev typo, link node_modules instead of copy 2019-09-23 15:08:54 -04:00
Riley Inman
64accf2edf iosevka: Merge node dependencies into nodePackages 2019-09-23 02:03:10 -04:00
Riley Inman
0ef7d0d908 iosevka: Declare version in mkDerivation 2019-09-22 14:10:04 -04:00
Riley Inman
e1ace0f772 iosevka: Add self as maintainer 2019-09-22 14:07:10 -04:00
Riley Inman
8bfb67929d iosevka: Append extraParameters instead of overwriting 2019-09-22 14:04:58 -04:00
Riley Inman
98a7d7990e iosevka: Simplify custom build process
Although hopefully this can eventually be added to nodePackages, it uses
some devDependencies to build custom fonts. Node2nix doesn't currently
support enabling devDependencies for a single package.

- Got rid of redundant let-in statements.
- node-packages.json now only pulls in Iosevka.
- generate.sh
  * Uses a nix-shell shebang to ensure it builds using the current
    version of node2nix (the old version caused some issues due to the
    19.03 release version being 1.6.0 instead of 1.7.0).
  * Builds in development mode to fix the devDependencies issue.
- Use the tree of the built node package as sourceRoot instead of
  installing node dependencies manually. This means the source will have
  to be updated in both node-packages.json and default.nix, but to make
  things easier the derivation inherits the version number.
- Disparate build options now all live under privateBuildPlan, which is
  converted first with builtins.toJSON and then to TOML using remarshal
  (Unfortunately there is not currently a builtins.toTOML).
- Extra parameters can also be provided that will be converted to JSON
  then TOML. This will overwrite the default parameters.toml file.
2019-09-21 12:54:46 -04:00
babariviere
41b98797ae
iosevka: 1.4.3 -> 2.3.0
Use node2nix instead of reading package lock.
2019-09-15 19:36:10 +02:00
babariviere
659adfaf27
iosevka: 1.4.3 -> 2.3.0
Integrate new Iosevka build system.
Add an extra arguments to add custom parameters (for example to map ligatures).
2019-09-15 16:05:02 +02:00
Vladimír Čunát
4aad2947f8
Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
Tadeo Kondrak
346f49596b
iosevka-bin: 2.2.1 -> 2.3.0 2019-09-01 22:51:10 -06:00