Commit Graph

508 Commits

Author SHA1 Message Date
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
Emily
3b91a81423
treewide: remove redundant patches and locks (#354215) 2024-11-09 12:57:37 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
aleksana
b74fdd2386 treewide: remove redundant patches and locks
These files are no longer referenced.
2024-11-08 12:54:15 +08:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Philip Taron
2b12f69e85
spacenavd: resolve merge conflicts and address PR feedback 2024-11-04 09:02:39 -08:00
Shawn8901
1d0373d5ef epson-escpr2: 1.2.18 -> 1.2.20 2024-10-30 18:52:06 +01:00
Fabian Affolter
274118af66 hplip: remove enum-compat
Not needed on newer Python releases
2024-10-23 22:05:36 +02:00
Shawn8901
81369ea862 epson-escpr2: 1.2.13 -> 1.2.18 2024-10-12 23:12:40 +02:00
Peder Bergebakken Sundt
5968338068 infnoise: use finalAttrs.finalPackage 2024-09-24 23:28:55 +02: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
rnhmjoj
8b6de98899
sc-controller: 0.4.8.18 -> 0.4.8.21 2024-09-08 12:28:54 +02:00
sohalt
d909e89b6d spaacenavd: 1.2 -> 1.3 2024-09-04 19:01:41 +02:00
sohalt
3e4235b74f spacenavd: install upstream systemd unit 2024-09-04 19:01:22 +02:00
sohalt
b2e9fff168 spacenavd: 0.8 -> 1.2 2024-09-04 18:38:51 +02:00
R. Ryantm
2a33cfd513 sc-controller: 0.4.8.17 -> 0.4.8.18 2024-08-27 14:51:50 +00:00
Peder Bergebakken Sundt
500c3e5a5b
Merge pull request #334769 from pyrox0/xwiimote
xwiimote: 2 -> 2-unstable-2024-02-29
2024-08-17 04:46:19 +02:00
Felix Buehler
a41905ddf9 sundtek: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Pyrox
e7a3407223
xwiimote: migrate to pkgs/by-name 2024-08-14 15:45:29 -04:00
Shawn8901
c1d26a15a3 epson-escpr2: 1.2.12 -> 1.2.13
use autoreconfHook to avoid version incompatibilities,
use configureFlags for setting output of cupsppddir and cupsfilterdir
remove custom patch as it is overriden on autoreconf
2024-07-29 20:45:17 +02:00
arthsmn
52d2734b0c
hplip: remove arthsmn from maintainers 2024-07-22 22:59:38 -03:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
Maximilian Bosch
c7f54ca757
Merge pull request #325904 from Shawn8901/update-epson-escpr2
epson-escpr2: 1.2.11 -> 1.2.12
2024-07-12 10:41:28 +00:00
Sandro
eec72fd9d1
Merge pull request #325178 from alois31/hplip 2024-07-10 14:05:52 +02:00
Alois Wohlschlager
57428640ff
hplip: 3.23.8 -> 3.24.4
Remove a patch that does no longer apply and seems to be not needed any more.
2024-07-10 05:55:13 +02:00
Alois Wohlschlager
ac20a96efd
hplip: fix dependencies
Wrapping with gobject-introspection is required so that hp-systray is able to
find dbus. Sip4 is outdated and seems no longer required.
2024-07-10 05:55:05 +02:00
Peder Bergebakken Sundt
e5b4380d11
Merge pull request #321089 from deinferno/master
pantum-driver: 1.1.106 -> 1.1.123
2024-07-10 00:17:15 +02:00
Shawn8901
b64581addf epson-escpr2: 1.2.11 -> 1.2.12 2024-07-09 20:18:33 +02:00
Shawn8901
3996f01a89 epson-escpr2: format with nixfmt-rfc-style 2024-07-09 20:14:17 +02:00
John Chadwick
fc8576c062 hplip: fix 2024-07-08 20:26:45 -04:00
Vladimír Čunát
c76085b3a9
Merge branch 'master' into staging-next 2024-07-03 19:07:35 +02:00
Jussi Kuokkanen
9b4703cf14 pkgs/misc: remove licenses.gpl2 2024-07-03 14:24:14 +03:00
Martin Weinelt
9b79a05ae1
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/flexcache/default.nix
- pkgs/development/python-modules/flexparser/default.nix
- pkgs/development/python-modules/odp-amsterdam/default.nix
- pkgs/development/python-modules/pint/default.nix
- pkgs/development/python-modules/uncertainties/default.nix
- pkgs/top-level/python-packages.nix
2024-07-01 01:07:21 +02:00
rnhmjoj
6ac745ef3c
sc-controller: 0.4.8.13 -> 0.4.8.17
The Ryochan7's fork has been archived, development continues over at
C0rn3j's fork. Hopefully this will me merged into the official
project sooner or later...
2024-06-28 22:20:50 +02:00
github-actions[bot]
88140ced6d
Merge master into staging-next 2024-06-24 12:01:17 +00:00
Shawn8901
0415c9c1f4 epson-escpr2: 1.2.10 -> 1.2.11 2024-06-23 22:31:59 +02:00
deinferno
0097354da1 pantum-driver: 1.1.106 -> 1.1.123 2024-06-19 23:26:09 +05:00
Aleksana
ee9cf00e6d
Merge pull request #315240 from Cryolitia/ghost-font
ghostscript: add output `fonts`
2024-06-15 19:32:39 +08:00
Guillaume Girol
a5ca25f03d
Merge pull request #319840 from nova-r/new-plugin-epkowa
epkowa: add plugin for Perfection V100 Photo
2024-06-14 18:28:36 +02:00
nova madeline
82aeb7fba1
epkowa: add plugin for Perfection V100 Photo 2024-06-14 16:40:55 +02:00
Shawn8901
05ae9bdbb3 epson-escpr2: 1.2.9 -> 1.2.10 2024-06-13 22:25:09 +02: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
北雁 Cryolitia
93a9ca34fe
ghostscript: add output fonts 2024-05-28 11:50:34 +08:00
James Atkins
93349f742f epsonscan2: 6.7.61.0 -> 6.7.63.0 2024-05-05 08:46:50 -05:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Edu Renesto
147b07ffbb epkowa: add plugin for Perfection V550 Photo 2024-02-25 12:54:06 -03:00
Kyle Chui
5533f8b718
logiops: 0.2.3 -> 0.3.3
feat: Add multiple version support.

refactor: Remove unnecessary code.

The `DBus` handling is already done via the changed patch file.

chore: Fix formatting.

refactor: Remove confusing comment.

refactor: Abide by `by-name` CI.

https://github.com/NixOS/nixpkgs/actions/runs/7968015723/job/21751618054?pr=289701

fix: Remove unnecessary CMake build flag.

Nixpkgs already always builds Release, so this is redundant.
2024-02-22 16:51:01 -08:00
deinferno
7fc7fafa4f pantum-driver: 1.1.84 -> 1.1.106 2024-02-10 15:01:32 +05:00
Weijia Wang
753a9d9cee
Merge pull request #283327 from r-ryantm/auto-update/sc-controller
sc-controller: 0.4.8.11 -> 0.4.8.13
2024-02-04 21:53:15 +01:00