Commit Graph

103 Commits

Author SHA1 Message Date
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Alvar Penning
6d7364a370 maintainers: remove oxzi 2026-03-23 21:16:43 +01:00
Michael Daniels
5ed07317e9 treewide: change 'format = "other";' to 'pyproject = false;'
Entirely find-and-replace based.

A few usages that would cause rebuilds if changed remain.

This PR should have 0 rebuilds.
2026-01-12 17:50:37 -05:00
Martin Weinelt
6a93f59a5f weechatScripts.wee-slack: 2.11.0 -> 2.11.0-unstable-2026-01-07
https://github.com/wee-slack/wee-slack/compare/v2.11.0...08a9cd05d482772e79d879e0b99ddd66a94d979d

Fixes compat with Slack APIs after yesterdays breaking changes, patches
would not apply cleanly.
2026-01-08 14:54:41 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Guy Chronister
693d7a42d3 various: fix superfluous use of pname 2025-09-23 18:19:55 -05:00
mivorasu
ee0866bddd treewide: conform descriptions to the standards 2025-07-28 04:39:00 +00:00
Martin Weinelt
ae4a1a485a treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
WilliButz
356d4fc91c treewide: remove myself from maintainers
This removes maintainer entries which haven't reflected reality for a
while, mostly due to a change in focus towards other topics.
2025-06-11 17:39:42 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Sigmanificient
670aba9a64 treewide: remove unused arguments 2025-03-13 18:00:11 +01:00
Wolfgang Walther
ebd18cf115 treewide: replace substituteAll with replaceVars (#1)
Driving #237216 forward.
2024-12-15 22:25:35 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Florian Klink
c4a7d64a87 weechatScripts.wee-slack: 2.10.2 -> 2.11.0
The can now drop the fetchpatch, as that fix landed in 2.11.0.
2024-10-11 18:38:56 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Emily
343ad0ee4a python3Packages.matrix-nio: add withOlm flag 2024-08-26 15:54:04 +01:00
Florian Klink
fcf94be0b0 weechatScripts.wee-slack: apply fix for wee-slack/wee-slack#930
Fixes #331131.
2024-08-05 18:42:09 +03:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Emily
4b1d39d935 treewide: remove myself from packages I don’t use
I’ve had an extended absence from Nix work and no longer actively
use a bunch of packages I used to maintain, so remove myself as a
maintainer from things I can’t usefully review/test changes for
as I ease back into things. This does unfortunately leave a few
packages orphaned (`stm32loader`, `tinyprog`, `python3Packages.fx2`,
and `python3Packages.jsonmerge`).
2024-06-15 16:53:23 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Jörg Thalheim
493ee15548 Merge pull request #308652 from bwkam/fix-matrix_upload-weechat
weechat-matrix: substitute matrix_upload
2024-05-22 21:05:09 +02:00
Florian Klink
b57154767c weechatScripts.autosort: init at 3.10
This provides autosort, which automatically keeps buffers sorted and
grouped by server.
2024-05-15 23:08:55 +00:00
bwkam
06cc2f266b weechat-matrix: change --replace to --replace-fail 2024-05-03 02:51:37 +03:00
bwkam
cdd1255284 weechat-matrix: substitute matrix_upload with the right nix store path 2024-05-03 02:42:16 +03:00
R. Ryantm
fcfa674276 weechatScripts.wee-slack: 2.10.1 -> 2.10.2 2024-02-24 13:19:35 +00:00
R. Ryantm
4859639097 weechatScripts.weechat-notify-send: 0.9 -> 0.10 2024-01-03 06:38:13 +00:00
Rob
a37d70e902 weechatScripts.weechat-matrix: Fix compatibility with matrix-nio 0.21
weechat-matrix script crashes at load time due to changes in matrix-nio.
Patching 'matrix/config.py' from this commit fixes it:
feae9fda26
2023-10-22 19:49:01 +00:00
Jörg Thalheim
d9c08b4568 weechatScripts.wee-slack: 2.10.0 -> 2.10.1
Diff: https://github.com/wee-slack/wee-slack/compare/v2.10.0...v2.10.1
2023-09-23 12:57:04 +02:00
Jörg Thalheim
0ca2129100 weechatScripts.wee-slack: 2.9.1 -> 2.10.0
Diff: https://github.com/wee-slack/wee-slack/compare/v2.9.1...v2.10.0
2023-08-25 09:21:38 +02:00
Jörg Thalheim
6d6e7bcfc7 weechatScripts.multiline: 0.6.3 -> 0.6.4 2023-07-10 15:39:24 +02:00
Jörg Thalheim
5dc4063487 weechatScripts.wee-slack: 2.9.0 -> 2.9.1
Diff: https://github.com/wee-slack/wee-slack/compare/v2.9.0...v2.9.1
2023-04-20 20:20:38 +02:00
Martin Weinelt
b484ba840b weechatScripts.weechat-matrix: Require matrix-nio[e2e] 2023-03-03 23:59:32 +01:00
Martin Weinelt
52d58e509a python310Packages.logbook: Normalize attribute, pname, dirname 2023-02-19 21:36:01 +01:00
Jörg Thalheim
104e8082de weechatScripts.matrix: fix build 2022-10-16 19:09:43 +02:00
WilliButz
514fecc96d weechatScripts.wee-slack: 2.8.0 -> 2.9.0
https://github.com/wee-slack/wee-slack/releases/tag/v2.9.0
2022-09-20 18:14:34 +02:00
Florian Klink
3d65b57933 Merge pull request #181444 from flokli/weechat-autosort-3.9
weechatScripts.weechat-autosort: add to maintainers, 3.8 -> 3.9
2022-07-22 14:35:29 +07:00
Florian Klink
9cb7efc496 weechatScripts.weechat-autosort: set license to gpl3Plus 2022-07-22 14:27:11 +07:00
Florian Klink
e5e213afb8 Update pkgs/applications/networking/irc/weechat/scripts/weechat-grep/default.nix
Co-authored-by: Moritz Böhme <mail@moritzboeh.me>
2022-07-22 13:55:55 +07:00
Florian Klink
0c07aac78b weechatScripts.weechat-grep: init at 0.8.5 2022-07-14 14:44:13 +07:00
Florian Klink
52ebfe0749 weechatScripts.weechat-autosort: 3.8 -> 3.9 2022-07-14 14:36:50 +07:00
Florian Klink
82ba6157fb weechatScripts.weechat-autosort: add myself to maintainers 2022-07-14 14:36:45 +07:00
Profpatsch
284d5486a5 weechat-matrix: fix startup crash
Python 3.10 has a bug in its SSL module.

Fixes: https://github.com/NixOS/nixpkgs/issues/178540
2022-06-27 14:35:24 +02:00
Sandro Jäckel
115475ff5b python310Packages.python-magic: normalise attr 2022-05-07 01:18:35 +02:00
Alvar Penning
22419c93cd weechat-otr: Fix build and knownVulnerabilities
First, this closes #167972 by explicitly disabling Python tests for the
backported pycrypto library. Those tests were written for Python 2 only.

Furthermore, the meta.knownVulnerabilities attribute was added as the
last weechat-otr upstream release was in 2018-03 [0] and the backported
Debian package of pycrypto is from 2020-04 [1]. As there are no known
vulnerabilities for weechat-otr itself, pycrypto "is unmaintained,
obsolete, and contains security vulnerabilities" [2]. Even with Debian's
patches, this is no good situation.

As weechat-otr being a security and privacy related software, it should
be made obvious, that its code base is old and unmaintained.

[0] https://github.com/mmb/weechat-otr/releases/tag/v1.9.2
[1] https://salsa.debian.org/sramacher/python-crypto/-/tags/debian%2F2.6.1-13.1
[2] https://www.pycrypto.org/
2022-04-09 14:01:21 +02:00
Alyssa Ross
bf12e3f2a3 weechatScripts.zncplayback: init at 0.2.1 2021-09-27 15:47:34 +00:00
Jason Felice
13bb5bc947 weechatScripts.edit: init at 1.0.2 (#135786)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-09-21 20:29:15 +02:00
Jason Felice
104c63a5ab weechatScripts.url_hint: init at 0.8 2021-08-25 16:34:25 -04:00