Commit graph

46 commits

Author SHA1 Message Date
Sandro Jäckel 07bf41c171
iosevka: remove unused inputs 2021-02-18 02:21:11 +01:00
Riley Inman 21a6759463 iosevka: 3.7.1 -> 4.5.0, revise build plan system 2021-02-11 20:15:20 -08: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
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
seylerius b4cff6b475
iosevka: unify output directory with other fonts 2020-08-11 04:52:53 -05:00
Riley Inman 26d56baf0e iosevka: 2.3.3 -> 3.2.2 2020-07-05 10:54:27 -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
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
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
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00: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
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