Commit Graph

859 Commits

Author SHA1 Message Date
github-actions[bot]
5b55bccfe2
Merge master into haskell-updates 2023-05-10 00:11:58 +00:00
Arnout Engelen
33afedd108
Merge pull request #224690 from raboof/copy-tarballs-fix-debug-mode
copy-tarballs.pl: fix DEBUG mode
2023-05-09 17:17:30 +02:00
github-actions[bot]
81dc7d6709
Merge master into haskell-updates 2023-05-06 00:11:27 +00:00
Lily Foster
61c2c744a1
maintainers/scripts/remove-old-aliases.py: support quoted attrset keys 2023-05-04 19:08:47 -04:00
maralorn
ef41eed24f maintainers/scripts/haskell/*transitive-broken*: Fix an error message 2023-05-02 12:07:16 +02:00
maralorn
05e9a22322 maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh: Make more robust against eval errors 2023-05-01 02:36:37 +02:00
maralorn
1cfb18d793 maintainers/scripts/haskell/merge-and-open-pr.sh: Pass --fast to regeneration script 2023-05-01 02:23:54 +02:00
maralorn
e4b66fa1a1 maintainers/scripts/haskell: Integrate transitive-broken into regeneration script 2023-04-23 10:47:36 +02:00
Matthieu Coudron
c9873fdef0 lua/updater: fix a few issues
there were remaining tabs in file and the update member was not implemented
2023-04-22 15:17:44 +02:00
github-actions[bot]
147886c1b7
Merge master into haskell-updates 2023-04-15 00:12:49 +00:00
Matthieu Coudron
351cec5db3
use subcommands in plugin updaters (#223164)
* update.py: introduce subparsers for plugin updaters

This is preliminary work to help create more powerful plugin updaters.
Namely I would like to be able to "just add" plugins without refreshing
the older ones (helpful when github temporarily removes a user from
github due to automated bot detection).

Also concerning the lua updater, we pin some of the dependencies, and I
would like to be able to unpin the package without editing the csv
(coming in later PRs).

* doc/updaters: update command to update editor plugins

including vim, kakoune and lua packages

Co-authored-by: figsoda
2023-04-14 22:02:17 +02:00
sternenseemann
b79286ea28 maintainers/haskell/upload-package-list: support 3.10 config dir
cabal-install 3.10 has some quirky new logic for config, cache, …
directory discovery. We reimplement this in this simple bash script,
additionally respecting the CABAL_DIR environment variable.
2023-04-14 18:35:33 +02:00
github-actions[bot]
9bd1e62062
Merge master into haskell-updates 2023-04-14 00:12:05 +00:00
K900
0fac11230d
Merge pull request #225391 from K900/pob
path-of-building: init at 2.28.0-unstable-2023-04-09
2023-04-13 19:08:29 +03:00
K900
e333259769 luaPackages.lua-curl: init at 0.3.13 2023-04-13 18:29:49 +03:00
sternenseemann
35c00c639a haskellPackages.hackage-db: 2.1.2 -> 2.1.3
This update adds support for $CABAL_DIR as well as the new
$XDG_CACHE_HOME location of the hackage db.

Since we maintain hackage-db, having the latest version always is nice
even though it has more reverse dependencies than the other libraries we
maintain.
2023-04-13 14:13:40 +02:00
github-actions[bot]
5291a9240e
Merge master into haskell-updates 2023-04-10 00:12:34 +00:00
Matthieu Coudron
619ca2064f luaPackages.luv: 1.43.0-0 -> 1.44.2-1
as requested by neovim
2023-04-10 01:27:33 +02:00
maralorn
632d358c64 maintainers/scripts/haskell: Add reference to manual to PR template 2023-04-08 00:24:31 +02:00
github-actions[bot]
6a7b8348a1
Merge master into haskell-updates 2023-04-06 00:11:55 +00:00
Vincenzo Mantova
8fd7b69da1 copy-tarballs: use all the urls of each file
If a file specifies multiple urls, try fetching all of them until
nix-prefetch-url is successful.
2023-04-05 21:05:22 +01:00
Ellie Hermaszewska
d7c630ca17
maintainers/haskell/update-stackage.sh: Strip out with-compiler from stackage config
It was previously just being inserted alphabetically into the list
2023-04-05 15:21:47 +08:00
Stanisław Pitucha
f42b9fd745 maintainers/scripts/update.nix: Remove unicode from message and comply with CONTRIBUTING.md
It's not used infrequently and the ascii version is nicer for automatic parsing.
```
git log --grep '->' --oneline --since '2022-01-01' | wc -l
   67791
git log --grep '→' --oneline --since '2022-01-01' | wc -l
    2914
```
2023-04-05 11:28:47 +10:00
Arnout Engelen
7cfcfdc4d4
copy-tarballs.pl: fix DEBUG mode
When DEBUG is defined, the script just prints the URL's without actually
checking whether they're already cached or downloading/uploading anything.

That got broken because connecting to S3 now fails fast. This PR makes sure
we skip connecting to s3 in DEBUG mode.
2023-04-04 20:33:11 +02:00
Dennis Gosnell
c00dc0cf7d
Merge remote-tracking branch 'origin/master' into haskell-updates 2023-03-27 08:42:30 +09:00
Dennis Gosnell
35295aed71
haskellPackages: in hydra-report.hs, split Linux and Darwin build failures
This commit changes hydra-report.hs to split up Linux and Darwin build
failures into two different sections.  Darwin failures are hidden by
default.
2023-03-26 18:10:08 +09:00
Dennis Gosnell
bd9bb50ad2
haskellPackages: remove error about outstanding jobs on aarch64-darwin in hydra-report.hs 2023-03-26 18:08:30 +09:00
Yureka
f4f4c8bca2 maintainers/scripts/convert-to-import-cargo-lock: fetch submodules 2023-03-26 00:02:16 +01:00
Yureka
34c848fe08 maintainers/scripts/convert-to-import-cargo-lock: don't add duplicate outputHashes 2023-03-26 00:02:15 +01:00
Winter
7130282976 maintainers/scripts/convert-to-import-cargo-lock: init 2023-03-26 00:02:15 +01:00
Dennis Gosnell
19b5676361
haskellPackages: add newtype for PkgName and PkgSet in hydra-report.hs
Add a newtype for a package name and a package set.  This is less for
correctness, and more just to make the code a little easier to read
through without having to keep in mind what each Text refers to.
2023-03-25 23:00:56 +09:00
Dennis Gosnell
b2af201c0e
haskellPackages: add newtype for JobName in hydra-report.hs
This commits changes the `job` field in `Build` to a newtype.  This is
mostly just to have a place to document exactly what a job name consists
of.
2023-03-25 19:24:13 +09:00
Dennis Gosnell
28f22d86d7
haskellPackages: slight refactoring of hydra-report.hs 2023-03-25 18:21:55 +09:00
Dennis Gosnell
c574a8c37e
haskellPackages: add a little documentation to hydra-report.hs 2023-03-25 17:44:26 +09:00
Dennis Gosnell
265a3a3b15
haskellPackages: add types and some formatting to hydra-report.hs 2023-03-24 20:55:52 +09:00
Dennis Gosnell
3aea75b8fc
haskellPackages: fix indentiation in hydra-report.hs 2023-03-24 20:26:01 +09:00
Doron Behar
7a88e40dd6
Merge pull request #207359 from KarlJoad/octavePackages/auto-update-script
Octave packages: auto update script and fixes
2023-03-22 17:21:48 -07:00
Nick Cao
f62e99a323
Merge pull request #221488 from NickCao/qt643
qt6: 6.4.2 -> 6.4.3
2023-03-18 10:04:52 +08:00
Bernardo Meurer
6e55733359
Merge pull request #219747 from Stunkymonkey/deprecate-isNull 2023-03-16 11:10:22 -03:00
Nick Cao
3c86f2eb23
maintainers/scripts/fetch-kde-qt.sh: fix handling of fallback file urls 2023-03-16 20:58:56 +08:00
Karl Hallsby
17ea94881f octavePackages: add automatic updating script based on Python's
This script is heavily based on the script used to update all python
libraries at
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py

The Octave Packages' website uses YAML as their basis, so we must
reformat to use YAML instead of JSON.
2023-03-15 15:58:01 +02:00
pennae
4a694fc500 maintainers: add script and workflows to check sortedness
the script can output a list of sed commands to create the order it
expects to find. this was mainly useful for initially sorting the list,
but we'll keep it here for later reference.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-03-15 11:07:54 +01:00
sternenseemann
100d887968 release-haskell.nix: add aarch64-darwin
nixpkgs:trunk also builds aarch64-darwin these days, so this forces our
hand a little bit. We can still refuse to care about failures _too_
much, but at least we will stop merging as big a rebuilds as we are
currently.
2023-03-10 14:43:00 +01:00
Felix Buehler
d10e69c86b treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-03-06 22:40:04 +01:00
Matthieu Coudron
358ca90b5f luaPackages: adding several neovim plugins
telescope.nvim, haskell-tools.nvim, telescope-manix
2023-03-06 09:58:53 +01:00
maralorn
994e845bd0
Merge pull request #217242 from maralorn/broken-reasons
maintainers/scripts/haskell/hydra-report: Add comments with error causes to broken list
2023-03-01 00:17:20 +01:00
github-actions[bot]
ce1777b04a
Merge master into haskell-updates 2023-02-28 00:13:36 +00:00
Matthieu Coudron
75a2a4a389
Merge pull request #217706 from teto/add-haskell-tools
luaPackages: update
2023-02-27 09:08:34 +01:00
Martin Weinelt
706cae6532 update-python-libraries: Add support for fetchgit
Previously when packages that required the git fetcher were updated, we
would wrongly rely on `nix-prefetch-url`, which would reliable break the
hash.

Instead we need to use `nix-prefetch-git` to determine the proper hash,
when the relevant attributes are present.
2023-02-27 02:21:07 +00:00
Matthieu Coudron
62c632241b luaPackages: update
pinned lpeglabel else build failed
2023-02-27 01:38:45 +01:00
sternenseemann
80cff3a5b2 Merge remote-tracking branch 'origin/master' into haskell-updates 2023-02-26 20:45:50 +01:00
Robert Hensing
d1aa2475eb maintainers/scripts/update.nix: Add comment, remove TODO 2023-02-26 16:01:20 +01:00
maralorn
0debf1453d maintainers/scripts/haskell/hydra-report: Add comments with error causes to broken list 2023-02-20 00:36:43 +01:00
sternenseemann
b7e41b825e maintainers/haskell: generate core-pkgs hackage2nix configuration
`ghc-pkg list` tells us everything hackage2nix needs to know. In the
past the core-packages list and compiler setting in hackage2nix was
maintained manually which inevitably leads to it being forgot once in a
while – this will then mess with flag resolution when generating the
package set in some cases. Luckily, we can just let a simple derivation
do this for us.

Resolves #202621.
2023-02-19 19:52:17 +01:00
Ingo Blechschmidt
168d9a5f1e agda: 2.6.2.2 -> 2.6.3 2023-02-14 14:45:39 +01:00
sternenseemann
3dfbe2b6a3 maintainers/haskell/test-configurations.nix: support ghcHEAD
Since we now have a versioned configuration-ghc-*.nix file for GHC HEAD,
we don't need to add a super special case to the package set logic in
test-configurations.nix anymore. We can just create a versioned
attribute for the ghcHEAD package set (which is not exposed) and keep
using the normal discovery logic.

The only tricky bit is that GHC HEAD's configuration file is named after
the GHC release that will be branched off from it, so a little bit of
arithmetic is involved.
2023-02-13 14:42:03 +01:00
github-actions[bot]
615351069b
Merge master into haskell-updates 2023-02-02 00:13:38 +00:00
Robert Hensing
5cfdab8950 eval-release.nix: Tolerate null
This will allow tests.pkg-config.defaultPkgConfigPackages to run on
hydra without breaking the tarball job.

Regarding the use of null, I'll quote 473ac96 which does lib.hydraJob.

By allowing null, we allow code to avoid filterAttrs, improving
laziness in real world use cases.
Specifically, this strategy prevents infinite recursion errors,
performance issues and possibly other errors that are unrelated to
the user's code.
2023-01-31 15:12:04 +01:00
Dennis Gosnell
4be2c3acd5
haskellPackages: ignore maintainers without email
The Haskell Hydra report generator
(`maintainers/scripts/haskell/hydra-report.hs`) uses this
`maintainer-handles.nix` script for generating a mapping of email
addresses to GitHub handles.

This `maintainer-handles.nix` script is necessary because the Haskell
Hydra report generator gets Hydra job status info as input, but needs to
ping users on GitHub.  Hydra job status info only contains user emails (not
GitHub handles).  So the `maintainer-handles.nix` script is necessary
for looking up GitHub handles from email addresses.

This commit fixes the `maintainers-handles.nix` code to ignore
maintainers that don't have email addresses.  The code was originally
assuming that all maintainers have email addresses, but there was
recently a maintainer added without an email address.
2023-01-30 08:27:03 +09:00
Aaron Andersen
99341e0676 luaPackages.lualdap: init at 1.3.0-1 2023-01-23 18:04:52 -05:00
Felix Buehler
5156a73223 nix-generate-from-cpan: deprecate phases 2023-01-21 21:13:22 +01:00
github-actions[bot]
85bd0922b4
Merge master into haskell-updates 2023-01-10 00:13:54 +00:00
maralorn
a8fa46a964 maintainers/../haskell/mark-broken: Insert eval info in commit msg 2023-01-10 00:49:56 +01:00
Naïm Favier
a8d4cf149c
doc: separate manpage URLs from the Pandoc filter
Move the manpage-to-URL mapping to `doc/manpage-urls.json` so that we can
reuse that file elsewhere, and generate the `link-manpages.lua` filter from
that file.

Also modify the Pandoc filter so that it doesn't wrap manpages that are
already inside a link.

Keeping a Lua filter is essential for speed: a Python filter would
increase the runtime `md-to-db.sh` from ~20s to ~30s (but Python is not
to blame; marshalling Pandoc types to and from JSON is a costly operation).
Parsing in Lua seems tedious, so I went with the Nix way.
2023-01-02 14:11:22 +01:00
maralorn
931fef04f9
Merge pull request #207764 from qowoz/shellcheck
shellcheck: add override for newer version
2022-12-29 15:44:15 +01:00
zowoq
232b508059 haskellPackages.ShellCheck: unpin 2022-12-28 10:42:13 +10:00
Andy
e677218d32
Haskell: Fix dead link in report 2022-12-27 14:59:25 +01:00
Naïm Favier
755d5259c7
maintainers/scripts/haskell: fix regenerate-transitive-broken
- use `restrict-eval` so that we're not affected by the user's environment
- use jq instead of the horrible echo+sed hack

The second point also fixes the indentation before each line to be two
spaces instead of one, so I set it back to one space to avoid a diff.
2022-12-24 13:38:34 +01:00
Matthieu Coudron
27dd8e291d
add teal-language-server + update lua modules (#205856)
* luaPackages.teal-language-server: init at 2022-11-22

* luaPackages: update

init cyan and teal-language-server
2022-12-20 18:35:22 +01:00
Fabian Affolter
dfd2b91e74 update-luarocks-shell: rename GitPython 2022-12-05 21:46:30 +01:00
Victor Engmark
ea5fcc0204 maintainers/scripts: Use Bash shebang line for files with bashisms 2022-11-29 19:52:21 +13:00
figsoda
d8426de146 scripts/pluginupdate: fix fetchgit indentation 2022-11-17 20:51:34 -05:00
Sandro
d9c3f3c0dc
Merge pull request #196007 from wegank/fdl11-remove 2022-11-09 22:31:50 +01:00
figsoda
c95706ac44 vimPlugins: also update nvim-treesitter grammars in the update script 2022-11-04 15:52:00 -04:00
Anderson Torres
2e92b7cf57
Merge pull request #188626 from rapenne-s/include_patches_tarballs
find-tarballs.nix: Include patches
2022-11-01 14:24:04 -03:00
Weijia Wang
79f5174455 licenses: remove fdl13 2022-10-27 22:48:13 +02:00
Weijia Wang
06d0490ab3 licenses: remove fdl12 2022-10-27 22:47:29 +02:00
s-ol
4e8c7697f2 luaPackages.luafilesystem: 1.7.0 -> 1.8.0
New version brings support for Lua 5.4.
http://lunarmodules.github.io/luafilesystem/#history

Close #196932
2022-10-25 11:18:42 +02:00
José Romildo Malaquias
1ab4b4a183
Merge pull request #160453 from jtojnar/upd-nix-unstable-git
maintainers/scripts/update.nix: Fix deduplication for unstableGitUpdater
2022-10-22 23:16:29 -03:00
Martin Weinelt
babaf57650
Merge pull request #194136 from mweinelt/feature-freze-teams-http-error-log 2022-10-17 02:34:38 +02:00
figsoda
46769538fe vimPlugins.nvim-cmp: follow HEAD and update 2022-10-15 15:34:36 -04:00
sternenseemann
ff920c5f7b haskellPackages.cabal2nix-unstable: 2022-07-22 -> 2022-10-10 2022-10-12 14:51:01 +02:00
Matthieu Coudron
c154af76d1
Merge pull request #195431 from figsoda/vusted 2022-10-11 10:02:31 +02:00
figsoda
d1742000db luaPackages.vusted: init at 2.1.1-1 2022-10-10 19:20:03 -04:00
figsoda
be8d6387c4 luaPackages: fix csv 2022-10-10 19:13:24 -04:00
github-actions[bot]
c5f0d725df
Merge master into staging-next 2022-10-06 18:03:10 +00:00
Martin Weinelt
594db69923
maintainer/scripts/feature-freeze-teams: Fix HTTP status line log 2022-10-03 04:03:12 +02:00
Stanislav Asunkin
884a2d3179 luaPackages.jsregexp: init at 0.0.5-1 2022-10-01 17:58:58 +03:00
Artturi
1c1c182814
Merge pull request #192851 from Artturin/treewides1 2022-09-28 00:50:06 +03:00
José Romildo
1f239257c5 maintainers/scripts/update.nix: make package name, pname and old version available to the update script 2022-09-26 22:16:19 -03:00
Artturin
6910a4eea0 treewide: makeWrapper to nativeBuildInputs
this should be all of them other than the failed splices
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Gabriel Fontes
e5cac189d4
luaPackages: fennel -> luaPackages.fennel 2022-09-24 22:46:10 -03:00
maralorn
7c2fda45cc haskell-language-server: 1.7.0.0 -> 1.8.0.0 2022-09-21 05:23:07 +02:00
Winter
814026db2d maintainers/scripts/update.nix: exit with nonzero exit code when script fails 2022-09-20 17:59:07 -04:00
Matthieu Coudron
feae5405da luaPackages: update and adding a few neovim plugins
- had to disable the failing lush-nvim tests (it can't find
  vim.api.nvim_command for a myssterious reason).
2022-09-11 21:26:19 +02:00
Matthieu Coudron
cbcb40589c update-luarocks-package: better way to specify lua version
instead of running luarocks with the requested interpreter, we can ask any interpreter to search for a specific version via --lua-version. It avoids building/running different luarocks-nix just for that.

use tagged release of nvim-cmp
2022-09-11 21:25:44 +02:00
Solene Rapenne
956555eca7 find-tarballs.nix: isPatch should be defined only when postFetch is not empty 2022-08-29 10:17:39 +02:00
Solene Rapenne
f0e4074eea copy-tarballs.pl: skip files that are patches 2022-08-28 14:51:26 +02:00
Solene Rapenne
e9b835d975 find-tarballs.nix: add a new attribute and include patches files 2022-08-28 14:51:19 +02:00
Sebastián Mancilla
10a745eac8
Merge pull request #179896 from erikarvstedt/fix-bash-exit-handler
treewide: fix bash exit handlers
2022-08-14 21:42:41 -04:00
Spencer Pogorzelski
6898b758b6 luaPackages.lua-subprocess: init at scm-1 2022-08-09 10:22:11 +02:00
Jan Schmitt
87de89e23b luaPackages.luaunit: init at 3.4-1 2022-08-06 11:28:05 +02:00
Jan Schmitt
105b7a814c luaPackages.protobuf: add maintainer 2022-08-05 11:30:56 +02:00
Jan Schmitt
16559154a6 luaPackages.protobuf: init at 0.4.0 2022-08-05 11:30:56 +02:00
github-actions[bot]
1d51c8b324
Merge master into haskell-updates 2022-08-03 00:15:49 +00:00
Jan Schmitt
200224cc83 luaPackages.serpent: add maintainer 2022-08-02 23:00:10 +02:00
Jan Schmitt
8efa6d181c luaPackages.serpent: init -> 0.30-2 2022-08-02 23:00:10 +02:00
Malte Brandy
f6333fe939 maintainers/scripts/haskell/hydra-report: fix capitalisation 2022-08-02 10:22:56 +02:00
Malte Brandy
b4d1872885 maintainers/scripts/haskell/hydra-report: Add hint about eval errors 2022-07-22 00:26:52 +02:00
Milan Hauth
b0c63ef0d1 fetch-kde-qt.sh: get sha256 from server 2022-07-07 19:30:10 +02:00
pennae
c9ad20e7eb
Merge pull request #179483 from pennae/mdize-maintainer-script
maintainers: add a helper script for the options doc conversion
2022-07-05 21:35:15 +00:00
Robert Hensing
20f5ebdd3c maintainers/mdize-module: Add known limitations 2022-07-05 19:15:11 +02:00
Erik Arvstedt
3f54dfa475
treewide: fix bash exit handlers
Transform exit handlers of the form
trap cleanup EXIT [INT] [TERM] [QUIT] [HUP] [ERR]
  (where cleanup is idempotent)
to
trap cleanup EXIT

This fixes a common bash antipattern.

Each of the above signals causes the script to exit. For each signal,
bash first handles the signal by running `cleanup` and then runs
`cleanup` again when handling EXIT.
(Exception:  `vscode/*` prevents the second run of `cleanup` by removing
the trap in cleanup`).

Simplify the cleanup logic by just trapping exit, which is always run
when the script exits due to any of the above signals.

Note: In case of borgbackup, the exit handler is not idempotent, but just
trapping EXIT guarantees that it's only run once.
2022-07-02 16:13:12 +02:00
ajs124
b22ac820c5 maintainers/fix-maintainers.pl: init 2022-06-29 00:52:11 +02:00
pennae
8e3c7a1fd5 maintainers: add a helper script for the options doc conversion
this script can be used to attempt an automatic conversion of option
docs for most modules. it'll also show a diff of options.json before and
after the changes, which should be a good form for checking for unwanted
changes. we specifically show a json diff rather than an xml diff
because newline changes in json are "\n" added are removed, and those
are easier for diff tools to pick out and show in a meaningful way for
this process.

it does *not* check for incorrectly applied changes though, those aren't
easy enough to do automatically for this script.
2022-06-28 23:29:23 +02:00
Matthieu Coudron
2c072c2083 luaPackages.sqlite: init at v1.2.2-0 2022-06-18 21:23:45 +02:00
Matthieu Coudron
98f9f1f054 luaPackages.luv: fix build 2022-06-13 11:17:36 +02:00
Matthieu Coudron
fb6f9ee28f update-luarocks-package: fix mirrors 2022-06-13 11:17:36 +02:00
Matthieu Coudron
77a0e5f36e luarocks: 3.8.0 -> 3.9.0
pass the config to the luarocks binary

also bumps luarocks-nix: bump package due to the luarocks rebase
2022-06-13 11:17:24 +02:00
Artturin
0c4d65b21e treewide: stdenv.glibc -> glibc 2022-05-25 15:51:20 +03:00
Malte Brandy
5c42976597 maintainers/scripts/haskell/hydra-report.hs: remove redundant pragmas 2022-05-20 21:41:30 +02:00
Malte Brandy
cb20a40177 maintainers/scripts/haskell/hydra-report.hs: fix outdated hydra-unstable reference 2022-05-20 21:27:31 +02:00
Rick van Schijndel
3a7f7c1153 hydra-unstable -> hydra_unstable 2022-05-10 23:32:02 +02:00
Caleb Maclennan
9254e550a8
luaPackages: add new packages cldr, fluent, and loadkit
These are new dependencies for SILE, currently needed by the flake in the upstream repo and will be needed by the stable package in this repo on the next release
2022-05-10 16:57:52 +03:00
Maxim Zhukov
7d673c71c1 luaPackages: add new package - tl (teal language)
The compiler for Teal, a typed dialect of Lua

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2022-05-10 15:27:11 +02:00
Matthieu Coudron
135e27c148
Merge pull request #171975 from alexshpilkin/add-lua-maths 2022-05-09 10:58:30 +02:00
Alexander Shpilkin
0b13ca520a
lua53Packages.lmpfrlib: init at 20170112-2 2022-05-09 00:12:07 +03:00
Alexander Shpilkin
ca428a0687
lua53Packages.lmathx: init at 20150624-1 2022-05-09 00:11:42 +03:00
Matthieu Coudron
27103e676a
Merge pull request #171322 from teto/build-neovim-plugin
distinguish between vim/neovim plugins
2022-05-03 21:14:31 +02:00
Matthieu Coudron
5114d91cd8
Merge pull request #169802 from NinjaTrappeur/nin/prosody012 2022-05-03 11:04:17 +02:00
Matthieu Coudron
d4894355c1 vim/update.py: distinguish between vim/neovim plugins
I've been working for a long time towards automatic nix dependencies for
neovim plugins (using luarocks rockspecs to discover the said
dependencies).
This is an initial commit to help me complete the missing bits.
buildNeovimPluginFrom2Nix is right now a placeholder which helps me test
in my fork a version that does a flat install of luarocks.

the vim updater will now check for attributes with the same name in the lua package set,
if that's the case the script will generate buildNeovimPluginFrom2Nix.
2022-05-03 00:22:03 +02:00
Matthieu Coudron
1b8e123255 vim/update.py: fix handling of redirects 2022-05-01 21:54:55 +02:00
Matthieu Coudron
67f45a4362 luaPackages.luaexpat: 1.3.0-1 -> 1.4.1-1 2022-05-01 21:45:54 +02:00
Félix Baylac-Jacqué
811f95f000
luaPackages.luaunbound: init at 1.0.0-1
Required for Prosody 0.12.0.

I first tried to run the bare
./maintainers/scripts/update-luarocks-packages, however it did break a
fair share of Lua packages.

In the end, I:

1. Added the luaunbound entry to luarocks-packages.csv
2. Run the update-luprocks-packages.
3. Cherry picked the luaunbound entry
4. Reverted the rest of lua-modules/generated-packages.nix to what we
   currently have in Nixpkgs.
5. Injected the native unbound library via the lua-modules overrides.
2022-04-22 16:17:30 +02:00
sternenseemann
fb2fc3b4a4 Merge remote-tracking branch 'origin/master' into haskell-updates 2022-04-05 21:21:42 +02:00
github-actions[bot]
27a4e52731
Merge master into staging-next 2022-04-05 12:05:41 +00:00
Dennis Gosnell
2e8743b8e5
haskell: update link to calendar for maintainer rotation 2022-04-05 09:16:20 +09:00
Matthieu Coudron
ec6cf1aa51 update.py: updater vim updater
We want to support plugins on other hosts than github.
A more structured format will allow more features too.
2022-04-03 18:14:14 +02:00
github-actions[bot]
fd5d77aa66
Merge master into staging-next 2022-04-02 06:01:21 +00:00
Janne Heß
72c150341b
Merge pull request #165978 from helsinki-systems/feat/subsystem-maintainers.txt
Add a list of subsystem maintainers for release
2022-04-02 04:01:50 +02:00
Martin Weinelt
d0bfb3ccbb Merge remote-tracking branch 'origin/master' into staging-next 2022-03-31 03:49:37 +02:00
Janne Heß
ed47d92c53
Add a list of subsystem maintainers for release 2022-03-30 10:32:53 +02:00
github-actions[bot]
03106b0236
Merge master into haskell-updates 2022-03-29 00:12:40 +00:00
Jan Tojnar
997bb5e42c Merge branch 'master' into staging-next
; Conflicts:
;	pkgs/development/python-modules/dnspython/default.nix
;	pkgs/development/python-modules/googleapis-common-protos/default.nix
2022-03-28 17:55:31 +02:00
Sandro
2f1e03cb2b
Merge pull request #165691 from lucc/github-removed-unencrypted-git 2022-03-28 12:47:42 +02:00
Lucas Hoffmann
21120194ee
luarocks-packages: replace git://github.com with https:// 2022-03-28 12:23:10 +02:00
github-actions[bot]
f0839d8bcd
Merge master into haskell-updates 2022-03-28 00:11:42 +00:00
Artturin
52aa495303 maintainers/scripts/remove-old-aliases.py: add option to only operate on
throws
2022-03-27 19:47:48 +03:00
sternenseemann
372d0a707e Merge remote-tracking branch 'origin/master' into haskell-updates 2022-03-26 09:59:28 +01:00
github-actions[bot]
880c50a133
Merge master into staging-next 2022-03-26 00:02:23 +00:00
Artturi
4152377b66
Merge pull request #162511 from Artturin/add-alias-keep-feature 2022-03-25 20:28:37 +02:00
Malte Brandy
fa552e76e6 maintainers/scripts/haskell: add script to find broken maintained packages 2022-03-23 13:03:31 +01:00
sternenseemann
9b8dfcd9bf haskellPackages: stackage Nightly 2022-03-17 -> LTS 19.0
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2022-03-20 11:11:10 +01:00
sternenseemann
57b1c86e74 maintainers/haskell/update-stackage.sh: always mktemp for tmp files
In theory, another program would be free to create "$tmpfile.new".
2022-03-20 11:09:58 +01:00
sternenseemann
cd0ddefb43 maintainers/haskell/update-stackage.sh: make shellcheck happy
* Annotate shell type
* Make trap expansion safer
2022-03-20 11:09:38 +01:00
sternenseemann
22ced213c0 maintainers/haskell/update-stackage.sh: make solver configurable
Accept either Nightly or LTS as the solver configuration variable in the
script. The Stackage version is now considered a tuple of solver and
version, allowing the script to handle updates and switches between
solvers gracefully.

Tested updating Nightly and updating from Nightly to LTS.
2022-03-20 11:02:58 +01:00
github-actions[bot]
a9a2d9475d
Merge staging-next into staging 2022-03-11 18:01:59 +00:00
sternenseemann
f5c34205ad Merge remote-tracking branch 'origin/master' into haskell-updates 2022-03-11 16:47:23 +01:00
Profpatsch
a23d59e2ed regenerate-hackage-packages.sh: use runCommandLocal
Running tar will not benefit from running on a builder (it’s mostly
I/O load and cannot be parallelized), and the network will dominate.
2022-03-11 14:32:36 +01:00
Alyssa Ross
43aa75b313
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
	nixos/doc/manual/release-notes/rl-2205.section.md
2022-03-09 11:20:38 +00:00
github-actions[bot]
05e2709249
Merge master into haskell-updates 2022-03-09 00:10:37 +00:00
Artturin
6ebf051cc0 maintainers/scripts/remove-old-aliases.py: ignore lines which have 'preserve, reason:' in them 2022-03-08 21:18:22 +02:00
Matthieu Coudron
a383bcb3c4 luaPackages.luv: 1.42.0 -> 1.43.0 2022-03-08 10:53:11 +01:00
Matthieu Coudron
6f3482f640 update.py: fix for kakoune/luarocks 2022-03-08 10:53:11 +01:00
Sandro
800e9e9994
Merge pull request #161079 from SuperSandro2000/exit-handler 2022-03-01 14:41:56 +01:00
sternenseemann
f10a7e5a3b haskellPackages.cabal-install: ignore stackage bound
We have generally shipped the latest cabal-install version. Stackage has
re-added cabal-install recently which caused cabal-install to get
downgraded to 3.4 to match the Cabal version shipped by GHC 9.0.2. This
commit reverts that change.
2022-02-27 11:47:32 +01:00
github-actions[bot]
3a93e7e23e
Merge master into haskell-updates 2022-02-26 00:09:51 +00:00
Bruno BELANYI
75e1bb15fa vim/update.py: make '--add' option work 2022-02-25 11:54:07 +01:00
AndersonTorres
3f19fc37a3 Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
github-actions[bot]
befe838e87
Merge master into haskell-updates 2022-02-24 00:09:57 +00:00
Jan Tojnar
2427ba619c
Merge pull request #161260 from jtojnar/gnome-update-bump
gnome.updateScript: Various improvements
2022-02-23 21:17:45 +01:00
Stig
28c4ea1115
Merge pull request #152162 from Artturin/oldaliascheckscript
maintainers/scripts/remove-old-aliases.py: script to remove aliases older than $date
2022-02-23 10:28:55 +01:00
github-actions[bot]
eb29acff14
Merge master into haskell-updates 2022-02-22 00:10:07 +00:00
Jan Tojnar
5b8320d446 gnome.updateScript: Use experimental support for custom commit messages 2022-02-21 19:12:35 +01:00
Jan Tojnar
3cce255fc1 maintainers/scripts/update.nix: Add experimental support for customizing commit message 2022-02-21 19:12:35 +01:00
Artturin
0db4ecb8af maintainers/scripts/remove-old-aliases.py: script to remove old aliases
usage
'./maintainers/scripts/remove-old-aliases.py --year 2018 --file ./pkgs/top-level/aliases.nix'
first the matched lines are converted to throws with the comment
'Converted to throw $CURRENT_DATE'

then the throws older than the passed date are removed.
2022-02-21 08:40:39 +02:00
Sandro Jäckel
b7da6c7da7
stdenv, dep-licenses.sh: do not skip handling of other exit traps
See https://github.com/akinomyoga/ble.sh/issues/179
2022-02-20 16:27:24 +01:00
sternenseemann
b5489b75ee haskellPackages: Stackage LTS 18.25 -> Stackage Nightly 2022-02-07 2022-02-18 18:24:22 +01:00
Jan Tojnar
30dbdffcb5 maintainers/scripts/update.nix: Fix deduplication for unstableGitUpdater
Some updaters like `unstableGitUpdater` rely solely `UPDATE_NIX_ATTR_PATH`
environment variable to find out package attribute so they all have
the same `passthru.updateScript`. This means we cannot rely
on that attribute to filter out aliased packages because it would
consider all packages using `unstableGitUpdater` the same.

We need to use different criterion to distinguish them. `meta.position`
is a reasonable candidate but we cannot always utilize it since
it might not be available or it might be shared among multiple packages
(e.g. when using custom mkDerivation wrapper).

Combination of the two attributes should distinguish most cases.

Fixes: https://github.com/NixOS/nixpkgs/issues/112583
2022-02-17 12:30:27 +01:00
Matthieu Coudron
db693baf19 vim/update.py: accept github token as argument
I find it more practical (can run update.py --github-token=$(pass gihtub-token)" rather than putting token in ENV). Also makes it more discoverable. I introduced a FetchConfig variable to pass editor agnostic configuration.
2022-02-17 12:19:45 +01:00
Matthieu Coudron
9d9b5b321e vim/update.py: add dummy nixpkgs_repo to shutdown pyright warnings 2022-02-17 11:51:16 +01:00
Lily Foster
b6718ec0aa pluginupdate.py: fix regression with plugin line splitting
Before 46c68ad both "@" and " as " could be used in the same line like
the following:

    vimwiki/vimwiki@dev as vimwiki-dev

After 46c68ad this gives an error due to the split URI still erroneously
including the " as [name]" at the end, due to splitting from the wrong
variable.
2022-01-21 14:18:21 +01:00
Matthieu Coudron
4f0cb8a071 update.py: mention GITHUB_API_TOKEN in the help 2022-01-20 22:45:42 +01:00
Matthieu Coudron
46c68ad418 update.py: support remotes other than github
right now we can only refer to repositories hosted on github.
This allows to give random git repo uris like for instance:
https://git.sr.ht/~whynothugo/lsp_lines.nvim
2022-01-20 22:45:42 +01:00
Dr Perceptron
539f55df44
pluginupdate.py: make experimental feature nix-command explicit 2022-01-08 18:58:15 +11:00
Matthieu Coudron
7a30a844c6 pluginupdate.py: support comments
when maintaining out of tree plugins, it makes it easier to swap/comment on specific plugins
2021-12-22 00:33:12 +01:00
github-actions[bot]
eec551fc15
Merge master into haskell-updates 2021-12-18 00:07:57 +00:00
Victor Engmark
de125e2333
maintainers/scripts: Lint check-maintainer-github-handles.sh (#147424) 2021-12-17 23:45:48 +02:00
sternenseemann
90a8618c03 maintainers/scripts/test-configuration.nix: improve overlay call
configuration-nix.nix uses builtins.intersectAttrs to not any overrides
for packages not present in `super` (presumably for use outside of
nixpkgs?). To accomodate it, we pass an attribute set with every
attribute of haskellPackages, but set to `null` as `super`, and — while
we're at it — a fix point as `self`.
2021-12-15 17:23:04 +01:00
sternenseemann
ca91080b21 maintainers/scripts/test-configurations.nix: skip binary GHCs
While being able to test them is neat (on x86_64-linux they work very
well, actually), we usually don't want to do this, since the set is
only (recommended to be) used to bootstrap GHC. Consequently there is
almost no binary cache and testing them mostly leads to unenlightening
and seemingly endless compilation.
2021-12-15 17:23:04 +01:00
sternenseemann
65de104e6c maintainers/scripts/test-configuration.nix: warn about broken pkgs
The warnings help when removing the broken flags when all packages turn
out to build and could also be helpful when investigating failures.
2021-12-15 17:23:04 +01:00
sternenseemann
7e9d55f0c4 maintainers/scripts: test for haskell configuration overlays
The added nix expression allows maintainers to check for regressions in
the configuration overlays employed by haskellPackages and friends. The
reasoning behind this is that, if we add an override for something, it
should also build. To test this fact, we extract all attributes touched
by a configuration and obtain all relevant derivations corresponding to
it which can then be thrown into nix-build --keep-going.

I've been using this expression to verify configuration-ghc-9.2.x.nix
for a week or so which works quite well. The amount of stale overrides
in other configuration makes it a bit more painful for other use cases
at the moment.
2021-12-14 02:25:02 +01:00
oxalica
aad1bda6f3
scripts/pluginupdate.py: use HEAD as default branch
Thus we always use the default branch. No need to special handle of `master`,
`main`, `trunk` and etc.
2021-12-07 18:50:38 +08:00
github-actions[bot]
a1d98b162f
Merge master into staging-next 2021-11-23 18:01:10 +00:00
Alexei Robyn
b8173c4a0e luaPackages.moonscript: Correct package version to dev-1
The "0.5.0-1" rockspec on luarocks has a bug, resulting in it pulling
the current git master version, which is what we have effectively been
using.

Given that 0.5.0-1 is the latest release, is 6 years old, and that there
have been some bug fixes since then, we do actually want to be using the
git master version, but we also want to be using the correct rockspec
(particularly as alt-getopt has been replaced by argparse in the `moon`
binary).
2021-11-23 18:28:13 +01:00
Victor Engmark
cd838da194 vanity: Indent with spaces part 2
More risky since it affects the inside of strings.
2021-11-18 10:53:29 +13:00
Victor Engmark
90dbec47b7 vanity: Indent with spaces
Some literal tabs within strings should probably be spaces `\t`, but
I'm not familiar enough to make that call.
2021-11-14 16:04:46 +13:00
figsoda
5aaa5f5e75 pluginupdate.py: fix compatibility with nix 2.4 2021-11-13 17:33:43 +01:00
Robert Hensing
e04cc18f18 find-tarballs.nix: Avoid all passthru attrs
Avoiding passthru itself was the right direction, but not a
complete solution. Passthru attributes typically do not contain
dependencies, but rather extra paths that are not relevant to
the build itself.

Whether we want to include all (passthru) test dependencies this
way can be debated, but removing them makes this expression more
robust.
2021-11-04 16:00:32 +01:00
Jan Tojnar
a20a4af62a maintainers/scripts/update.nix: Support committing with nix-update-script
When updating a package using nix-update-script with `--argstr commit true`,
update.nix would not detect the changes because nix-update would stage them
and `git diff` would be empty.

We now detect both staged and unstaged changes to handle this use case.
2021-10-31 11:00:37 +01:00