Commit Graph

183 Commits

Author SHA1 Message Date
lunik1
08d6f00328
iosevka: format with nixpkgs-fmt 2023-01-30 13:34:37 +00:00
lunik1
d90de5e19b
iosevka: update homepage and description 2023-01-30 13:34:37 +00:00
lunik1
0bc340117a
iosevka: use buildNpmPackage 2023-01-30 13:34:36 +00:00
R. Ryantm
2464181f1a iosevka-bin: 17.0.4 -> 17.1.0 2023-01-25 21:07:42 +00:00
R. Ryantm
35d1b35442 iosevka-bin: 17.0.2 -> 17.0.4 2023-01-16 02:56:27 +00:00
R. Ryantm
54f1ef62b9 iosevka-bin: 16.8.2 -> 17.0.2 2023-01-03 10:24:10 +08:00
Chris Montgomery
799eba97dd
iosevka-bin: 16.7.0 -> 16.8.2 2022-12-18 20:51:09 -05:00
R. Ryantm
c737ee25f3 iosevka-bin: 16.4.0 -> 16.7.0 2022-12-16 17:27:40 +08:00
Chris Montgomery
4cb7fffa6e
iosevka-bin: add @montchr as maintainer 2022-11-21 00:19:44 -05:00
Chris Montgomery
2d5805c332
iosevka-bin: 16.3.6 -> 16.4.0 2022-11-21 00:19:24 -05:00
R. Ryantm
d168b8cf2f iosevka-bin: 16.0.0 -> 16.3.6 2022-10-31 00:11:30 +00:00
Damien Cassou
d1a518c1d3
iosevka-comfy: 1.0.0 -> 1.1.1 2022-10-24 08:46:01 +02:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Damien Cassou
e7b76b9153
iosevka-comfy: Add missing variants 2022-09-16 10:14:33 +02:00
Damien Cassou
cd455767b0
iosevka-comfy: 0.4.0 -> 1.0.0 2022-09-16 10:14:33 +02:00
Damien Cassou
fdf6326758
iosevka-comfy: Sort and comment variants 2022-09-16 10:14:33 +02:00
Damien Cassou
dd76912be8
iosevka-comfy: Rephrase description
Use the description provided by the website.
2022-09-16 10:12:04 +02:00
Daniel Nagy
bcf086196c
iosevka-comfy: 0.3.1 -> 0.4.0 2022-09-03 10:31:12 +02:00
R. Ryantm
4c55439a36 iosevka-bin: 15.6.3 -> 16.0.0 2022-08-21 13:59:01 +00:00
Winter
83519fe976 iosevka: fix build 2022-08-13 23:21:16 -04:00
Otavio Salvador
433dcfc215 iosevka-bin: 15.6.1 -> 15.6.3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-08-09 15:54:48 -03:00
Otavio Salvador
4cbdad20ee iosevka: 15.5.2 -> 15.6.3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-08-09 15:54:14 -03:00
Daniel Nagy
8fd867f047
iosevka-comfy: 0.2.1 > 0.3.1 2022-08-03 16:36:37 +02:00
Daniel Nagy
b49b6daedf
iosevka-comfy: Simplify calling of package 2022-08-03 16:36:37 +02:00
Daniel Nagy
b588a78e85
iosevka-comfy: use fetchFromGitHub 2022-08-03 16:36:37 +02:00
Daniel Nagy
d51f8eeca9
iosevka: Allow privateBuildPlan to be a path 2022-08-03 16:36:36 +02:00
R. Ryantm
c4d6c900f4 iosevka-bin: 15.6.0 -> 15.6.1 2022-07-24 03:50:28 +00:00
R. Ryantm
4a9a8d6425 iosevka-bin: 15.5.2 -> 15.6.0 2022-07-17 04:14:23 +00:00
Damien Cassou
28fe657e1f
Merge pull request #179839 from DamienCassou/update-iosevka-comfy 2022-07-14 20:21:41 +02:00
Damien Cassou
bae6a92d4f
iosevka-comfy: 0.1.0 -> 0.2.1 2022-07-01 22:00:00 +02:00
Damien Cassou
023a9bf29b
iosevka-comfy: Add passthru.updateScript 2022-07-01 21:59:27 +02:00
Damien Cassou
2833461e23
iosevka-bin: 15.3.0 -> 15.5.2 2022-07-01 21:03:18 +02:00
Damien Cassou
c9c10940da
iosevka: Fix build phase not to print progress messages
My commit below removed a `> /dev/null` from fonts/iosevka/default.nix
by mistake.

  89d24b58b2
  Author:      Damien Cassou <damien@cassou.me>
  AuthorDate:  Mon Jun 6 18:26:06 2022 +0200

  iosevka-comfy: init at 0.1.0
2022-06-28 08:11:16 +02:00
Damien Cassou
89d24b58b2
iosevka-comfy: init at 0.1.0 2022-06-27 21:53:09 +02:00
lunik1
1935db3988 iosevka: set home directory in build phase
npm now fails if $HOME is not set, see #176127
2022-06-05 18:50:59 -04:00
R. Ryantm
3ecfee92ed iosevka-bin: 15.2.0 -> 15.3.0 2022-05-08 04:35:49 +00:00
R. Ryantm
c12f28a1b7 iosevka-bin: 15.1.0 -> 15.2.0 2022-04-30 06:02:36 +00:00
R. Ryantm
2469dc49d8 iosevka-bin: 15.0.1 -> 15.1.0 2022-04-29 09:16:08 -05:00
Stephane Raux
5eae254161
iosevka-bin: Fix meta attributes
Joining the entire `iosevka.meta` set seemed to cause some attributes to
not be set as expected. For example `iosevka-bin.meta.name` was
`iosevka-14.0.1` instead of `iosevka-bin-10.1.0`, and
`iosevka-bin.meta.position` also pointed to `iosevka/default.nix`
instead of `iosevka/bin.nix`.
2022-04-15 09:56:03 +02:00
Will Dietz
0d651072c3
iosevka-bin: 10.1.0 -> 15.0.1 (#162244)
(used ./update-bin.sh)
2022-03-07 13:11:01 -06:00
José Romildo
ba59355e81 gitUpdater: init
- Add the 'gitUpdater' helper function to update git based packages, using the
'genericUpdater' function.
- Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts.
- Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
2022-02-21 13:01:49 -03:00
Victor Engmark
57b496ea98 misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
2021-11-14 16:04:46 +13:00
Ryan Mulligan
1adc2d218f
Merge pull request #135172 from r-ryantm/auto-update/iosevka-bin
iosevka-bin: 10.0.0 -> 10.1.0
2021-09-26 16:19:24 -07:00
Artturin
81d4455359 iosevka-bin: make it possible to use sgr-iosevka variants 2021-09-07 23:02:28 +03:00
R. RyanTM
4882648221 iosevka-bin: 10.0.0 -> 10.1.0 2021-08-22 03:36:04 +00:00
R. RyanTM
de23b40a2c iosevka-bin: 9.0.1 -> 10.0.0 2021-08-15 06:46:30 +00:00
R. RyanTM
cbe6469cd7 iosevka-bin: 8.0.2 -> 9.0.1 2021-08-02 06:15:45 +00:00
R. RyanTM
ff9da5fc98 iosevka-bin: 7.0.4 -> 8.0.2 2021-07-28 07:08:59 +00:00
Felix Buehler
29eec21d13 iosevka-bin: deprecate phases 2021-07-22 14:04:25 +02:00
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
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00