Commit Graph

307720 Commits

Author SHA1 Message Date
Alexey Shmalko
1893e2be4d
fetchzip: add extension parameter
fetchzip downloads the file from specified URL, renames it to basename
of that url, and then relies on unzip to do the unpacking.

The first consequence is that this requires URL to end with proper
extension—otherwise it will fail to unpack. This is not always the
case and input-fonts workarounds this by adding “&.zip” query
parameter (which is obviously a hack and is not guaranteed to work
with every URL).

The second consequence is that basename of the url must be a valid
filename. I’ve tried to build a custom configuration of input-fonts
and I get an error from mv that the filename is too long:

> trying https://input.djr.com/build/?fontSelection=fourStyleFamily&regular=InputMonoNarrow-Regular&italic=InputMonoNarrow-Italic&bold=InputMonoNarrow-Bold&boldItalic=InputMonoNarrow-BoldItalic&a=0&g=0&i=topserif&l=serifs_round&zero=0&asterisk=height&braces=straight&preset=default&line-height=1.2&accept=I+do&email=&.zip
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100  406k  100  406k    0     0   230k      0  0:00:01  0:00:01 --:--:--  230k
> mv: failed to access '/build/?fontSelection=fourStyleFamily&regular=InputMonoNarrow-Regular&italic=InputMonoNarrow-Italic&bold=InputMonoNarrow-Bold&boldItalic=InputMonoNarrow-BoldItalic&a=0&g=0&i=topserif&l=serifs_round&zero=0&asterisk=height&braces=straight&preset=default&line-height=1.2&accept=I+do&email=&.zip': File name too long

We could use “name” parameter as the filename (that’s how it is used
in fetchurl). However, the previous attempt to do
so (fc01353703) was
reverted (24b5eb61eb) because of the
introduced regression—many fetchzip invocations use names without
extension (also the default name is just “source”).

This commit adds an optional “extension” parameter. If it is set,
fetchzip renames the downloaded file to “download.${extension}”
effectively solving both problems above without introducing a massive
regression.

This is a no-op for all existing packages.

Tested by updating my NixOS setup + the extra inputs-fonts
configuration mentioned above + tons of unstable emacs packages after
a nix-collect-garbage (3Gb downloaded) with this patch applied.
2021-08-10 19:57:08 +03:00
Pascal Bach
3f7771d65c unifi6: 6.2.25 -> 6.2.26 2021-08-09 23:28:07 +02:00
Pascal Bach
293026e7ca
Merge pull request #132991 from SuperSandro2000/gitstatus
Gitstatus
2021-08-09 23:24:59 +02:00
Pascal Bach
37d93c80c1
Merge pull request #133174 from symphorien/nagios-alias
nixos/tests/nagios.nix: fix eval
2021-08-09 23:22:55 +02:00
Bernardo Meurer
e62d2b750c
Merge pull request #113303 from midchildan/fix/smartmontools
smartmontools: drop mailutils dependency by default
2021-08-09 21:15:55 +00:00
Matthieu Coudron
9578494089
Merge pull request #132473 from teto/luarocks-pyupdater
Luarocks pyupdater
2021-08-09 22:49:10 +02:00
Artturi
c217152bc6
Merge pull request #133282 from r-ryantm/auto-update/fend
fend: 0.1.23 -> 0.1.24
2021-08-09 23:30:43 +03:00
Matthieu Coudron
b02c265190 luaPackages: update
Several updates
2021-08-09 21:38:32 +02:00
Matthieu Coudron
fa1dedee47 doc: updated lua doc
mentions lua 5.4 + fixed an error
2021-08-09 21:37:58 +02:00
Matthieu Coudron
560a4e4e08 update-luarocks-packages: use pluginupdate.py
Trying to reuse the update scripts used by kakoune/vim to provide the
user with an unified convergence. Some stuff doesn't work yet (parallel
download, caching) but I (anyone else welcome to try too) will improve
it in other PRs.
2021-08-09 21:37:56 +02:00
Félix Baylac-Jacqué
7b554c9477 nixosTests.pleroma: increase server memory size
The server VM machine is sometimes OOMing, making the test flaky.
Increasing the memory size to 512MB fixes the issue.
2021-08-09 21:30:42 +02:00
Félix Baylac-Jacqué
885ab9286e nixosTests.pleroma: increase certificate validity duration
Analogous to 6325d15e90.

