···2929 bubblewrap,
3030 autoconf,
3131 gnupg,
3232+3333+ # Disable the unshare RPM plugin, which can be useful if
3434+ # RPM is ran within the Nix sandbox.
3535+ disableUnshare ? true,
3236}:
33373438stdenv.mkDerivation rec {
···112116 ++ lib.optionals stdenv.hostPlatform.isDarwin [
113117 "-DWITH_LIBELF=OFF"
114118 "-DWITH_LIBDW=OFF"
119119+ ]
120120+ ++ lib.optionals disableUnshare [
121121+ "-DHAVE_UNSHARE=OFF"
115122 ];
116123117124 # rpm/rpmlib.h includes popt.h, and then the pkg-config file mentions these as linkage requirements
···452452 pushbullet = pushbullet-py; # Added 2022-10-15
453453 Pweave = pweave; # added 2023-02-19
454454 pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13
455455+ py3to2 = throw "py3to2 is unmaintained and source is no longer available"; # added 2024-10-23
455456 py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07
456457 py_stringmatching = py-stringmatching; # added 2023-11-12
457458 py17track = throw "py17track was removed because Home Assistant switched to pyseventeentrack"; # added 2024-08-08