Commit Graph

33 Commits

Author SHA1 Message Date
Niklas Hambüchen
1d8e1c790d ceph: 20.2.2 -> 20.2.3 2026-08-16 13:43:29 +00:00
Gaetan Lepage
6cd6e1b151 ceph: fix build for arrow-cpp 24 compatibility 2026-08-13 12:28:02 +00:00
Niklas Hambüchen
8e436db702 ceph: 20.2.1 -> 20.2.2 (#532516) 2026-06-19 11:43:54 +00:00
Niklas Hambüchen
6a69534ea0 ceph.tests: Add BlueStore multi-node tests with CephFS
This should give us higher confidence that changes don't break
real-world clusters.
Originally motivated by the fuse2 -> fuse3 change.

Assisted-by: Zoo Code with Claude Opus 4.8, human cleanup.
2026-06-18 10:32:51 +00:00
Niklas Hambüchen
d8d39bd436 ceph.tests: Rename FileStore tests to *-deprecated-filestore
Makes clear that there's not much point contributing new features to those.
2026-06-18 10:32:51 +00:00
Niklas Hambüchen
1c167cd5b4 ceph: 20.2.1 -> 20.2.2 2026-06-18 10:32:51 +00:00
Janne Heß
10b91b9543 ceph: Fix SAML authentication 2026-06-14 19:13:17 +02:00
benaryorg
e7632e4b9c ceph: fuse3
Migrate from fuse (2.x) to fuse3 (3.x) as per [the fuse migration tracking issue](https://redirect.github.com/NixOS/nixpkgs/issues/526161).

Note that the fuse specific patching (for remounting) is still required.
There is an intersecting version check for 3, however it does not affect functionality.

Signed-off-by: benaryorg <binary@benary.org>
2026-06-09 02:42:02 +00:00
Niklas Hambüchen
3828d1e9ba ceph: 20.2.0 -> 20.2.1 2026-04-11 00:45:21 +00:00
benaryorg
b3f38f8397 ceph: modern python build system invocation
Signed-off-by: benaryorg <binary@benary.org>
2026-04-11 00:45:20 +00:00
benaryorg
36f54b568e ceph: lib.cmake{Bool,Feature,OptionType}
Signed-off-by: benaryorg <binary@benary.org>
2026-04-11 00:45:20 +00:00
benaryorg
24b84ecea9 ceph: no null defaults
Signed-off-by: benaryorg <binary@benary.org>
2026-04-11 00:45:20 +00:00
benaryorg
d767cd1c72 ceph: 19.2.3 -> 20.2.0
Moving ceph to its own scope allows separate packages for individual components.
Among other benefits this makes overriding a single package for the entire build easier.
The primary reason however is to allow calling code to access *overrideScope* to change internal packages such as *ceph-src*.
Since the source code is used by multiple packages, notably the C++ and the Python code – independently – any patches that touch both (such as the PyO3 patch introduced herein) need to apply to both.
Using just packages with *patches* set makes this harder to control.

Material changes:

- Python: 3.11 -> 3.12
- Boost: 1.83 -> 1.87
- Ceph: 19.2.3 -> 20.2.0
- fmt: 9 -> 12
- changes in patches (new and old) due to the above updates
- Python dependencies on *jmespath* and *xmltodict*
- `replace-fail` for *substituteInPlace*
- UADK disabled by default (otherwise aarch64 fails to compile)
- *ceph-mgr* wrapper now adds ceph binaries to *PATH*
- ZFS integration on the packaging level has been removed

In-depth information for most of this can be found in [#494583](https://redirect.github.com/NixOS/nixpkgs/pull/494583).

Signed-off-by: benaryorg <binary@benary.org>
2026-04-11 00:45:20 +00:00
Stefan Frijters
4658bb1bd1 ceph: enable structuredAttrs for its own arrow-cpp 2026-02-15 11:26:46 +01:00
Martin Weinelt
e11f6b4260 python3Packages.pytest-subtests: drop
The plugin's functionaltiy is now part of pytest 9 and the the plugin
itself has been archived.
2026-02-01 16:40:29 +01:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Gutyina Gergő
cd8384670e ceph: remove superfluous pythonOlder 2026-01-19 10:31:49 +01:00
Gaël James
0e74d2b64c tree-wide: fetchgit, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromBitbucket, fetchFromSourcehut: use tag = instead of rev = refs/tags/... 2026-01-15 18:27:42 +01:00
Robert Schütz
1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00
aleksana
2bcb048cc8 ceph: fix build with gcc 15 2025-12-27 15:33:03 +08:00
nixpkgs-ci[bot]
98b2b03bb4 Merge staging-next into staging 2025-12-15 12:10:12 +00:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
dotlambda
195e2bc55c python3Packages.setuptools-rust: fix cross build for all setuptools-rust based packages (#467817) 2025-12-11 06:25:13 +00:00
Wolfgang Walther
46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +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
DavHau
e656303867 python3Packages.setuptools-rust: fix cross build for all setuptools-rust based packages
Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform.

The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere.

This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs.

This change fixes cross on all packages using `setuptools-rust` as a build-system.
2025-12-09 12:32:28 +07:00
Robert Schütz
4d74eb6ca0 Revert "ceph: remove unused dependency from httpcore"
This reverts commit ea34eac61b because the
dependency was removed from python3Packages.httpcore.
2025-11-29 16:30:58 -08:00
Robert Schütz
ea34eac61b ceph: remove unused dependency from httpcore
This fixes the build of ceph and can be reverted once
https://github.com/NixOS/nixpkgs/pull/462435 reaches master.
2025-11-29 10:32:37 -08:00
André Lima
4f1b9784fd ceph.arrow-cpp: pin to protobuf 32 2025-11-17 01:50:00 +00:00
Joshua Peek
936c86ea0c ceph: compile with systemd support flag 2025-10-24 17:47:46 -07:00
Joshua Peek
175a0fc138 ceph: patch getopt path at build time 2025-10-24 09:40:07 -07:00
Niklas Hambüchen
1bbcb16d61 ceph: Re-add comment, remove unnecessary rec 2025-10-24 12:37:26 +00:00
benaryorg
72ccd1e2cb pkgs/ceph: move to by-name
Signed-off-by: benaryorg <binary@benary.org>
2025-10-24 09:38:19 +00:00