The test certificate expiration date was set to the default 30 days.
This certificate is generated through its own derivation. As with
every derivation, it gets cached by cache.nixos.org once we build it.

In practice, we rebuild this derivation only if one of its input
changes. The only inputs here being openssl and stdenv.

While it's not an issue on the unstable branches, it can be
problematic on a stable release: the test will fail after 30 days.

Extending the certificate lifespan from 1 month to 100 years to prevent
it from getting expired while being cached.
2021-08-09 21:30:42 +02:00
Félix Baylac-Jacqué
817a0e1ab1 pleroma: 2.3.0 -> 2.4.0
Eblurhash has been released to hex, we do not need to manually fetch
it from a git repository anymore.

The rest of the diffs have been generated by mix2nix.

A minor bug in mix2nix forced us to manually alter the base64url
dependency. The bug was already fixed upstream and should be resolved
for us once mix2nix branches off a new release. See
https://github.com/ydlr/mix2nix/issues/11 for more infos.

Release notes: https://pleroma.social/announcements/2021/08/08/pleroma-major-release-2-4-0/
2021-08-09 21:30:42 +02:00
Ryan Mulligan
20bcb6cc0d
Merge pull request #132759 from r-ryantm/auto-update/kubernetes
kubernetes: 1.21.3 -> 1.22.0
2021-08-09 12:24:53 -07:00
Matthieu Coudron
06684792fb vimPlugins.plenary: init from lua package
This commit shows how to convert luarocks packages into (neo)vim ones.
The advantage for neovim lua plugins to register their rockspec (aka
package definition) is that the plugin can express its dependencies and
a few metadata through it.
2021-08-09 21:23:29 +02:00
Artturi
be0b03e5a8
Merge pull request #133279 from r-ryantm/auto-update/dictu
dictu: 0.19.0 -> 0.20.0
2021-08-09 21:49:20 +03:00
R. RyanTM
ad216be1b0 fend: 0.1.23 -> 0.1.24 2021-08-09 18:10:05 +00:00
adisbladis
5ccaf03298
Merge pull request #133273 from adisbladis/emacs-pkgs-unbreak
emacs.pkgs: Unmark various packages as broken
2021-08-09 13:02:13 -05:00
Ryan Mulligan
33cdc784e8
Merge pull request #131545 from NickCao/influxdb2
nixos/influxdb2: init
2021-08-09 10:34:53 -07:00
R. RyanTM
2b2a534741 dictu: 0.19.0 -> 0.20.0 2021-08-09 17:24:52 +00:00
Artturi
250ea10c0f
Merge pull request #133267 from r-ryantm/auto-update/checkstyle
checkstyle: 8.45 -> 8.45.1
2021-08-09 20:07:15 +03:00
Artturi
3b4e2d722b
Merge pull request #133269 from r-ryantm/auto-update/chrome-token-signing
chrome-token-signing: 1.1.2-1 -> 1.1.5
2021-08-09 20:04:42 +03:00
Artturi
b2de569a84
Merge pull request #133198 from r-ryantm/auto-update/flink
flink: 1.12.1 -> 1.13.2
2021-08-09 19:57:41 +03:00
Artturi
bd7172a057
Merge pull request #133196 from r-ryantm/auto-update/drumkv1
drumkv1: 0.9.18 -> 0.9.23
2021-08-09 19:55:15 +03:00
Artturi
a48edeffaf
Merge pull request #133209 from r-ryantm/auto-update/flyway 2021-08-09 19:47:58 +03:00
Artturi
d0f2c110cc
Merge pull request #133240 from r-ryantm/auto-update/kube-router
kube-router: 1.1.1 -> 1.2.2
2021-08-09 19:35:37 +03:00
Mario Rodas
0066c05ae2 nodejs-16_x: 16.5.0 -> 16.6.1
https://github.com/nodejs/node/releases/tag/v16.6.0
https://github.com/nodejs/node/releases/tag/v16.6.1
2021-08-10 01:12:34 +09:00
adisbladis
f57a20cb0f
emacs.pkgs: Unmark various packages as broken
A lot of the packages mark as broken are only actually broken for one melpa flavour.
2021-08-09 11:10:49 -05:00
Artturi
11ce8e0760
Merge pull request #133241 from r-ryantm/auto-update/libaudec
libaudec: 0.2.4 -> 0.3.4
2021-08-09 19:01:20 +03:00
Artturi
23af642fee
Merge pull request #133250 from r-ryantm/auto-update/logseq
logseq: 0.2.10 -> 0.3.2
2021-08-09 18:55:50 +03:00
Anderson Torres
73e770ed47
Merge pull request #117532 from AndersonTorres/new-oh-my-fish
oh-my-fish: init at 7+unstable-2021-03-03
2021-08-09 12:44:27 -03:00
Artturi
1abf86e654
Merge pull request #133253 from r-ryantm/auto-update/lombok
lombok: 1.18.16 -> 1.18.20
2021-08-09 18:41:51 +03:00
R. RyanTM
f16321aad4 chrome-token-signing: 1.1.2-1 -> 1.1.5 2021-08-09 15:40:37 +00:00
Artturi
1acb8c5c7e
Merge pull request #133254 from r-ryantm/auto-update/lisgd
lisgd: 0.3.0 -> 0.3.1
2021-08-09 18:38:24 +03:00
R. RyanTM
9d5be2dce4 checkstyle: 8.45 -> 8.45.1 2021-08-09 15:35:52 +00:00
Artturi
ed782bc76a
Merge pull request #133264 from r-ryantm/auto-update/carla
carla: 2.3.1 -> 2.3.2
2021-08-09 18:24:15 +03:00
AndersonTorres
224e516ccb oh-my-fish: init at 7+unstable=2021-03-03 2021-08-09 11:54:53 -03:00
R. RyanTM
c660c9342c carla: 2.3.1 -> 2.3.2 2021-08-09 14:39:51 +00:00
Artturi
785635cc73
Merge pull request #133255 from r-ryantm/auto-update/liquibase
liquibase: 4.4.2 -> 4.4.3
2021-08-09 17:28:04 +03:00
adisbladis
2040ede9a6
Merge pull request #133260 from Radvendii/master
emacsPackages: fix for missing passthru
2021-08-09 09:27:29 -05:00
Martin Weinelt
2e5e726570
Merge pull request #117326 from r-ryantm/auto-update/guile-lib
guile-lib: 0.2.6.1 -> 0.2.7
2021-08-09 16:24:52 +02:00
Timothy DeHerrera
c8ad4e02fa
Merge pull request #128117 from jonringer/nomad-autoscaler
nomad-autoscaler: init at 0.3.3
2021-08-09 08:17:31 -06:00
Martin Weinelt
3fee66443f
Merge pull request #133257 from NixOS/home-assistant 2021-08-09 16:16:57 +02:00
Sandro
7c23b4a5bc
Merge pull request #132795 from chrispickard/tmux-better-mouse-mode-fix-install
tmuxPlugins.better-mouse-mode: fixed broken install path
2021-08-09 16:14:41 +02:00
Martin Weinelt
6b5a40c534
Merge pull request #133226 from fabaff/bump-soco
python3Packages.soco: 0.22.3 -> 0.23.3
2021-08-09 16:04:53 +02:00
Taeer Bar-Yam
dc79d3b0da emacsPackages: fix for missing passthru 2021-08-09 09:34:27 -04:00
Martin Weinelt
6ffff15e1c
Merge pull request #133251 from mfsch/master
zeroad: 0.0.24b -> 0.0.25
2021-08-09 15:27:23 +02:00
R. RyanTM
2df8eb3d19
guile-lib: 0.2.6.1 -> 0.2.7 2021-08-09 15:15:51 +02:00
Martin Weinelt
bd9fd9c2d9
Merge pull request #113755 from r-ryantm/auto-update/python3.7-flufl.i18n
python37Packages.flufl_i18n: 3.1.4 -> 3.1.5
2021-08-09 15:14:28 +02:00
Martin Weinelt
3a5649118e
Merge pull request #112984 from r-ryantm/auto-update/python3.7-flufl.bounce
python37Packages.flufl_bounce: 3.0.1 -> 3.0.2
2021-08-09 15:14:00 +02:00