Commit Graph

130 Commits

Author SHA1 Message Date
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
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Will Dietz
32bf4cf9c9 iosevka-bin: 2.2.0 -> 2.2.1
https://github.com/be5invis/Iosevka/releases/tag/v2.2.1
2019-04-27 07:32:48 +02:00
Will Dietz
c950db7e61 iosevka-bin: 2.1.0 -> 2.2.0
https://github.com/be5invis/Iosevka/releases/tag/v2.2.0
2019-03-09 18:45:00 -06:00
Will Dietz
b45b49a197 iosevka-bin: 2.0.2 -> 2.1.0
https://github.com/be5invis/Iosevka/releases/tag/v2.1.0
2019-02-04 01:54:20 -06:00
Mario Rodas
38ca0c674d iosevka: 2.0.1 -> 2.0.2 2019-01-01 17:54:45 -05:00
Will Dietz
03d4b5aeb3 iosevka-bin: 2.0.0 -> 2.0.1 2018-10-05 22:29:03 -05:00
Will Dietz
e18d57f0e2 iosevka-bin: 1.14.3 -> 2.0.0 (#45407)
"iosevka" needs some work to update to 2.0.0
(config file must be used instead of arguments to make)
but don't know that the two necessarily need to be at the same version.

Also I "think" that using the 'ttc' zip is the equivalent of what
was previously the "pack" but noting this here since haven't found
this documented elsewhere and am not entirely sure.
2018-08-21 19:05:58 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Vladyslav Mykhailichenko
e44659509f iosevka-bin: 1.14.0 -> 1.14.3 2018-05-18 11:46:25 +03:00
Vladyslav Mykhailichenko
e63bc58d7b iosevka: 1.14.2 -> 1.14.3 2018-05-18 11:45:25 +03:00
R. RyanTM
51c13292bd iosevka: 1.14.1 -> 1.14.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/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.14.2 with grep in /nix/store/57g5hfljvvnlp3pzvvg16rxp8izrdh7q-iosevka-1.14.2
- directory tree listing: https://gist.github.com/36df1a4bd1bda5184b07e7bbd902e1b4
2018-05-03 01:04:15 +02:00
Ryan Mulligan
0373079efc iosevka: 1.14.0 -> 1.14.1
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.14.1 with grep in /nix/store/96pxdcrjsqsw3wy79kqpjj1lwwndq62j-iosevka-1.14.1
- found 1.14.1 in filename of file in /nix/store/96pxdcrjsqsw3wy79kqpjj1lwwndq62j-iosevka-1.14.1
2018-03-08 20:05:47 -08:00
dywedir
a83d7a1b79 iosevka: 1.13.3 -> 1.14.0 2018-02-12 10:48:36 +02:00
dywedir
d668e8ee4b iosevka-bin: 1.13.3 -> 1.14.0 2018-02-12 10:48:26 +02:00
Thomas Tuegel
bbdbbc6766
iosevka-bin: init at 1.13.3
The former fetch-only expression is re-added as iosevka-bin to support platforms
without otfcc where Iosevka cannot be built.

See also: #31835
2017-11-27 08:22:48 -06:00
Orivej Desh
f557844c08 iosevka: do not depend on Qt to build 2017-11-27 01:01:54 +00:00
Orivej Desh
37056c3724 iosevka: enable parallel building 2017-11-27 00:49:48 +00:00
Thomas Tuegel
ba9cf1f823
iosevka: accept custom build options 2017-11-20 11:07:06 -06:00
Thomas Tuegel
0a6b3492ee
iosevka: add ttuegel to maintainers 2017-11-20 11:07:06 -06:00
Thomas Tuegel
1d89647433
iosevka: build from source
The Iosevka builder requires Node 8, which is not supported by node2nix yet; the
included package-lock.json is processed in Nix to install the required
dependencies offline.
2017-11-20 11:07:06 -06:00
Winnie Quinn
9c3fd150a2 iosevka: 1.13.1 -> 1.13.3 2017-08-27 20:49:31 +02:00
Frederik Rietdijk
13bbaee21d Merge pull request #27881 from mimadrid/fix/http-https
Update homepage attributes: http -> https
2017-08-13 21:53:20 +02:00
volth
44b3f9151a iosevka: make the font derivation fixed-output
- [x] make the font derivation fixed-output (https://github.com/NixOS/nixpkgs/issues/27754)
2017-08-11 15:24:30 +02:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Johannes Frankenau
565e2b571b iosevka: 1.13.0 -> 1.13.1 2017-07-06 17:13:12 +02:00
Winnie Quinn
f5edcbde8f iosevka: 1.12.5 -> 1.13.0 2017-06-03 19:04:40 -04:00
Winnie Quinn
1ff676526c iosevka: 1.12.1 -> 1.12.5 2017-04-16 13:22:56 -04:00
zimbatm
1bf690c1bb iosevka: 1.11.4 -> 1.12.1 (#24527)
iosevka: 1.11.4 -> 1.12.1
2017-04-03 18:30:49 +01:00
Winnie Quinn
7dccfd49aa iosevka: 1.4.2 -> 1.11.4
1.11.4 contains numerous improvements including ligatures and fixes to
font weights.

I switched "default.nix" from using `fetchFromGitHub` to simply pulling
down the release as a zip via `fetchurl`. This seems like the best
approach given that the repositoriy no longer contains font files and
the alternative would be to build them from scratch.
2017-03-18 17:40:38 -04:00
Michiel Leenaars
abd90135ac iosevka: minor cleanup 2016-07-04 19:47:29 +02:00
Eric Sagnes
d6f631f52b iosevka: 1.0-beta9 -> 1.4.2 2015-12-17 18:26:57 +09:00
Charles Strahan
b2409581f8 iosevka: init at 1.0-beta9
A slender monospace sans-serif and slab-serif typeface.
2015-11-23 19:52:52 -05:00