Commit Graph

68 Commits

Author SHA1 Message Date
Guillaume Girol
f57e9dddb6 paperwork: fix build with recent versions of setuptools
pkg_resources has been removed, backport a patch using the standard
library instead of pkg_resources.

Fixes: https://github.com/NixOS/nixpkgs/issues/544605
2026-07-22 12:00:00 +00:00
Jack Rosenberg
ccf5538a87 treewide: migrate to finalAttrs 2026-04-20 00:28:40 +02:00
Michael Daniels
075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05: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
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Guillaume Girol
69ace4daab paperwork: fix evaluation warning 2025-01-19 12:00:00 +00:00
Guillaume Girol
b4b301c5e0 paperwork: fix installing translations
without this backport, paperwork is always in english
2025-01-06 12:00:00 +00: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
R. Ryantm
34587b9f7e paperwork: 2.2.3 -> 2.2.5 2024-08-30 16:32:53 +00:00
Jan Tojnar
5c5c20919b adwaita-icon-theme: Move from gnome scope to top-level
It is widely used outside gnome – although it probably should not be.
2024-07-01 08:26:46 +02:00
Aleksana
1c266bfb55 Merge pull request #318545 from symphorien/paperwork_2_2_3
paperwork: 2.2.2 -> 2.2.3
2024-06-14 17:17:03 +08: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
Guillaume Girol
d1f9cadf4c paperwork: 2.2.2 -> 2.2.3
changelog: 620eb58061
2024-06-09 12:00:00 +00: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
Guillaume Girol
35d04eadef python3Packages.paperwork-backend: fix build with recent scipy
fixes https://github.com/NixOS/nixpkgs/issues/305476
2024-04-24 08:08:31 +00:00
R. Ryantm
58c9f5b31a paperwork: 2.2.1 -> 2.2.2 2024-02-13 11:24:43 +00:00
Sandro Jäckel
653837881e treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages}
which should be always preferred
2024-01-30 19:56:57 +01:00
Martin Weinelt
8056f9250c treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the
derivation version automatically, so setting it to that manually has
become redundant.

This also affects downstream consumers of setuptools-scm, like hatch-vcs
or flit-scm.
2023-12-20 20:16:39 +01:00
Vincenzo Mantova
2e4e6991ac paperwork: replace texlive.combine with texliveSmall.withPackages 2023-11-05 13:43:29 +00:00
Guillaume Girol
92a4b7e8ea paperwork: 2.2.0 -> 2.2.1 2023-10-22 14:11:45 +02:00
Guillaume Girol
f32a622d3a paperwork: 2.1.2 -> 2.2.0
changelog: https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/blob/develop/paperwork-gtk/ChangeLog
2023-10-22 14:11:39 +02:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Guillaume Girol
c3f3039fe3 paperwork: also install paperwork-json 2023-06-05 12:00:00 +00:00
Moritz 'e1mo' Fromm
bba33d60fc paperwork: Patch broken libreoffice path
Due to the changes in #219166, no suitable path to libreoffice was
found
2023-03-18 11:32:17 +01:00
Guillaume Girol
9466cb1ca9 paperwork: 2.1.1 -> 2.1.2
changelog: https://forum.openpaper.work/t/paperwork-2-1-2/281/1
2023-02-12 12:00:00 +00:00
Robert Schütz
84f5f37d7b Merge pull request #211641 from dotlambda/paperwork-backend-fix
paperwork: use Levenshtein
2023-01-21 11:40:52 -08:00
Guillaume Girol
0557ba0f57 paperwork: fix build
gensymb.sty used to be in the was package, but is not a standalone
package
2023-01-21 12:00:00 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Schütz
e360bcb537 paperwork: use Levenshtein 2023-01-20 13:35:30 -08:00
Robert Schütz
b29b626423 python310Packages.paperwork-backend: use Levenshtein 2023-01-19 11:59:19 -08:00
Robert Schütz
b3241be75d python310Packages.levenshtein: don't use alias 2023-01-09 06:09:31 -08:00
Sandro Jäckel
c7f5becba3 dbus: remove unused daemon passhtru 2022-11-21 20:23:00 +01:00
Guillaume Girol
f9229cd157 python3.pkgs.paperwork-backend: fix flaky test 2022-08-28 12:00:00 +00:00
Jonas Heinrich
22ad698760 python310Packages.paperwork-backend: Fix tests 2022-08-27 08:57:03 +02:00
Kira Bruneau
b70e50558e paperwork: fix updateScript 2022-04-23 15:30:56 -04:00
Guillaume Girol
486b613c7b python3.pkgs.openpaperwork-gtk: restrict platforms to linux 2022-02-07 12:00:00 +00:00
Guillaume Girol
abeeba16e7 python3.pkgs.openpaperwork-core: restrict platforms to linux 2022-02-07 12:00:00 +00:00
Guillaume Girol
b90abbc3bc paperwork: 2.1.0 -> 2.1.1 2022-02-03 12:00:00 +00:00
Guillaume Girol
ba9f4f3d31 paperwork: add an update-script 2022-02-03 12:00:00 +00:00
Guillaume Girol
48ad2dfdb4 paperwork: 2.0.3 -> 2.1.0 2021-12-05 12:00:00 +00:00
Robert Schütz
1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
Symphorien Gibol
dc3054b4ae paperwork: 2.0.2 -> 2.0.3 and compile user manual 2021-05-28 12:00:00 +00:00
Guillaume Girol
675c571703 Merge pull request #122382 from symphorien/paperworkpixbuf
paperwork: fix startup by adding GDK_PIXBUF_MODULE_FILE to wrapper
2021-05-10 06:08:53 +00:00
Guillaume Girol
ae4e6c8b7e paperwork: fix startup by adding GDK_PIXBUF_MODULE_FILE to wrapper 2021-05-09 12:00:00 +00:00
Robert Hensing
8e3c5eb501 treewide: xvfb_run -> xvfb-run 2021-05-08 15:48:41 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Guillaume Girol
bd54cf9602 paperwork: 2.0.1 -> 2.0.2
and cleanup
2021-01-02 19:08:54 +01:00
Symphorien Gibol
0c38b12059 paperwork: 2.0 -> 2.0.1 2020-11-15 15:46:53 +01:00
Symphorien Gibol
74b9066a39 paperwork: 1.3.1 -> 2.0 2020-11-15 15:46:53 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00