Merge #245935: staging-next 2023-07-28

+5002 -2267
+28 -2
doc/languages-frameworks/python.section.md
··· 1190 variables which will be available when the binary is run. For example, 1191 `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`. 1192 * `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this 1193 - defaults to `"python3.8-"` for Python 3.8, etc., and in case of applications 1194 - to `""`. 1195 * `pipInstallFlags ? []`: A list of strings. Arguments to be passed to `pip 1196 install`. To pass options to `python setup.py install`, use 1197 `--install-option`. E.g., `pipInstallFlags=["--install-option='--cpp_implementation'"]`. 1198 * `pythonPath ? []`: List of packages to be added into `$PYTHONPATH`. Packages 1199 in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`). 1200 * `preShellHook`: Hook to execute commands before `shellHook`. ··· 1248 1249 in python.withPackages(ps: [ ps.blaze ])).env 1250 ``` 1251 1252 #### Optional extra dependencies {#python-optional-dependencies} 1253 ··· 1468 - `flitBuildHook` to build a wheel using `flit`. 1469 - `pipBuildHook` to build a wheel using `pip` and PEP 517. Note a build system 1470 (e.g. `setuptools` or `flit`) should still be added as `nativeBuildInput`. 1471 - `pipInstallHook` to install wheels. 1472 - `pytestCheckHook` to run tests with `pytest`. See [example usage](#using-pytestcheckhook). 1473 - `pythonCatchConflictsHook` to check whether a Python package is not already existing.
··· 1190 variables which will be available when the binary is run. For example, 1191 `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`. 1192 * `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this 1193 + defaults to `"python3.8-"` for Python 3.8, etc., and in case of applications to `""`. 1194 * `pipInstallFlags ? []`: A list of strings. Arguments to be passed to `pip 1195 install`. To pass options to `python setup.py install`, use 1196 `--install-option`. E.g., `pipInstallFlags=["--install-option='--cpp_implementation'"]`. 1197 + * `pipBuildFlags ? []`: A list of strings. Arguments to be passed to `pip wheel`. 1198 + * `pypaBuildFlags ? []`: A list of strings. Arguments to be passed to `python -m build --wheel`. 1199 * `pythonPath ? []`: List of packages to be added into `$PYTHONPATH`. Packages 1200 in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`). 1201 * `preShellHook`: Hook to execute commands before `shellHook`. ··· 1249 1250 in python.withPackages(ps: [ ps.blaze ])).env 1251 ``` 1252 + 1253 + The next example shows a non trivial overriding of the `blas` implementation to 1254 + be used through out all of the Python package set: 1255 + 1256 + ```nix 1257 + python3MyBlas = pkgs.python3.override { 1258 + packageOverrides = self: super: { 1259 + # We need toPythonModule for the package set to evaluate this 1260 + blas = super.toPythonModule(super.pkgs.blas.override { 1261 + blasProvider = super.pkgs.mkl; 1262 + }); 1263 + lapack = super.toPythonModule(super.pkgs.lapack.override { 1264 + lapackProvider = super.pkgs.mkl; 1265 + }); 1266 + }; 1267 + }; 1268 + ``` 1269 + 1270 + This is particularly useful for numpy and scipy users who want to gain speed with other blas implementations. 1271 + Note that using simply `scipy = super.scipy.override { blas = super.pkgs.mkl; };` will likely result in 1272 + compilation issues, because scipy dependencies need to use the same blas implementation as well. 1273 1274 #### Optional extra dependencies {#python-optional-dependencies} 1275 ··· 1490 - `flitBuildHook` to build a wheel using `flit`. 1491 - `pipBuildHook` to build a wheel using `pip` and PEP 517. Note a build system 1492 (e.g. `setuptools` or `flit`) should still be added as `nativeBuildInput`. 1493 + - `pypaBuildHook` to build a wheel using 1494 + [`pypa/build`](https://pypa-build.readthedocs.io/en/latest/index.html) and 1495 + PEP 517/518. Note a build system (e.g. `setuptools` or `flit`) should still 1496 + be added as `nativeBuildInput`. 1497 - `pipInstallHook` to install wheels. 1498 - `pytestCheckHook` to run tests with `pytest`. See [example usage](#using-pytestcheckhook). 1499 - `pythonCatchConflictsHook` to check whether a Python package is not already existing.
+1 -1
pkgs/applications/audio/hushboard/default.nix
··· 26 27 nativeBuildInputs = [ 28 wrapGAppsHook 29 ]; 30 31 buildInputs = [ 32 - gobject-introspection 33 gtk3 34 libappindicator 35 libpulseaudio
··· 26 27 nativeBuildInputs = [ 28 wrapGAppsHook 29 + gobject-introspection 30 ]; 31 32 buildInputs = [ 33 gtk3 34 libappindicator 35 libpulseaudio
+4 -4
pkgs/applications/audio/ledfx/default.nix
··· 1 { lib 2 - , python3 3 , fetchPypi 4 }: 5 6 python3.pkgs.buildPythonPackage rec { 7 pname = "ledfx"; 8 - version = "2.0.67"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - hash = "sha256-lFxAMjglQZXCySr83PtvStU6hw2ucQu+rSjIHo1yZBk="; 14 }; 15 16 postPatch = '' ··· 52 doCheck = false; 53 54 meta = with lib; { 55 - description = "LedFx is a network based LED effect controller with support for advanced real-time audio effects"; 56 homepage = "https://github.com/LedFx/LedFx"; 57 changelog = "https://github.com/LedFx/LedFx/blob/${version}/CHANGELOG.rst"; 58 license = licenses.gpl3Only;
··· 1 { lib 2 , fetchPypi 3 + , python3 4 }: 5 6 python3.pkgs.buildPythonPackage rec { 7 pname = "ledfx"; 8 + version = "2.0.69"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + hash = "sha256-gkO6XYiPMkU/zRLvc0yd3jJXVcAgAkR1W1ELTSN461o="; 14 }; 15 16 postPatch = '' ··· 52 doCheck = false; 53 54 meta = with lib; { 55 + description = "Network based LED effect controller with support for advanced real-time audio effects"; 56 homepage = "https://github.com/LedFx/LedFx"; 57 changelog = "https://github.com/LedFx/LedFx/blob/${version}/CHANGELOG.rst"; 58 license = licenses.gpl3Only;
+2 -2
pkgs/applications/audio/lyrebird/default.nix
··· 34 35 propagatedBuildInputs = with python3Packages; [ toml pygobject3 ]; 36 37 - nativeBuildInputs = [ wrapGAppsHook ]; 38 39 - buildInputs = [ gtk3 gobject-introspection sox ]; 40 41 dontWrapGApps = true; 42 makeWrapperArgs = [
··· 34 35 propagatedBuildInputs = with python3Packages; [ toml pygobject3 ]; 36 37 + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 38 39 + buildInputs = [ gtk3 sox ]; 40 41 dontWrapGApps = true; 42 makeWrapperArgs = [
+1 -1
pkgs/applications/audio/rhythmbox/default.nix
··· 52 itstool 53 wrapGAppsHook 54 desktop-file-utils 55 ]; 56 57 buildInputs = [ ··· 72 brasero 73 grilo 74 75 - gobject-introspection 76 python3.pkgs.pygobject3 77 78 gst_all_1.gstreamer
··· 52 itstool 53 wrapGAppsHook 54 desktop-file-utils 55 + gobject-introspection 56 ]; 57 58 buildInputs = [ ··· 73 brasero 74 grilo 75 76 python3.pkgs.pygobject3 77 78 gst_all_1.gstreamer
+1 -1
pkgs/applications/audio/soundconverter/default.nix
··· 17 buildInputs = [ 18 gtk3 19 fdk-aac-encoder 20 - gobject-introspection 21 gst_all_1.gst-libav 22 gst_all_1.gst-plugins-base 23 gst_all_1.gst-plugins-good ··· 28 nativeBuildInputs = [ 29 intltool 30 wrapGAppsHook 31 ]; 32 33 propagatedBuildInputs = [
··· 17 buildInputs = [ 18 gtk3 19 fdk-aac-encoder 20 gst_all_1.gst-libav 21 gst_all_1.gst-plugins-base 22 gst_all_1.gst-plugins-good ··· 27 nativeBuildInputs = [ 28 intltool 29 wrapGAppsHook 30 + gobject-introspection 31 ]; 32 33 propagatedBuildInputs = [
+1 -1
pkgs/applications/audio/tauon/default.nix
··· 70 nativeBuildInputs = [ 71 pkg-config 72 python3Packages.wrapPython 73 ]; 74 75 buildInputs = [ 76 flac 77 - gobject-introspection 78 gtk3 79 libappindicator 80 libnotify
··· 70 nativeBuildInputs = [ 71 pkg-config 72 python3Packages.wrapPython 73 + gobject-introspection 74 ]; 75 76 buildInputs = [ 77 flac 78 gtk3 79 libappindicator 80 libnotify
+2 -2
pkgs/applications/editors/apostrophe/default.nix
··· 24 }; 25 26 nativeBuildInputs = [ meson ninja pkg-config desktop-file-utils 27 - appstream-glib wrapGAppsHook sassc ]; 28 29 - buildInputs = [ glib pythonEnv gobject-introspection gtk3 30 gnome.adwaita-icon-theme webkitgtk gspell texlive 31 glib-networking libhandy ]; 32
··· 24 }; 25 26 nativeBuildInputs = [ meson ninja pkg-config desktop-file-utils 27 + appstream-glib wrapGAppsHook sassc gobject-introspection ]; 28 29 + buildInputs = [ glib pythonEnv gtk3 30 gnome.adwaita-icon-theme webkitgtk gspell texlive 31 glib-networking libhandy ]; 32
+2 -2
pkgs/applications/editors/gnome-inform7/default.nix
··· 23 docbook2x 24 docbook-xsl-nons 25 wrapGAppsHook 26 ]; 27 buildInputs = [ 28 gtk3 29 - gobject-introspection 30 vala gtk-doc 31 ]; 32 }); ··· 50 python3 51 glib 52 wrapGAppsHook 53 ]; 54 buildInputs = [ 55 gtk3 56 - gobject-introspection 57 vala 58 gtk-doc 59 gst_all_1.gstreamer
··· 23 docbook2x 24 docbook-xsl-nons 25 wrapGAppsHook 26 + gobject-introspection 27 ]; 28 buildInputs = [ 29 gtk3 30 vala gtk-doc 31 ]; 32 }); ··· 50 python3 51 glib 52 wrapGAppsHook 53 + gobject-introspection 54 ]; 55 buildInputs = [ 56 gtk3 57 vala 58 gtk-doc 59 gst_all_1.gstreamer
+1 -2
pkgs/applications/editors/vim/plugins/overrides.nix
··· 1075 svedbackend = stdenv.mkDerivation { 1076 name = "svedbackend-${super.sved.name}"; 1077 inherit (super.sved) src; 1078 - nativeBuildInputs = [ wrapGAppsHook ]; 1079 buildInputs = [ 1080 - gobject-introspection 1081 glib 1082 (python3.withPackages (ps: with ps; [ pygobject3 pynvim dbus-python ])) 1083 ];
··· 1075 svedbackend = stdenv.mkDerivation { 1076 name = "svedbackend-${super.sved.name}"; 1077 inherit (super.sved) src; 1078 + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 1079 buildInputs = [ 1080 glib 1081 (python3.withPackages (ps: with ps; [ pygobject3 pynvim dbus-python ])) 1082 ];
-1
pkgs/applications/file-managers/portfolio-filemanager/default.nix
··· 49 buildInputs = [ 50 glib 51 gtk3 52 - gobject-introspection 53 libhandy 54 librsvg 55 ];
··· 49 buildInputs = [ 50 glib 51 gtk3 52 libhandy 53 librsvg 54 ];
+5
pkgs/applications/graphics/imgp/default.nix
··· 11 sha256 = "1miabaxd5pwxn0va4drzj1d4ppxvyqsrrd4xw1j6qr52yci0lms8"; 12 }; 13 14 propagatedBuildInputs = [ pillow ]; 15 16 installFlags = [
··· 11 sha256 = "1miabaxd5pwxn0va4drzj1d4ppxvyqsrrd4xw1j6qr52yci0lms8"; 12 }; 13 14 + postPatch = '' 15 + substituteInPlace imgp \ 16 + --replace "Image.ANTIALIAS" "Image.Resampling.LANCZOS" 17 + ''; 18 + 19 propagatedBuildInputs = [ pillow ]; 20 21 installFlags = [
-1
pkgs/applications/graphics/komikku/default.nix
··· 47 libadwaita 48 libnotify 49 webkitgtk_6_0 50 - gobject-introspection 51 ]; 52 53 propagatedBuildInputs = with python3.pkgs; [
··· 47 libadwaita 48 libnotify 49 webkitgtk_6_0 50 ]; 51 52 propagatedBuildInputs = with python3.pkgs; [
+1 -1
pkgs/applications/graphics/ocrfeeder/default.nix
··· 31 intltool 32 itstool 33 libxml2 34 ]; 35 36 buildInputs = [ 37 gtk3 38 - gobject-introspection 39 goocanvas2 40 gtkspell3 41 isocodes
··· 31 intltool 32 itstool 33 libxml2 34 + gobject-introspection 35 ]; 36 37 buildInputs = [ 38 gtk3 39 goocanvas2 40 gtkspell3 41 isocodes
+5 -4
pkgs/applications/graphics/rapid-photo-downloader/default.nix
··· 26 nativeBuildInputs = [ 27 file 28 intltool 29 ]; 30 31 # Package has no generally usable unit tests. ··· 37 $out/bin/rapid-photo-downloader --detailed-version 38 ''; 39 40 - # NOTE: Without gobject-introspection in buildInputs and strictDeps = false, 41 - # launching fails with: 42 - # "Namespace [Notify / GExiv2 / GUdev] not available" 43 buildInputs = [ 44 gdk-pixbuf 45 gexiv2 46 - gobject-introspection 47 gst_all_1.gst-libav 48 gst_all_1.gst-plugins-base 49 gst_all_1.gst-plugins-good ··· 54 udisks 55 ]; 56 57 strictDeps = false; 58 59 propagatedBuildInputs = with python3Packages; [
··· 26 nativeBuildInputs = [ 27 file 28 intltool 29 + gobject-introspection 30 ]; 31 32 # Package has no generally usable unit tests. ··· 38 $out/bin/rapid-photo-downloader --detailed-version 39 ''; 40 41 buildInputs = [ 42 gdk-pixbuf 43 gexiv2 44 gst_all_1.gst-libav 45 gst_all_1.gst-plugins-base 46 gst_all_1.gst-plugins-good ··· 51 udisks 52 ]; 53 54 + # NOTE: Check if strictDeps can be renabled 55 + # at the time of writing this the dependency easygui fails to build 56 + # launching fails with: 57 + # "Namespace [Notify / GExiv2 / GUdev] not available" 58 strictDeps = false; 59 60 propagatedBuildInputs = with python3Packages; [
+1 -1
pkgs/applications/misc/auto-multiple-choice/default.nix
··· 99 pkg-config 100 makeWrapper 101 wrapGAppsHook 102 ]; 103 104 buildInputs = [ ··· 106 cairo.dev 107 dblatex 108 gnumake 109 - gobject-introspection 110 graphicsmagick 111 gsettings-desktop-schemas 112 gtk3
··· 99 pkg-config 100 makeWrapper 101 wrapGAppsHook 102 + gobject-introspection 103 ]; 104 105 buildInputs = [ ··· 107 cairo.dev 108 dblatex 109 gnumake 110 graphicsmagick 111 gsettings-desktop-schemas 112 gtk3
-1
pkgs/applications/misc/caerbannog/default.nix
··· 38 buildInputs = [ 39 gtk3 40 atk 41 - gobject-introspection 42 libhandy 43 libnotify 44 pango
··· 38 buildInputs = [ 39 gtk3 40 atk 41 libhandy 42 libnotify 43 pango
-2
pkgs/applications/misc/cobang/default.nix
··· 59 buildInputs = [ 60 atk 61 gdk-pixbuf 62 - # Needed to detect namespaces 63 - gobject-introspection 64 gst-plugins-good 65 libhandy 66 networkmanager
··· 59 buildInputs = [ 60 atk 61 gdk-pixbuf 62 gst-plugins-good 63 libhandy 64 networkmanager
+1 -1
pkgs/applications/misc/confy/default.nix
··· 32 ninja 33 pkg-config 34 wrapGAppsHook 35 ]; 36 37 buildInputs = [ 38 - gobject-introspection 39 gtk4 40 libadwaita 41 libnotify
··· 32 ninja 33 pkg-config 34 wrapGAppsHook 35 + gobject-introspection 36 ]; 37 38 buildInputs = [ 39 gtk4 40 libadwaita 41 libnotify
-1
pkgs/applications/misc/dialect/default.nix
··· 45 buildInputs = [ 46 gtk4 47 glib 48 - gobject-introspection 49 gst_all_1.gstreamer 50 gst_all_1.gst-plugins-base 51 libsoup_3
··· 45 buildInputs = [ 46 gtk4 47 glib 48 gst_all_1.gstreamer 49 gst_all_1.gst-plugins-base 50 libsoup_3
+9 -3
pkgs/applications/misc/digitalbitbox/default.nix
··· 103 cp src/hidapi/libusb/.libs/*.so* $out/lib 104 cp src/univalue/.libs/*.so* $out/lib 105 106 - # [RPATH][patchelf] Avoid forbidden reference error 107 - rm -rf $PWD 108 - 109 # Provide udev rules as documented in https://digitalbitbox.com/start_linux 110 mkdir -p "$out/etc/udev/rules.d" 111 ${copyUdevRuleToOutput "51-hid-digitalbox.rules" udevRule51} 112 ${copyUdevRuleToOutput "52-hid-digitalbox.rules" udevRule52} 113 ''; 114 115 enableParallelBuilding = true;
··· 103 cp src/hidapi/libusb/.libs/*.so* $out/lib 104 cp src/univalue/.libs/*.so* $out/lib 105 106 # Provide udev rules as documented in https://digitalbitbox.com/start_linux 107 mkdir -p "$out/etc/udev/rules.d" 108 ${copyUdevRuleToOutput "51-hid-digitalbox.rules" udevRule51} 109 ${copyUdevRuleToOutput "52-hid-digitalbox.rules" udevRule52} 110 + ''; 111 + 112 + # remove forbidden references to $TMPDIR 113 + preFixup = '' 114 + for f in "$out"/{bin,lib}/*; do 115 + if [ -f "$f" ] && isELF "$f"; then 116 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 117 + fi 118 + done 119 ''; 120 121 enableParallelBuilding = true;
+2 -2
pkgs/applications/misc/gramps/default.nix
··· 12 version = "5.1.4"; 13 pname = "gramps"; 14 15 - nativeBuildInputs = [ wrapGAppsHook intltool gettext ]; 16 - buildInputs = [ gtk3 gobject-introspection pango gexiv2 ] 17 # Map support 18 ++ lib.optionals enableOSM [ osm-gps-map glib-networking ] 19 # Graphviz support
··· 12 version = "5.1.4"; 13 pname = "gramps"; 14 15 + nativeBuildInputs = [ wrapGAppsHook intltool gettext gobject-introspection ]; 16 + buildInputs = [ gtk3 pango gexiv2 ] 17 # Map support 18 ++ lib.optionals enableOSM [ osm-gps-map glib-networking ] 19 # Graphviz support
+1
pkgs/applications/misc/haxor-news/default.nix
··· 22 inherit version; 23 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 24 }; 25 }); 26 }; 27 };
··· 22 inherit version; 23 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 24 }; 25 + disabledTests = [ "test_bytes_args" ]; 26 }); 27 }; 28 };
+2 -2
pkgs/applications/misc/markets/default.nix
··· 17 18 nativeBuildInputs = [ 19 desktop-file-utils glib gtk3 meson ninja pkg-config python3 vala 20 - wrapGAppsHook 21 ]; 22 buildInputs = [ 23 - glib glib-networking gobject-introspection gtk3 json-glib libgee libhandy 24 libsoup 25 ]; 26
··· 17 18 nativeBuildInputs = [ 19 desktop-file-utils glib gtk3 meson ninja pkg-config python3 vala 20 + wrapGAppsHook gobject-introspection 21 ]; 22 buildInputs = [ 23 + glib glib-networking gtk3 json-glib libgee libhandy 24 libsoup 25 ]; 26
+2 -2
pkgs/applications/misc/nwg-drawer/default.nix
··· 22 23 vendorHash = "sha256-RehZ86XuFs1kbm9V3cgPz1SPG3izK7/6fHQjPTHOYZs="; 24 25 - buildInputs = [ cairo gobject-introspection gtk3 gtk-layer-shell ]; 26 - nativeBuildInputs = [ pkg-config wrapGAppsHook ]; 27 28 doCheck = false; 29
··· 22 23 vendorHash = "sha256-RehZ86XuFs1kbm9V3cgPz1SPG3izK7/6fHQjPTHOYZs="; 24 25 + buildInputs = [ cairo gtk3 gtk-layer-shell ]; 26 + nativeBuildInputs = [ pkg-config wrapGAppsHook gobject-introspection ]; 27 28 doCheck = false; 29
+1
pkgs/applications/misc/privacyidea/default.nix
··· 103 inherit version; 104 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 105 }; 106 }); 107 # Now requires `lingua` as check input that requires a newer `click`, 108 # however `click-7` is needed by the older flask we need here. Since it's just
··· 103 inherit version; 104 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 105 }; 106 + disabledTests = [ "test_bytes_args" ]; # https://github.com/pallets/click/commit/6e05e1fa1c2804 107 }); 108 # Now requires `lingua` as check input that requires a newer `click`, 109 # however `click-7` is needed by the older flask we need here. Since it's just
+1 -1
pkgs/applications/misc/redshift/default.nix
··· 33 pkg-config 34 wrapGAppsHook 35 wrapPython 36 ]; 37 38 configureFlags = [ ··· 47 ]; 48 49 buildInputs = [ 50 - gobject-introspection 51 gtk3 52 python 53 ] ++ lib.optional withRandr libxcb
··· 33 pkg-config 34 wrapGAppsHook 35 wrapPython 36 + gobject-introspection 37 ]; 38 39 configureFlags = [ ··· 48 ]; 49 50 buildInputs = [ 51 gtk3 52 python 53 ] ++ lib.optional withRandr libxcb
+1 -1
pkgs/applications/misc/shipments/default.nix
··· 29 ninja 30 pkg-config 31 wrapGAppsHook 32 ]; 33 34 buildInputs = [ 35 - gobject-introspection 36 gtk3 37 libhandy 38 (python3.withPackages (ps: with ps; [
··· 29 ninja 30 pkg-config 31 wrapGAppsHook 32 + gobject-introspection 33 ]; 34 35 buildInputs = [ 36 gtk3 37 libhandy 38 (python3.withPackages (ps: with ps; [
+1 -1
pkgs/applications/misc/siglo/default.nix
··· 40 python3 41 desktop-file-utils 42 gtk3 43 ]; 44 45 buildInputs = [ 46 gtk3 47 python3.pkgs.gatt 48 - gobject-introspection 49 ]; 50 51 pythonPath = with python3.pkgs; [
··· 40 python3 41 desktop-file-utils 42 gtk3 43 + gobject-introspection 44 ]; 45 46 buildInputs = [ 47 gtk3 48 python3.pkgs.gatt 49 ]; 50 51 pythonPath = with python3.pkgs; [
-1
pkgs/applications/misc/skytemple/default.nix
··· 20 }; 21 22 buildInputs = [ 23 - gobject-introspection 24 gtk3 25 gtksourceview4 26 # webkitgkt is used for rendering interactive statistics graph which
··· 20 }; 21 22 buildInputs = [ 23 gtk3 24 gtksourceview4 25 # webkitgkt is used for rendering interactive statistics graph which
-1
pkgs/applications/misc/sticky/default.nix
··· 33 34 buildInputs = [ 35 glib 36 - gobject-introspection 37 cinnamon.xapp 38 gspell 39 ];
··· 33 34 buildInputs = [ 35 glib 36 cinnamon.xapp 37 gspell 38 ];
+1 -1
pkgs/applications/misc/swaysettings/default.nix
··· 46 python3 47 vala 48 wrapGAppsHook 49 ]; 50 51 buildInputs = [ 52 accountsservice 53 dbus 54 glib 55 - gobject-introspection 56 gsettings-desktop-schemas 57 gtk-layer-shell 58 gtk3
··· 46 python3 47 vala 48 wrapGAppsHook 49 + gobject-introspection 50 ]; 51 52 buildInputs = [ 53 accountsservice 54 dbus 55 glib 56 gsettings-desktop-schemas 57 gtk-layer-shell 58 gtk3
+2 -1
pkgs/applications/misc/tuhi/default.nix
··· 34 pkg-config meson ninja 35 appstream-glib desktop-file-utils 36 wrapGAppsHook 37 ]; 38 buildInputs = [ 39 - gtk3 gobject-introspection 40 glib 41 ]; 42 nativeCheckInputs = with python3Packages; [ flake8 pytest ];
··· 34 pkg-config meson ninja 35 appstream-glib desktop-file-utils 36 wrapGAppsHook 37 + gobject-introspection 38 ]; 39 buildInputs = [ 40 + gtk3 41 glib 42 ]; 43 nativeCheckInputs = with python3Packages; [ flake8 pytest ];
-1
pkgs/applications/misc/variety/default.nix
··· 38 39 buildInputs = [ 40 gexiv2 41 - gobject-introspection 42 gtk3 43 hicolor-icon-theme 44 libnotify
··· 38 39 buildInputs = [ 40 gexiv2 41 gtk3 42 hicolor-icon-theme 43 libnotify
+1 -1
pkgs/applications/misc/workrave/default.nix
··· 55 pkg-config 56 wrapGAppsHook 57 jinja2 58 ]; 59 60 buildInputs = [ ··· 62 libSM 63 libXScrnSaver 64 libXtst 65 - gobject-introspection 66 glib 67 glibmm 68 gtkmm3
··· 55 pkg-config 56 wrapGAppsHook 57 jinja2 58 + gobject-introspection 59 ]; 60 61 buildInputs = [ ··· 63 libSM 64 libXScrnSaver 65 libXtst 66 glib 67 glibmm 68 gtkmm3
+10
pkgs/applications/networking/browsers/elinks/default.nix
··· 5 enableGuile ? false, guile ? null 6 , enablePython ? false, python ? null 7 , enablePerl ? (!stdenv.isDarwin) && (stdenv.hostPlatform == stdenv.buildPlatform), perl ? null 8 # re-add javascript support when upstream supports modern spidermonkey 9 }: 10 ··· 21 rev = "v${version}"; 22 sha256 = "sha256-u6QGhfi+uWeIzSUFuYHAH3Xu0Fky0yw2h4NOKgYFLsM="; 23 }; 24 25 buildInputs = [ 26 ncurses libX11 bzip2 zlib brotli zstd xz
··· 5 enableGuile ? false, guile ? null 6 , enablePython ? false, python ? null 7 , enablePerl ? (!stdenv.isDarwin) && (stdenv.hostPlatform == stdenv.buildPlatform), perl ? null 8 + , fetchpatch 9 # re-add javascript support when upstream supports modern spidermonkey 10 }: 11 ··· 22 rev = "v${version}"; 23 sha256 = "sha256-u6QGhfi+uWeIzSUFuYHAH3Xu0Fky0yw2h4NOKgYFLsM="; 24 }; 25 + 26 + patches = [ 27 + # Fix build bug with perl 5.38.0. Backport of https://github.com/rkd77/elinks/pull/243 by gentoo: 28 + # https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfefaa456bd69bc14e3a1c2c6c1b0cc19c6b0869 29 + (fetchpatch { 30 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/elinks/files/elinks-0.16.1.1-perl-5.38.patch?id=dfefaa456bd69bc14e3a1c2c6c1b0cc19c6b0869"; 31 + hash = "sha256-bHP9bc/l7VEw7oXlkSUQhhuq8rT2QTahh9SM7ZJgK5w="; 32 + }) 33 + ]; 34 35 buildInputs = [ 36 ncurses libX11 bzip2 zlib brotli zstd xz
-1
pkgs/applications/networking/browsers/eolie/default.nix
··· 28 29 buildInputs = with gst_all_1; [ 30 glib-networking 31 - gobject-introspection 32 gst-libav 33 gst-plugins-base 34 gst-plugins-ugly
··· 28 29 buildInputs = with gst_all_1; [ 30 glib-networking 31 gst-libav 32 gst-plugins-base 33 gst-plugins-ugly
+8 -2
pkgs/applications/networking/flexget/default.nix
··· 22 sed 's/[~<>=][^;]*//' -i requirements.txt 23 ''; 24 25 - # ~400 failures 26 - doCheck = false; 27 28 propagatedBuildInputs = with python3.pkgs; [ 29 # See https://github.com/Flexget/Flexget/blob/master/requirements.txt ··· 42 packaging 43 psutil 44 pynzb 45 pyrss2gen 46 python-dateutil 47 pyyaml ··· 72 "flexget" 73 "flexget.plugins.clients.transmission" 74 ]; 75 76 meta = with lib; { 77 homepage = "https://flexget.com/";
··· 22 sed 's/[~<>=][^;]*//' -i requirements.txt 23 ''; 24 25 + nativeBuildInputs = with python3.pkgs; [ 26 + setuptools 27 + wheel 28 + ]; 29 30 propagatedBuildInputs = with python3.pkgs; [ 31 # See https://github.com/Flexget/Flexget/blob/master/requirements.txt ··· 44 packaging 45 psutil 46 pynzb 47 + pyrsistent 48 pyrss2gen 49 python-dateutil 50 pyyaml ··· 75 "flexget" 76 "flexget.plugins.clients.transmission" 77 ]; 78 + 79 + # ~400 failures 80 + doCheck = false; 81 82 meta = with lib; { 83 homepage = "https://flexget.com/";
+1 -1
pkgs/applications/networking/instant-messengers/dino/default.nix
··· 46 pkg-config 47 wrapGAppsHook 48 gettext 49 ]; 50 51 buildInputs = [ 52 qrencode 53 - gobject-introspection 54 glib 55 glib-networking # required for TLS support 56 libadwaita
··· 46 pkg-config 47 wrapGAppsHook 48 gettext 49 + gobject-introspection 50 ]; 51 52 buildInputs = [ 53 qrencode 54 glib 55 glib-networking # required for TLS support 56 libadwaita
+2 -2
pkgs/applications/networking/instant-messengers/gajim/default.nix
··· 31 format = "pyproject"; 32 33 buildInputs = [ 34 - gobject-introspection gtk3 gnome.adwaita-icon-theme 35 gtksourceview4 36 glib-networking 37 ] ++ lib.optionals enableJingle [ farstream gstreamer gst-plugins-base gst-libav gst-plugins-good libnice ] ··· 41 ++ lib.optional enableAppIndicator libappindicator-gtk3; 42 43 nativeBuildInputs = [ 44 - gettext wrapGAppsHook 45 ]; 46 47 dontWrapGApps = true;
··· 31 format = "pyproject"; 32 33 buildInputs = [ 34 + gtk3 gnome.adwaita-icon-theme 35 gtksourceview4 36 glib-networking 37 ] ++ lib.optionals enableJingle [ farstream gstreamer gst-plugins-base gst-libav gst-plugins-good libnice ] ··· 41 ++ lib.optional enableAppIndicator libappindicator-gtk3; 42 43 nativeBuildInputs = [ 44 + gettext wrapGAppsHook gobject-introspection 45 ]; 46 47 dontWrapGApps = true;
+1 -2
pkgs/applications/networking/instant-messengers/gotktrix/default.nix
··· 23 buildInputs = [ 24 gtk4 25 glib 26 - gobject-introspection 27 ]; 28 29 - nativeBuildInputs = [ pkg-config ]; 30 31 # Checking requires a working display 32 doCheck = false;
··· 23 buildInputs = [ 24 gtk4 25 glib 26 ]; 27 28 + nativeBuildInputs = [ pkg-config gobject-introspection ]; 29 30 # Checking requires a working display 31 doCheck = false;
+1 -2
pkgs/applications/networking/instant-messengers/mikutter/default.nix
··· 78 sha256 = "05253nz4i1lmnq6czj48qdab2ny4vx2mznj6nsn2l1m2z6zqkwk3"; 79 }; 80 81 - nativeBuildInputs = [ copyDesktopItems wrapGAppsHook ] 82 ++ lib.optionals stdenv.isDarwin [ libicns ]; 83 buildInputs = [ 84 atk 85 gtk2 86 - gobject-introspection 87 libnotify 88 which # some plugins use it at runtime 89 wrappedRuby
··· 78 sha256 = "05253nz4i1lmnq6czj48qdab2ny4vx2mznj6nsn2l1m2z6zqkwk3"; 79 }; 80 81 + nativeBuildInputs = [ copyDesktopItems wrapGAppsHook gobject-introspection ] 82 ++ lib.optionals stdenv.isDarwin [ libicns ]; 83 buildInputs = [ 84 atk 85 gtk2 86 libnotify 87 which # some plugins use it at runtime 88 wrappedRuby
+1 -1
pkgs/applications/networking/mailreaders/mailnag/default.nix
··· 41 gst_all_1.gst-plugins-base 42 gst_all_1.gst-plugins-good 43 gst_all_1.gst-plugins-bad 44 - gobject-introspection 45 libsecret 46 ] ++ pluginsDeps; 47 48 nativeBuildInputs = [ 49 gettext 50 wrapGAppsHook 51 # To later add plugins to 52 xorg.lndir 53 ];
··· 41 gst_all_1.gst-plugins-base 42 gst_all_1.gst-plugins-good 43 gst_all_1.gst-plugins-bad 44 libsecret 45 ] ++ pluginsDeps; 46 47 nativeBuildInputs = [ 48 gettext 49 wrapGAppsHook 50 + gobject-introspection 51 # To later add plugins to 52 xorg.lndir 53 ];
+4 -1
pkgs/applications/networking/mailreaders/mailnag/goa-plugin.nix
··· 16 sha256 = "0bij6cy96nhq7xzslx0fnhmiac629h0x4wgy67k4i4npwqw10680"; 17 }; 18 19 buildInputs = [ 20 - gobject-introspection 21 gnome-online-accounts 22 ]; 23
··· 16 sha256 = "0bij6cy96nhq7xzslx0fnhmiac629h0x4wgy67k4i4npwqw10680"; 17 }; 18 19 + nativeBuildInputs = [ 20 + gobject-introspection 21 + ]; 22 + 23 buildInputs = [ 24 gnome-online-accounts 25 ]; 26
+1 -1
pkgs/applications/networking/newsreaders/liferea/default.nix
··· 36 python3Packages.wrapPython 37 intltool 38 pkg-config 39 ]; 40 41 buildInputs = [ ··· 49 libpeas 50 gsettings-desktop-schemas 51 json-glib 52 - gobject-introspection 53 libsecret 54 glib-networking 55 libnotify
··· 36 python3Packages.wrapPython 37 intltool 38 pkg-config 39 + gobject-introspection 40 ]; 41 42 buildInputs = [ ··· 50 libpeas 51 gsettings-desktop-schemas 52 json-glib 53 libsecret 54 glib-networking 55 libnotify
+1 -1
pkgs/applications/office/bookworm/default.nix
··· 44 pkg-config 45 vala 46 wrapGAppsHook 47 ]; 48 49 buildInputs = [ 50 appstream 51 desktop-file-utils 52 glib 53 - gobject-introspection 54 gtk3 55 html2text 56 libgee
··· 44 pkg-config 45 vala 46 wrapGAppsHook 47 + gobject-introspection 48 ]; 49 50 buildInputs = [ 51 appstream 52 desktop-file-utils 53 glib 54 gtk3 55 html2text 56 libgee
+1 -2
pkgs/applications/office/foliate/default.nix
··· 13 sha256 = "sha256-Pr2YA2MHXD4W7lyCxGAVLKyoZarZ8t92RSkWle3LNuc="; 14 }; 15 16 - nativeBuildInputs = [ meson ninja python3 wrapGAppsHook ]; 17 18 postPatch = '' 19 patchShebangs build-aux/meson/postinstall.py ··· 32 gtk3 33 webkitgtk 34 desktop-file-utils 35 - gobject-introspection 36 gsettings-desktop-schemas 37 ]; 38
··· 13 sha256 = "sha256-Pr2YA2MHXD4W7lyCxGAVLKyoZarZ8t92RSkWle3LNuc="; 14 }; 15 16 + nativeBuildInputs = [ meson ninja python3 wrapGAppsHook gobject-introspection ]; 17 18 postPatch = '' 19 patchShebangs build-aux/meson/postinstall.py ··· 32 gtk3 33 webkitgtk 34 desktop-file-utils 35 gsettings-desktop-schemas 36 ]; 37
+7
pkgs/applications/office/libreoffice/default.nix
··· 1 { stdenv 2 , fetchurl 3 , lib 4 , substituteAll 5 , pam ··· 220 # for 7.4. 221 patches = lib.optionals (lib.versionAtLeast version "7.5") [ 222 ./0001-Strip-away-BUILDCONFIG.patch 223 ]; 224 225 # libreoffice tries to reference the BUILDCONFIG (e.g. PKG_CONFIG_PATH)
··· 1 { stdenv 2 , fetchurl 3 + , fetchpatch 4 , lib 5 , substituteAll 6 , pam ··· 221 # for 7.4. 222 patches = lib.optionals (lib.versionAtLeast version "7.5") [ 223 ./0001-Strip-away-BUILDCONFIG.patch 224 + ] ++ [ 225 + (fetchpatch { 226 + name = "fix-curl-8.2.patch"; 227 + url = "https://github.com/LibreOffice/core/commit/2a68dc02bd19a717d3c86873206fabed1098f228.diff"; 228 + hash = "sha256-C+kts+oaLR3+GbnX/wrFguF7SzgerNataxP0SPxhyY8="; 229 + }) 230 ]; 231 232 # libreoffice tries to reference the BUILDCONFIG (e.g. PKG_CONFIG_PATH)
+6 -3
pkgs/applications/science/math/polymake/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 - , perl 5 , gmp 6 , mpfr 7 , flint ··· 15 , ninja 16 , ant 17 , openjdk 18 - , perlPackages 19 , makeWrapper 20 }: 21 - 22 # polymake compiles its own version of sympol and atint because we 23 # don't have those packages. other missing optional dependencies: 24 # javaview, libnormaliz, scip, soplex, jreality.
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , gmp 5 , mpfr 6 , flint ··· 14 , ninja 15 , ant 16 , openjdk 17 + , perl536Packages 18 , makeWrapper 19 }: 20 + let 21 + # log says: polymake does not work with perl 5.37 or newer; 22 + perlPackages = perl536Packages; 23 + inherit (perlPackages) perl; 24 + in 25 # polymake compiles its own version of sympol and atint because we 26 # don't have those packages. other missing optional dependencies: 27 # javaview, libnormaliz, scip, soplex, jreality.
+18
pkgs/applications/science/math/sage/patches/numpy-1.25-deprecation.patch
···
··· 1 + diff --git a/src/sage/tests/books/computational-mathematics-with-sagemath/graphique_doctest.py b/src/sage/tests/books/computational-mathematics-with-sagemath/graphique_doctest.py 2 + index aa153fd4cd..eebbe87aff 100644 3 + --- a/src/sage/tests/books/computational-mathematics-with-sagemath/graphique_doctest.py 4 + +++ b/src/sage/tests/books/computational-mathematics-with-sagemath/graphique_doctest.py 5 + @@ -134,11 +134,11 @@ Sage example in ./graphique.tex, line 1120:: 6 + sage: t = srange(0, 5, 0.1); p = Graphics() 7 + sage: for k in srange(0, 10, 0.15): 8 + ....: y = integrate.odeint(f, k, t) 9 + - ....: p += line(zip(t, flatten(y))) 10 + + ....: p += line(zip(t, y.flatten())) 11 + sage: t = srange(0, -5, -0.1); q = Graphics() 12 + sage: for k in srange(0, 10, 0.15): 13 + ....: y = integrate.odeint(f, k, t) 14 + - ....: q += line(zip(t, flatten(y))) 15 + + ....: q += line(zip(t, y.flatten())) 16 + sage: y = var('y') 17 + sage: v = plot_vector_field((1, -cos(x*y)), (x,-5,5), (y,-2,11)) 18 + sage: g = p + q + v; g.show()
+17
pkgs/applications/science/math/sage/sage-src.nix
··· 80 sha256 = "sha256-k8Oam+EiRcfXC7qCdLacCx+7vpUAw2K1wsjKcQbeGb4="; 81 }) 82 83 # https://github.com/sagemath/sage/pull/35825, landed in 10.1.beta6 84 (fetchpatch { 85 name = "singular-4.3.2p2-upgrade.patch";
··· 80 sha256 = "sha256-k8Oam+EiRcfXC7qCdLacCx+7vpUAw2K1wsjKcQbeGb4="; 81 }) 82 83 + # https://github.com/sagemath/sage/pull/35826, landed in 10.1.beta5 84 + (fetchpatch { 85 + name = "numpy-1.25.0-upgrade.patch"; 86 + url = "https://github.com/sagemath/sage/commit/ecfe06b8f1fe729b07e885f0de55244467e5c137.diff"; 87 + sha256 = "sha256-G0xhl+LyNdDYPzRqSHK3fHaepcIzpuwmqRiussraDf0="; 88 + }) 89 + 90 + # https://github.com/sagemath/sage/pull/35826#issuecomment-1658569891 91 + ./patches/numpy-1.25-deprecation.patch 92 + 93 + # https://github.com/sagemath/sage/pull/35842, landed in 10.1.beta5 94 + (fetchpatch { 95 + name = "scipy-1.11-upgrade.patch"; 96 + url = "https://github.com/sagemath/sage/commit/90ece168c3c61508baa36659b0027b7dd8b43add.diff"; 97 + sha256 = "sha256-Y5TmuJcUJR+veb2AuSVODGs+xkVV+pTM8fWTm4q+NDs="; 98 + }) 99 + 100 # https://github.com/sagemath/sage/pull/35825, landed in 10.1.beta6 101 (fetchpatch { 102 name = "singular-4.3.2p2-upgrade.patch";
+2 -2
pkgs/applications/terminal-emulators/xterm/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "xterm"; 7 - version = "383"; 8 9 src = fetchurl { 10 urls = [ 11 "ftp://ftp.invisible-island.net/xterm/${pname}-${version}.tgz" 12 "https://invisible-mirror.net/archives/xterm/${pname}-${version}.tgz" 13 ]; 14 - hash = "sha256-oGYTvNpQjCob/21CMIldp0p5h5mi45ojusggide5qZg="; 15 }; 16 17 strictDeps = true;
··· 4 5 stdenv.mkDerivation rec { 6 pname = "xterm"; 7 + version = "384"; 8 9 src = fetchurl { 10 urls = [ 11 "ftp://ftp.invisible-island.net/xterm/${pname}-${version}.tgz" 12 "https://invisible-mirror.net/archives/xterm/${pname}-${version}.tgz" 13 ]; 14 + hash = "sha256-Me+HB0DOrgIMPEtKlgHH9Hv9RmcsGq8tITpWXWTLw3M="; 15 }; 16 17 strictDeps = true;
+5 -3
pkgs/applications/version-management/gex/default.nix
··· 1 { lib 2 - , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 , pkg-config 6 - , libgit2 7 }: 8 9 rustPlatform.buildRustPackage rec { ··· 18 }; 19 20 nativeBuildInputs = [ pkg-config ]; 21 - buildInputs = [ libgit2 ]; 22 23 cargoHash = "sha256-28sMY47LAdaGmPNmxeu/w1Pn6AV3JlWbxFcit5pLkI0"; 24
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 , pkg-config 5 + , libgit2_1_6 6 }: 7 8 rustPlatform.buildRustPackage rec { ··· 17 }; 18 19 nativeBuildInputs = [ pkg-config ]; 20 + 21 + buildInputs = [ 22 + libgit2_1_6 23 + ]; 24 25 cargoHash = "sha256-28sMY47LAdaGmPNmxeu/w1Pn6AV3JlWbxFcit5pLkI0"; 26
+2 -2
pkgs/applications/version-management/gql/default.nix
··· 2 , rustPlatform 3 , fetchFromGitHub 4 , pkg-config 5 - , libgit2 6 , zlib 7 }: 8 ··· 24 ]; 25 26 buildInputs = [ 27 - libgit2 28 zlib 29 ]; 30
··· 2 , rustPlatform 3 , fetchFromGitHub 4 , pkg-config 5 + , libgit2_1_6 6 , zlib 7 }: 8 ··· 24 ]; 25 26 buildInputs = [ 27 + libgit2_1_6 28 zlib 29 ]; 30
+1
pkgs/applications/video/catt/default.nix
··· 24 inherit version; 25 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 26 }; 27 }); 28 29 pychromecast = super.pychromecast.overridePythonAttrs (oldAttrs: rec {
··· 24 inherit version; 25 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 26 }; 27 + disabledTests = [ "test_bytes_args" ]; # https://github.com/pallets/click/commit/6e05e1fa1c2804 28 }); 29 30 pychromecast = super.pychromecast.overridePythonAttrs (oldAttrs: rec {
+1 -1
pkgs/applications/video/entangle/default.nix
··· 70 python3 # for build scripts 71 pkgconf 72 wrapGAppsHook 73 ]; 74 75 buildInputs = [ ··· 79 elfutils 80 gexiv2 81 glib 82 - gobject-introspection 83 gst-plugins-base 84 gstreamer 85 gtk3
··· 70 python3 # for build scripts 71 pkgconf 72 wrapGAppsHook 73 + gobject-introspection 74 ]; 75 76 buildInputs = [ ··· 80 elfutils 81 gexiv2 82 glib 83 gst-plugins-base 84 gstreamer 85 gtk3
+1 -1
pkgs/applications/video/flowblade/default.nix
··· 15 }; 16 17 buildInputs = [ 18 - ffmpeg frei0r sox gtk3 gobject-introspection ladspaPlugins 19 (python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow ])) 20 ]; 21
··· 15 }; 16 17 buildInputs = [ 18 + ffmpeg frei0r sox gtk3 ladspaPlugins 19 (python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow ])) 20 ]; 21
+1 -1
pkgs/applications/video/recapp/default.nix
··· 44 ninja 45 pkg-config 46 wrapGAppsHook 47 ]; 48 49 buildInputs = [ 50 libnotify 51 librsvg 52 - gobject-introspection 53 gtk3 54 gst_all_1.gst-plugins-base 55 gst_all_1.gst-plugins-good
··· 44 ninja 45 pkg-config 46 wrapGAppsHook 47 + gobject-introspection 48 ]; 49 50 buildInputs = [ 51 libnotify 52 librsvg 53 gtk3 54 gst_all_1.gst-plugins-base 55 gst_all_1.gst-plugins-good
+1 -1
pkgs/applications/video/xplayer/default.nix
··· 67 itstool 68 pkg-config 69 yelp-tools 70 ]; 71 72 buildInputs = [ 73 clutter-gst 74 clutter-gtk 75 glib 76 - gobject-introspection 77 gst-plugins-bad 78 gst-plugins-base 79 gst-plugins-good
··· 67 itstool 68 pkg-config 69 yelp-tools 70 + gobject-introspection 71 ]; 72 73 buildInputs = [ 74 clutter-gst 75 clutter-gtk 76 glib 77 gst-plugins-bad 78 gst-plugins-base 79 gst-plugins-good
+2 -1
pkgs/applications/window-managers/awesome/default.nix
··· 52 xmlto docbook_xml_dtd_45 53 docbook_xsl findXMLCatalogs 54 asciidoctor 55 ]; 56 57 outputs = [ "out" "doc" ]; ··· 59 FONTCONFIG_FILE = toString fontsConf; 60 61 propagatedUserEnvPkgs = [ hicolor-icon-theme ]; 62 - buildInputs = [ cairo librsvg dbus gdk-pixbuf gobject-introspection 63 git luaEnv libpthreadstubs libstartup_notification 64 libxdg_basedir lua nettools pango xcb-util-cursor 65 xorg.libXau xorg.libXdmcp xorg.libxcb xorg.libxshmfence
··· 52 xmlto docbook_xml_dtd_45 53 docbook_xsl findXMLCatalogs 54 asciidoctor 55 + gobject-introspection 56 ]; 57 58 outputs = [ "out" "doc" ]; ··· 60 FONTCONFIG_FILE = toString fontsConf; 61 62 propagatedUserEnvPkgs = [ hicolor-icon-theme ]; 63 + buildInputs = [ cairo librsvg dbus gdk-pixbuf 64 git luaEnv libpthreadstubs libstartup_notification 65 libxdg_basedir lua nettools pango xcb-util-cursor 66 xorg.libXau xorg.libXdmcp xorg.libxcb xorg.libxshmfence
+5 -1
pkgs/applications/window-managers/i3/pystatus.nix
··· 19 sha256 = "18ygvkl92yr69kxsym57k1mc90asdxpz4b943i61qr0s4fc5n4mq"; 20 }; 21 22 - buildInputs = [ libpulseaudio libnotify gobject-introspection ]; 23 24 propagatedBuildInputs = with python3Packages; [ 25 keyring colour netifaces psutil basiciw pygobject3
··· 19 sha256 = "18ygvkl92yr69kxsym57k1mc90asdxpz4b943i61qr0s4fc5n4mq"; 20 }; 21 22 + nativeBuildInputs = [ 23 + gobject-introspection 24 + ]; 25 + 26 + buildInputs = [ libpulseaudio libnotify ]; 27 28 propagatedBuildInputs = with python3Packages; [ 29 keyring colour netifaces psutil basiciw pygobject3
+12 -2
pkgs/build-support/cc-wrapper/add-hardening.sh
··· 81 hardeningCFlags+=('-fPIC') 82 ;; 83 strictoverflow) 84 - if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling strictoverflow >&2; fi 85 - hardeningCFlags+=('-fno-strict-overflow') 86 ;; 87 format) 88 if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling format >&2; fi
··· 81 hardeningCFlags+=('-fPIC') 82 ;; 83 strictoverflow) 84 + if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling strictoverflow >&2; fi 85 + if (( @isClang@ )); then 86 + # In Clang, -fno-strict-overflow only serves to set -fwrapv and is 87 + # reported as an unused CLI argument if -fwrapv or -fno-wrapv is set 88 + # explicitly, so we side step that by doing the conversion here. 89 + # 90 + # See: https://github.com/llvm/llvm-project/blob/llvmorg-16.0.6/clang/lib/Driver/ToolChains/Clang.cpp#L6315 91 + # 92 + hardeningCFlags+=('-fwrapv') 93 + else 94 + hardeningCFlags+=('-fno-strict-overflow') 95 + fi 96 ;; 97 format) 98 if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling format >&2; fi
+2
pkgs/build-support/cc-wrapper/default.nix
··· 609 610 611 env = { 612 # for substitution in utils.bash 613 expandResponseParams = "${expand-response-params}/bin/expand-response-params"; 614 shell = getBin shell + shell.shellPath or "";
··· 609 610 611 env = { 612 + inherit isClang; 613 + 614 # for substitution in utils.bash 615 expandResponseParams = "${expand-response-params}/bin/expand-response-params"; 616 shell = getBin shell + shell.shellPath or "";
+12 -5
pkgs/build-support/libredirect/default.nix
··· 1 - { lib, stdenv, bintools-unwrapped, llvmPackages_13, coreutils }: 2 3 if stdenv.hostPlatform.isStatic 4 then throw '' 5 libredirect is not available on static builds. ··· 39 # and the library search directory for libdl. 40 # We can't build this on x86_64, because the libSystem we point to doesn't 41 # like arm64(e). 42 - PATH=${bintools-unwrapped}/bin:${llvmPackages_13.clang-unwrapped}/bin:$PATH \ 43 clang -arch x86_64 -arch arm64 -arch arm64e \ 44 - -isystem ${llvmPackages_13.clang.libc}/include \ 45 - -isystem ${llvmPackages_13.libclang.lib}/lib/clang/*/include \ 46 - -L${llvmPackages_13.clang.libc}/lib \ 47 -Wl,-install_name,$libName \ 48 -Wall -std=c99 -O3 -fPIC libredirect.c \ 49 -shared -o "$libName"
··· 1 + { lib, stdenv, bintools-unwrapped, llvmPackages, llvmPackages_13, coreutils }: 2 3 + let 4 + # aarch64-darwin needs a clang that can build arm64e binaries, so make sure a version of LLVM 5 + # is used that can do that, but prefer the stdenv one if it is new enough. 6 + llvmPkgs = if (lib.versionAtLeast (lib.getVersion llvmPackages.clang) "13") 7 + then llvmPackages 8 + else llvmPackages_13; 9 + in 10 if stdenv.hostPlatform.isStatic 11 then throw '' 12 libredirect is not available on static builds. ··· 46 # and the library search directory for libdl. 47 # We can't build this on x86_64, because the libSystem we point to doesn't 48 # like arm64(e). 49 + PATH=${bintools-unwrapped}/bin:${llvmPkgs.clang-unwrapped}/bin:$PATH \ 50 clang -arch x86_64 -arch arm64 -arch arm64e \ 51 + -isystem ${llvmPkgs.clang.libc}/include \ 52 + -isystem ${llvmPkgs.libclang.lib}/lib/clang/*/include \ 53 + -L${llvmPkgs.clang.libc}/lib \ 54 -Wl,-install_name,$libName \ 55 -Wall -std=c99 -O3 -fPIC libredirect.c \ 56 -shared -o "$libName"
+2 -2
pkgs/build-support/libredirect/libredirect.c
··· 106 107 WRAPPER(int, open)(const char * path, int flags, ...) 108 { 109 - int (*open_real) (const char *, int, mode_t) = LOOKUP_REAL(open); 110 mode_t mode = 0; 111 if (open_needs_mode(flags)) { 112 va_list ap; ··· 139 140 WRAPPER(int, openat)(int dirfd, const char * path, int flags, ...) 141 { 142 - int (*openat_real) (int, const char *, int, mode_t) = LOOKUP_REAL(openat); 143 mode_t mode = 0; 144 if (open_needs_mode(flags)) { 145 va_list ap;
··· 106 107 WRAPPER(int, open)(const char * path, int flags, ...) 108 { 109 + int (*open_real) (const char *, int, ...) = LOOKUP_REAL(open); 110 mode_t mode = 0; 111 if (open_needs_mode(flags)) { 112 va_list ap; ··· 139 140 WRAPPER(int, openat)(int dirfd, const char * path, int flags, ...) 141 { 142 + int (*openat_real) (int, const char *, int, ...) = LOOKUP_REAL(openat); 143 mode_t mode = 0; 144 if (open_needs_mode(flags)) { 145 va_list ap;
+2 -2
pkgs/build-support/rust/default-crate-overrides.nix
··· 193 }; 194 195 graphene-sys = attrs: { 196 - nativeBuildInputs = [ pkg-config ]; 197 - buildInputs = [ graphene gobject-introspection ]; 198 }; 199 200 nettle-sys = attrs: {
··· 193 }; 194 195 graphene-sys = attrs: { 196 + nativeBuildInputs = [ pkg-config gobject-introspection ]; 197 + buildInputs = [ graphene ]; 198 }; 199 200 nettle-sys = attrs: {
+3 -2
pkgs/build-support/rust/hooks/maturin-build-hook.sh
··· 24 ${maturinBuildFlags-} 25 ) 26 27 - runHook postBuild 28 - 29 if [ ! -z "${buildAndTestSubdir-}" ]; then 30 popd 31 fi ··· 33 # Move the wheel to dist/ so that regular Python tooling can find it. 34 mkdir -p dist 35 mv target/wheels/*.whl dist/ 36 37 echo "Finished maturinBuildHook" 38 }
··· 24 ${maturinBuildFlags-} 25 ) 26 27 if [ ! -z "${buildAndTestSubdir-}" ]; then 28 popd 29 fi ··· 31 # Move the wheel to dist/ so that regular Python tooling can find it. 32 mkdir -p dist 33 mv target/wheels/*.whl dist/ 34 + 35 + # These are python build hooks and may depend on ./dist 36 + runHook postBuild 37 38 echo "Finished maturinBuildHook" 39 }
+90
pkgs/build-support/setup-hooks/strip-tmp-aarch64.sh
···
··· 1 + # This setup hook strips libraries and executables in the fixup phase. 2 + 3 + fixupOutputHooks+=(_doStrip) 4 + 5 + _doStrip() { 6 + # We don't bother to strip build platform code because it shouldn't make it 7 + # to $out anyways---if it does, that's a bigger problem that a lack of 8 + # stripping will help catch. 9 + local -ra flags=(dontStripHost dontStripTarget) 10 + local -ra debugDirs=(stripDebugList stripDebugListTarget) 11 + local -ra allDirs=(stripAllList stripAllListTarget) 12 + local -ra stripCmds=(STRIP STRIP_FOR_TARGET) 13 + local -ra ranlibCmds=(RANLIB RANLIB_FOR_TARGET) 14 + 15 + # TODO(structured-attrs): This doesn't work correctly if one of 16 + # the items in strip*List or strip*Flags contains a space, 17 + # even with structured attrs enabled. This is OK for now 18 + # because very few packages set any of these, and it doesn't 19 + # affect any of them. 20 + # 21 + # After __structuredAttrs = true is universal, come back and 22 + # push arrays all the way through this logic. 23 + 24 + # Strip only host paths by default. Leave targets as is. 25 + stripDebugList=${stripDebugList[*]:-lib lib32 lib64 libexec bin sbin} 26 + stripDebugListTarget=${stripDebugListTarget[*]:-} 27 + stripAllList=${stripAllList[*]:-} 28 + stripAllListTarget=${stripAllListTarget[*]:-} 29 + 30 + local i 31 + for i in ${!stripCmds[@]}; do 32 + local -n flag="${flags[$i]}" 33 + local -n debugDirList="${debugDirs[$i]}" 34 + local -n allDirList="${allDirs[$i]}" 35 + local -n stripCmd="${stripCmds[$i]}" 36 + local -n ranlibCmd="${ranlibCmds[$i]}" 37 + 38 + # `dontStrip` disables them all 39 + if [[ "${dontStrip-}" || "${flag-}" ]] || ! type -f "${stripCmd-}" 2>/dev/null 1>&2 40 + then continue; fi 41 + 42 + stripDirs "$stripCmd" "$ranlibCmd" "$debugDirList" "${stripDebugFlags[*]:--S -p}" 43 + stripDirs "$stripCmd" "$ranlibCmd" "$allDirList" "${stripAllFlags[*]:--s -p}" 44 + done 45 + } 46 + 47 + stripDirs() { 48 + local cmd="$1" 49 + local ranlibCmd="$2" 50 + local paths="$3" 51 + local stripFlags="$4" 52 + local pathsNew= 53 + 54 + [ -z "$cmd" ] && echo "stripDirs: Strip command is empty" 1>&2 && exit 1 55 + [ -z "$ranlibCmd" ] && echo "stripDirs: Ranlib command is empty" 1>&2 && exit 1 56 + 57 + local p 58 + for p in ${paths}; do 59 + if [ -e "$prefix/$p" ]; then 60 + pathsNew="${pathsNew} $prefix/$p" 61 + fi 62 + done 63 + paths=${pathsNew} 64 + 65 + if [ -n "${paths}" ]; then 66 + echo "stripping (with command $cmd and flags $stripFlags) in $paths" 67 + local striperr 68 + striperr="$(mktemp 'striperr.XXXXXX')" 69 + # Do not strip lib/debug. This is a directory used by setup-hooks/separate-debug-info.sh. 70 + find $paths -type f -a '!' -path "$prefix/lib/debug/*" -print0 | 71 + # Make sure we process files under symlinks only once. Otherwise 72 + # 'strip` can corrupt files when writes to them in parallel: 73 + # https://github.com/NixOS/nixpkgs/issues/246147#issuecomment-1657072039 74 + xargs -r -0 -n1 -- realpath -z | sort -u -z | 75 + 76 + xargs -r -0 -n1 -P "$NIX_BUILD_CORES" -- $cmd $stripFlags 2>"$striperr" || exit_code=$? 77 + # xargs exits with status code 123 if some but not all of the 78 + # processes fail. We don't care if some of the files couldn't 79 + # be stripped, so ignore specifically this code. 80 + [[ "$exit_code" = 123 || -z "$exit_code" ]] || (cat "$striperr" 1>&2 && exit 1) 81 + 82 + rm "$striperr" 83 + # 'strip' does not normally preserve archive index in .a files. 84 + # This usually causes linking failures against static libs like: 85 + # ld: ...-i686-w64-mingw32-stage-final-gcc-13.0.0-lib/i686-w64-mingw32/lib/libstdc++.dll.a: 86 + # error adding symbols: archive has no index; run ranlib to add one 87 + # Restore the index by running 'ranlib'. 88 + find $paths -name '*.a' -type f -exec $ranlibCmd '{}' \; 2>/dev/null 89 + fi 90 + }
+13 -1
pkgs/build-support/setup-hooks/strip.sh
··· 51 local stripFlags="$4" 52 local pathsNew= 53 54 local p 55 for p in ${paths}; do 56 if [ -e "$prefix/$p" ]; then ··· 61 62 if [ -n "${paths}" ]; then 63 echo "stripping (with command $cmd and flags $stripFlags) in $paths" 64 # Do not strip lib/debug. This is a directory used by setup-hooks/separate-debug-info.sh. 65 - find $paths -type f -a '!' -wholename "$prefix/lib/debug/*" -exec $cmd $stripFlags '{}' \; 2>/dev/null 66 # 'strip' does not normally preserve archive index in .a files. 67 # This usually causes linking failures against static libs like: 68 # ld: ...-i686-w64-mingw32-stage-final-gcc-13.0.0-lib/i686-w64-mingw32/lib/libstdc++.dll.a:
··· 51 local stripFlags="$4" 52 local pathsNew= 53 54 + [ -z "$cmd" ] && echo "stripDirs: Strip command is empty" 1>&2 && exit 1 55 + [ -z "$ranlibCmd" ] && echo "stripDirs: Ranlib command is empty" 1>&2 && exit 1 56 + 57 local p 58 for p in ${paths}; do 59 if [ -e "$prefix/$p" ]; then ··· 64 65 if [ -n "${paths}" ]; then 66 echo "stripping (with command $cmd and flags $stripFlags) in $paths" 67 + local striperr 68 + striperr="$(mktemp 'striperr.XXXXXX')" 69 # Do not strip lib/debug. This is a directory used by setup-hooks/separate-debug-info.sh. 70 + find $paths -type f -a '!' -path "$prefix/lib/debug/*" -print0 | 71 + xargs -r -0 -n1 -P "$NIX_BUILD_CORES" -- $cmd $stripFlags 2>"$striperr" || exit_code=$? 72 + # xargs exits with status code 123 if some but not all of the 73 + # processes fail. We don't care if some of the files couldn't 74 + # be stripped, so ignore specifically this code. 75 + [[ "$exit_code" = 123 || -z "$exit_code" ]] || (cat "$striperr" 1>&2 && exit 1) 76 + 77 + rm "$striperr" 78 # 'strip' does not normally preserve archive index in .a files. 79 # This usually causes linking failures against static libs like: 80 # ld: ...-i686-w64-mingw32-stage-final-gcc-13.0.0-lib/i686-w64-mingw32/lib/libstdc++.dll.a:
+2 -2
pkgs/data/misc/cacert/default.nix
··· 30 ])); 31 extraCertificatesBundle = writeText "cacert-extra-certificates-bundle.crt" (lib.concatStringsSep "\n\n" extraCertificateStrings); 32 33 - srcVersion = "3.90"; 34 version = if nssOverride != null then nssOverride.version else srcVersion; 35 meta = with lib; { 36 homepage = "https://curl.haxx.se/docs/caextract.html"; ··· 45 46 src = if nssOverride != null then nssOverride.src else fetchurl { 47 url = "mirror://mozilla/security/nss/releases/NSS_${lib.replaceStrings ["."] ["_"] version}_RTM/src/nss-${version}.tar.gz"; 48 - hash = "sha256-ms1lNMQdjq0Z/Kb8s//+0vnwnEN8PXn+5qTuZoqqk7Y="; 49 }; 50 51 dontBuild = true;
··· 30 ])); 31 extraCertificatesBundle = writeText "cacert-extra-certificates-bundle.crt" (lib.concatStringsSep "\n\n" extraCertificateStrings); 32 33 + srcVersion = "3.92"; 34 version = if nssOverride != null then nssOverride.version else srcVersion; 35 meta = with lib; { 36 homepage = "https://curl.haxx.se/docs/caextract.html"; ··· 45 46 src = if nssOverride != null then nssOverride.src else fetchurl { 47 url = "mirror://mozilla/security/nss/releases/NSS_${lib.replaceStrings ["."] ["_"] version}_RTM/src/nss-${version}.tar.gz"; 48 + hash = "sha256-PbGS1uiCA5rwKufq8yF+0RS7etg0FMZGdyq4Ah4kolQ="; 49 }; 50 51 dontBuild = true;
+1 -1
pkgs/desktops/cinnamon/bulky/default.nix
··· 26 wrapGAppsHook 27 gsettings-desktop-schemas 28 gettext 29 ]; 30 31 buildInputs = [ 32 (python3.withPackages (p: with p; [ pygobject3 magic setproctitle ])) 33 - gobject-introspection 34 gsettings-desktop-schemas 35 gtk3 36 glib
··· 26 wrapGAppsHook 27 gsettings-desktop-schemas 28 gettext 29 + gobject-introspection 30 ]; 31 32 buildInputs = [ 33 (python3.withPackages (p: with p; [ pygobject3 magic setproctitle ])) 34 gsettings-desktop-schemas 35 gtk3 36 glib
+1 -1
pkgs/desktops/cinnamon/cinnamon-desktop/default.nix
··· 41 xorg.libxkbfile 42 xorg.libXext 43 xorg.libXrandr 44 - gobject-introspection 45 ]; 46 47 nativeBuildInputs = [ ··· 51 wrapGAppsHook 52 intltool 53 pkg-config 54 ]; 55 56 postPatch = ''
··· 41 xorg.libxkbfile 42 xorg.libXext 43 xorg.libXrandr 44 ]; 45 46 nativeBuildInputs = [ ··· 50 wrapGAppsHook 51 intltool 52 pkg-config 53 + gobject-introspection 54 ]; 55 56 postPatch = ''
+1 -1
pkgs/desktops/cinnamon/cinnamon-menus/default.nix
··· 22 23 buildInputs = [ 24 glib 25 - gobject-introspection 26 ]; 27 28 nativeBuildInputs = [ ··· 30 ninja 31 wrapGAppsHook 32 pkg-config 33 ]; 34 35 meta = with lib; {
··· 22 23 buildInputs = [ 24 glib 25 ]; 26 27 nativeBuildInputs = [ ··· 29 ninja 30 wrapGAppsHook 31 pkg-config 32 + gobject-introspection 33 ]; 34 35 meta = with lib; {
+1 -1
pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix
··· 48 libtool 49 meson 50 ninja 51 ]; 52 53 buildInputs = [ 54 # from meson.build 55 - gobject-introspection 56 gtk3 57 glib 58
··· 48 libtool 49 meson 50 ninja 51 + gobject-introspection 52 ]; 53 54 buildInputs = [ 55 # from meson.build 56 gtk3 57 glib 58
+1 -1
pkgs/desktops/cinnamon/cjs/default.nix
··· 33 pkg-config 34 which # for locale detection 35 libxml2 # for xml-stripblanks 36 ]; 37 38 buildInputs = [ 39 - gobject-introspection 40 cairo 41 readline 42 spidermonkey_102
··· 33 pkg-config 34 which # for locale detection 35 libxml2 # for xml-stripblanks 36 + gobject-introspection 37 ]; 38 39 buildInputs = [ 40 cairo 41 readline 42 spidermonkey_102
+1 -1
pkgs/desktops/cinnamon/muffin/default.nix
··· 62 python3 63 wrapGAppsHook 64 xorgserver # for cvt command 65 ]; 66 67 buildInputs = [ ··· 69 cinnamon-desktop 70 dbus 71 glib 72 - gobject-introspection 73 gtk3 74 libcanberra 75 libdrm
··· 62 python3 63 wrapGAppsHook 64 xorgserver # for cvt command 65 + gobject-introspection 66 ]; 67 68 buildInputs = [ ··· 70 cinnamon-desktop 71 dbus 72 glib 73 gtk3 74 libcanberra 75 libdrm
+1 -1
pkgs/desktops/cinnamon/nemo/default.nix
··· 49 libexif 50 exempi 51 gvfs 52 - gobject-introspection 53 libgsf 54 ]; 55 ··· 60 wrapGAppsHook 61 intltool 62 shared-mime-info 63 ]; 64 65 mesonFlags = [
··· 49 libexif 50 exempi 51 gvfs 52 libgsf 53 ]; 54 ··· 59 wrapGAppsHook 60 intltool 61 shared-mime-info 62 + gobject-introspection 63 ]; 64 65 mesonFlags = [
+1 -1
pkgs/desktops/cinnamon/xapp/default.nix
··· 44 python3 45 vala 46 wrapGAppsHook 47 ]; 48 49 buildInputs = [ 50 - gobject-introspection 51 (python3.withPackages (ps: with ps; [ 52 pygobject3 53 setproctitle # mate applet
··· 44 python3 45 vala 46 wrapGAppsHook 47 + gobject-introspection 48 ]; 49 50 buildInputs = [ 51 (python3.withPackages (ps: with ps; [ 52 pygobject3 53 setproctitle # mate applet
+1 -1
pkgs/desktops/deepin/go-package/go-gir-generator/default.nix
··· 21 nativeBuildInputs = [ 22 pkg-config 23 go 24 ]; 25 26 buildInputs = [ 27 libgudev 28 - gobject-introspection 29 ]; 30 31 makeFlags = [
··· 21 nativeBuildInputs = [ 22 pkg-config 23 go 24 + gobject-introspection 25 ]; 26 27 buildInputs = [ 28 libgudev 29 ]; 30 31 makeFlags = [
-1
pkgs/desktops/gnome/apps/gnome-music/default.nix
··· 58 glib 59 libmediaart 60 gnome-online-accounts 61 - gobject-introspection 62 gdk-pixbuf 63 python3 64 grilo
··· 58 glib 59 libmediaart 60 gnome-online-accounts 61 gdk-pixbuf 62 python3 63 grilo
+1 -1
pkgs/desktops/gnome/core/gnome-shell/default.nix
··· 120 desktop-file-utils 121 libxslt.bin 122 asciidoc 123 ]; 124 125 buildInputs = [ ··· 153 ibus 154 gnome-desktop 155 gnome-settings-daemon 156 - gobject-introspection 157 mesa 158 159 # recording
··· 120 desktop-file-utils 121 libxslt.bin 122 asciidoc 123 + gobject-introspection 124 ]; 125 126 buildInputs = [ ··· 154 ibus 155 gnome-desktop 156 gnome-settings-daemon 157 mesa 158 159 # recording
+1 -1
pkgs/desktops/gnome/core/mutter/43/default.nix
··· 102 wrapGAppsHook 103 gi-docgen 104 xorgserver 105 ]; 106 107 buildInputs = [ ··· 110 glib 111 gnome-desktop 112 gnome-settings-daemon 113 - gobject-introspection 114 gsettings-desktop-schemas 115 gtk3 116 libcanberra
··· 102 wrapGAppsHook 103 gi-docgen 104 xorgserver 105 + gobject-introspection 106 ]; 107 108 buildInputs = [ ··· 111 glib 112 gnome-desktop 113 gnome-settings-daemon 114 gsettings-desktop-schemas 115 gtk3 116 libcanberra
+1 -1
pkgs/desktops/gnome/core/mutter/default.nix
··· 108 wrapGAppsHook4 109 gi-docgen 110 xorgserver 111 ]; 112 113 buildInputs = [ ··· 116 glib 117 gnome-desktop 118 gnome-settings-daemon 119 - gobject-introspection 120 gsettings-desktop-schemas 121 atk 122 fribidi
··· 108 wrapGAppsHook4 109 gi-docgen 110 xorgserver 111 + gobject-introspection 112 ]; 113 114 buildInputs = [ ··· 117 glib 118 gnome-desktop 119 gnome-settings-daemon 120 gsettings-desktop-schemas 121 atk 122 fribidi
-1
pkgs/desktops/gnome/extensions/gnome-browser-connector/default.nix
··· 32 33 buildInputs = [ 34 gnome.gnome-shell 35 - gobject-introspection # for Gio typelib 36 ]; 37 38 pythonPath = [
··· 32 33 buildInputs = [ 34 gnome.gnome-shell 35 ]; 36 37 pythonPath = [
+8 -2
pkgs/development/compilers/bigloo/default.nix
··· 45 46 checkTarget = "test"; 47 48 - # Hack to avoid TMPDIR in RPATHs. 49 - preFixup = ''rm -rf "$(pwd)" ''; 50 51 meta = { 52 description = "Efficient Scheme compiler";
··· 45 46 checkTarget = "test"; 47 48 + # remove forbidden references to $TMPDIR 49 + preFixup = lib.optionalString stdenv.isLinux '' 50 + for f in "$out"/bin/*; do 51 + if isELF "$f"; then 52 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 53 + fi 54 + done 55 + ''; 56 57 meta = { 58 description = "Efficient Scheme compiler";
+1 -3
pkgs/development/compilers/gcc/10/default.nix
··· 144 145 in 146 147 - lib.pipe (stdenv.mkDerivation ({ 148 pname = "${crossNameAddon}${name}"; 149 inherit version; 150 - 151 - builder = ../builder.sh; 152 153 src = fetchurl { 154 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 144 145 in 146 147 + lib.pipe ((callFile ../common/builder.nix {}) ({ 148 pname = "${crossNameAddon}${name}"; 149 inherit version; 150 151 src = fetchurl { 152 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
+1 -3
pkgs/development/compilers/gcc/11/default.nix
··· 157 158 in 159 160 - lib.pipe (stdenv.mkDerivation ({ 161 pname = "${crossNameAddon}${name}"; 162 inherit version; 163 - 164 - builder = ../builder.sh; 165 166 src = fetchurl { 167 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 157 158 in 159 160 + lib.pipe ((callFile ../common/builder.nix {}) ({ 161 pname = "${crossNameAddon}${name}"; 162 inherit version; 163 164 src = fetchurl { 165 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
+1 -3
pkgs/development/compilers/gcc/12/default.nix
··· 201 202 in 203 204 - lib.pipe (stdenv.mkDerivation ({ 205 pname = "${crossNameAddon}${name}"; 206 inherit version; 207 - 208 - builder = ../builder.sh; 209 210 src = fetchurl { 211 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 201 202 in 203 204 + lib.pipe ((callFile ../common/builder.nix {}) ({ 205 pname = "${crossNameAddon}${name}"; 206 inherit version; 207 208 src = fetchurl { 209 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
+1 -3
pkgs/development/compilers/gcc/13/default.nix
··· 195 196 in 197 198 - lib.pipe (stdenv.mkDerivation ({ 199 pname = "${crossNameAddon}${name}"; 200 inherit version; 201 - 202 - builder = ../builder.sh; 203 204 src = fetchurl { 205 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 195 196 in 197 198 + lib.pipe ((callFile ../common/builder.nix {}) ({ 199 pname = "${crossNameAddon}${name}"; 200 inherit version; 201 202 src = fetchurl { 203 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
+1 -3
pkgs/development/compilers/gcc/4.8/default.nix
··· 193 # We need all these X libraries when building AWT with GTK. 194 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []; 195 196 - lib.pipe (stdenv.mkDerivation ({ 197 pname = "${crossNameAddon}${name}"; 198 inherit version; 199 - 200 - builder = ../builder.sh; 201 202 src = fetchurl { 203 url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
··· 193 # We need all these X libraries when building AWT with GTK. 194 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []; 195 196 + lib.pipe ((callFile ../common/builder.nix {}) ({ 197 pname = "${crossNameAddon}${name}"; 198 inherit version; 199 200 src = fetchurl { 201 url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
+1 -3
pkgs/development/compilers/gcc/4.9/default.nix
··· 210 # We need all these X libraries when building AWT with GTK. 211 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []; 212 213 - lib.pipe (stdenv.mkDerivation ({ 214 pname = "${crossNameAddon}${name}"; 215 inherit version; 216 - 217 - builder = ../builder.sh; 218 219 src = fetchurl { 220 url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
··· 210 # We need all these X libraries when building AWT with GTK. 211 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []; 212 213 + lib.pipe ((callFile ../common/builder.nix {}) ({ 214 pname = "${crossNameAddon}${name}"; 215 inherit version; 216 217 src = fetchurl { 218 url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
+1 -3
pkgs/development/compilers/gcc/6/default.nix
··· 199 # We need all these X libraries when building AWT with GTK. 200 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []; 201 202 - lib.pipe (stdenv.mkDerivation ({ 203 pname = "${crossNameAddon}${name}"; 204 inherit version; 205 - 206 - builder = ../builder.sh; 207 208 src = if stdenv.targetPlatform.isVc4 then fetchFromGitHub { 209 owner = "itszor";
··· 199 # We need all these X libraries when building AWT with GTK. 200 assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []; 201 202 + lib.pipe ((callFile ../common/builder.nix {}) ({ 203 pname = "${crossNameAddon}${name}"; 204 inherit version; 205 206 src = if stdenv.targetPlatform.isVc4 then fetchFromGitHub { 207 owner = "itszor";
+1 -3
pkgs/development/compilers/gcc/7/default.nix
··· 149 150 in 151 152 - lib.pipe (stdenv.mkDerivation ({ 153 pname = "${crossNameAddon}${name}"; 154 inherit version; 155 - 156 - builder = ../builder.sh; 157 158 src = fetchurl { 159 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 149 150 in 151 152 + lib.pipe ((callFile ../common/builder.nix {}) ({ 153 pname = "${crossNameAddon}${name}"; 154 inherit version; 155 156 src = fetchurl { 157 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
+1 -3
pkgs/development/compilers/gcc/8/default.nix
··· 130 131 in 132 133 - lib.pipe (stdenv.mkDerivation ({ 134 pname = "${crossNameAddon}${name}"; 135 inherit version; 136 - 137 - builder = ../builder.sh; 138 139 src = fetchurl { 140 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 130 131 in 132 133 + lib.pipe ((callFile ../common/builder.nix {}) ({ 134 pname = "${crossNameAddon}${name}"; 135 inherit version; 136 137 src = fetchurl { 138 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
+1 -3
pkgs/development/compilers/gcc/9/default.nix
··· 144 145 in 146 147 - lib.pipe (stdenv.mkDerivation ({ 148 pname = "${crossNameAddon}${name}"; 149 inherit version; 150 - 151 - builder = ../builder.sh; 152 153 src = fetchurl { 154 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
··· 144 145 in 146 147 + lib.pipe ((callFile ../common/builder.nix {}) ({ 148 pname = "${crossNameAddon}${name}"; 149 inherit version; 150 151 src = fetchurl { 152 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
-290
pkgs/development/compilers/gcc/builder.sh
··· 1 - if [ -e .attrs.sh ]; then source .attrs.sh; fi 2 - source $stdenv/setup 3 - 4 - 5 - oldOpts="$(shopt -po nounset)" || true 6 - set -euo pipefail 7 - 8 - 9 - export NIX_FIXINC_DUMMY="$NIX_BUILD_TOP/dummy" 10 - mkdir "$NIX_FIXINC_DUMMY" 11 - 12 - 13 - if test "$staticCompiler" = "1"; then 14 - EXTRA_LDFLAGS="-static" 15 - else 16 - EXTRA_LDFLAGS="-Wl,-rpath,${!outputLib}/lib" 17 - fi 18 - 19 - 20 - # GCC interprets empty paths as ".", which we don't want. 21 - if test -z "${CPATH-}"; then unset CPATH; fi 22 - if test -z "${LIBRARY_PATH-}"; then unset LIBRARY_PATH; fi 23 - echo "\$CPATH is \`${CPATH-}'" 24 - echo "\$LIBRARY_PATH is \`${LIBRARY_PATH-}'" 25 - 26 - if test "$noSysDirs" = "1"; then 27 - 28 - declare \ 29 - EXTRA_FLAGS_FOR_BUILD EXTRA_FLAGS EXTRA_FLAGS_FOR_TARGET \ 30 - EXTRA_LDFLAGS_FOR_BUILD EXTRA_LDFLAGS_FOR_TARGET 31 - 32 - # Extract flags from Bintools Wrappers 33 - for post in '_FOR_BUILD' ''; do 34 - curBintools="NIX_BINTOOLS${post}" 35 - 36 - declare -a extraLDFlags=() 37 - if [[ -e "${!curBintools}/nix-support/orig-libc" ]]; then 38 - # Figure out what extra flags when linking to pass to the gcc 39 - # compilers being generated to make sure that they use our libc. 40 - extraLDFlags=($(< "${!curBintools}/nix-support/libc-ldflags") $(< "${!curBintools}/nix-support/libc-ldflags-before" || true)) 41 - if [ -e ${!curBintools}/nix-support/ld-set-dynamic-linker ]; then 42 - extraLDFlags=-dynamic-linker=$(< ${!curBintools}/nix-support/dynamic-linker) 43 - fi 44 - 45 - # The path to the Libc binaries such as `crti.o'. 46 - libc_libdir="$(< "${!curBintools}/nix-support/orig-libc")/lib" 47 - else 48 - # Hack: support impure environments. 49 - extraLDFlags=("-L/usr/lib64" "-L/usr/lib") 50 - libc_libdir="/usr/lib" 51 - fi 52 - extraLDFlags=("-L$libc_libdir" "-rpath" "$libc_libdir" 53 - "${extraLDFlags[@]}") 54 - for i in "${extraLDFlags[@]}"; do 55 - declare EXTRA_LDFLAGS${post}+=" -Wl,$i" 56 - done 57 - done 58 - 59 - # Extract flags from CC Wrappers 60 - for post in '_FOR_BUILD' ''; do 61 - curCC="NIX_CC${post}" 62 - curFIXINC="NIX_FIXINC_DUMMY${post}" 63 - 64 - declare -a extraFlags=() 65 - if [[ -e "${!curCC}/nix-support/orig-libc" ]]; then 66 - # Figure out what extra compiling flags to pass to the gcc compilers 67 - # being generated to make sure that they use our libc. 68 - extraFlags=($(< "${!curCC}/nix-support/libc-crt1-cflags") $(< "${!curCC}/nix-support/libc-cflags")) 69 - 70 - # The path to the Libc headers 71 - libc_devdir="$(< "${!curCC}/nix-support/orig-libc-dev")" 72 - 73 - # Use *real* header files, otherwise a limits.h is generated that 74 - # does not include Libc's limits.h (notably missing SSIZE_MAX, 75 - # which breaks the build). 76 - declare NIX_FIXINC_DUMMY${post}="$libc_devdir/include" 77 - else 78 - # Hack: support impure environments. 79 - extraFlags=("-isystem" "/usr/include") 80 - declare NIX_FIXINC_DUMMY${post}=/usr/include 81 - fi 82 - 83 - extraFlags=("-I${!curFIXINC}" "${extraFlags[@]}") 84 - 85 - # BOOT_CFLAGS defaults to `-g -O2'; since we override it below, make 86 - # sure to explictly add them so that files compiled with the bootstrap 87 - # compiler are optimized and (optionally) contain debugging information 88 - # (info "(gccinstall) Building"). 89 - if test -n "${dontStrip-}"; then 90 - extraFlags=("-O2" "-g" "${extraFlags[@]}") 91 - else 92 - # Don't pass `-g' at all; this saves space while building. 93 - extraFlags=("-O2" "${extraFlags[@]}") 94 - fi 95 - 96 - declare EXTRA_FLAGS${post}="${extraFlags[*]}" 97 - done 98 - 99 - if test -z "${targetConfig-}"; then 100 - # host = target, so the flags are the same 101 - EXTRA_FLAGS_FOR_TARGET="$EXTRA_FLAGS" 102 - EXTRA_LDFLAGS_FOR_TARGET="$EXTRA_LDFLAGS" 103 - fi 104 - 105 - # CFLAGS_FOR_TARGET are needed for the libstdc++ configure script to find 106 - # the startfiles. 107 - # FLAGS_FOR_TARGET are needed for the target libraries to receive the -Bxxx 108 - # for the startfiles. 109 - makeFlagsArray+=( 110 - "BUILD_SYSTEM_HEADER_DIR=$NIX_FIXINC_DUMMY_FOR_BUILD" 111 - "SYSTEM_HEADER_DIR=$NIX_FIXINC_DUMMY_FOR_BUILD" 112 - "NATIVE_SYSTEM_HEADER_DIR=$NIX_FIXINC_DUMMY" 113 - 114 - "LDFLAGS_FOR_BUILD=$EXTRA_LDFLAGS_FOR_BUILD" 115 - #"LDFLAGS=$EXTRA_LDFLAGS" 116 - "LDFLAGS_FOR_TARGET=$EXTRA_LDFLAGS_FOR_TARGET" 117 - 118 - "CFLAGS_FOR_BUILD=$EXTRA_FLAGS_FOR_BUILD $EXTRA_LDFLAGS_FOR_BUILD" 119 - "CXXFLAGS_FOR_BUILD=$EXTRA_FLAGS_FOR_BUILD $EXTRA_LDFLAGS_FOR_BUILD" 120 - "FLAGS_FOR_BUILD=$EXTRA_FLAGS_FOR_BUILD $EXTRA_LDFLAGS_FOR_BUILD" 121 - 122 - # It seems there is a bug in GCC 5 123 - #"CFLAGS=$EXTRA_FLAGS $EXTRA_LDFLAGS" 124 - #"CXXFLAGS=$EXTRA_FLAGS $EXTRA_LDFLAGS" 125 - 126 - "CFLAGS_FOR_TARGET=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 127 - "CXXFLAGS_FOR_TARGET=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 128 - "FLAGS_FOR_TARGET=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 129 - ) 130 - 131 - if test -z "${targetConfig-}"; then 132 - makeFlagsArray+=( 133 - "BOOT_CFLAGS=$EXTRA_FLAGS $EXTRA_LDFLAGS" 134 - "BOOT_LDFLAGS=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 135 - ) 136 - fi 137 - 138 - if test "$withoutTargetLibc" == 1; then 139 - # We don't want the gcc build to assume there will be a libc providing 140 - # limits.h in this stage 141 - makeFlagsArray+=( 142 - 'LIMITS_H_TEST=false' 143 - ) 144 - else 145 - makeFlagsArray+=( 146 - 'LIMITS_H_TEST=true' 147 - ) 148 - fi 149 - fi 150 - 151 - eval "$oldOpts" 152 - 153 - providedPreConfigure="$preConfigure"; 154 - preConfigure() { 155 - if test -n "$newlibSrc"; then 156 - tar xvf "$newlibSrc" -C .. 157 - ln -s ../newlib-*/newlib newlib 158 - # Patch to get armvt5el working: 159 - sed -i -e 's/ arm)/ arm*)/' newlib/configure.host 160 - fi 161 - 162 - # Bug - they packaged zlib 163 - if test -d "zlib"; then 164 - # This breaks the build without-headers, which should build only 165 - # the target libgcc as target libraries. 166 - # See 'configure:5370' 167 - rm -Rf zlib 168 - fi 169 - 170 - if test -n "$crossMingw" -a -n "$withoutTargetLibc"; then 171 - mkdir -p ../mingw 172 - # --with-build-sysroot expects that: 173 - cp -R $libcCross/include ../mingw 174 - configureFlags="$configureFlags --with-build-sysroot=`pwd`/.." 175 - fi 176 - 177 - # Eval the preConfigure script from nix expression. 178 - eval "$providedPreConfigure" 179 - 180 - # Perform the build in a different directory. 181 - mkdir ../build 182 - cd ../build 183 - configureScript=../$sourceRoot/configure 184 - } 185 - 186 - 187 - postConfigure() { 188 - # Avoid store paths when embedding ./configure flags into gcc. 189 - # Mangled arguments are still useful when reporting bugs upstream. 190 - sed -e "/TOPLEVEL_CONFIGURE_ARGUMENTS=/ s|$NIX_STORE/[a-z0-9]\{32\}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" -i Makefile 191 - } 192 - 193 - 194 - preInstall() { 195 - mkdir -p "$out/${targetConfig}/lib" 196 - mkdir -p "${!outputLib}/${targetConfig}/lib" 197 - # Make ‘lib64’ symlinks to ‘lib’. 198 - if [ -n "$linkLib64toLib" ]; then 199 - ln -s lib "$out/${targetConfig}/lib64" 200 - ln -s lib "${!outputLib}/${targetConfig}/lib64" 201 - fi 202 - # Make ‘lib32’ symlinks to ‘lib’. 203 - if [ -n "$linkLib32toLib" ]; then 204 - ln -s lib "$out/${targetConfig}/lib32" 205 - ln -s lib "${!outputLib}/${targetConfig}/lib32" 206 - fi 207 - } 208 - 209 - 210 - postInstall() { 211 - # Move runtime libraries to lib output. 212 - moveToOutput "${targetConfig+$targetConfig/}lib/lib*.so*" "${!outputLib}" 213 - moveToOutput "${targetConfig+$targetConfig/}lib/lib*.la" "${!outputLib}" 214 - moveToOutput "${targetConfig+$targetConfig/}lib/lib*.dylib" "${!outputLib}" 215 - moveToOutput "${targetConfig+$targetConfig/}lib/lib*.dll.a" "${!outputLib}" 216 - moveToOutput "share/gcc-*/python" "${!outputLib}" 217 - 218 - if [ -z "$enableShared" ]; then 219 - moveToOutput "${targetConfig+$targetConfig/}lib/lib*.a" "${!outputLib}" 220 - fi 221 - 222 - for i in "${!outputLib}/${targetConfig}"/lib/*.{la,py}; do 223 - substituteInPlace "$i" --replace "$out" "${!outputLib}" 224 - done 225 - 226 - if [ -n "$enableMultilib" ]; then 227 - moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.so*" "${!outputLib}" 228 - moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.la" "${!outputLib}" 229 - moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.dylib" "${!outputLib}" 230 - 231 - for i in "${!outputLib}/${targetConfig}"/lib64/*.{la,py}; do 232 - substituteInPlace "$i" --replace "$out" "${!outputLib}" 233 - done 234 - fi 235 - 236 - # Remove `fixincl' to prevent a retained dependency on the 237 - # previous gcc. 238 - rm -rf $out/libexec/gcc/*/*/install-tools 239 - rm -rf $out/lib/gcc/*/*/install-tools 240 - 241 - # More dependencies with the previous gcc or some libs (gccbug stores the build command line) 242 - rm -rf $out/bin/gccbug 243 - 244 - if type "install_name_tool"; then 245 - for i in "${!outputLib}"/lib/*.*.dylib "${!outputLib}"/lib/*.so.[0-9]; do 246 - install_name_tool -id "$i" "$i" || true 247 - for old_path in $(otool -L "$i" | grep "$out" | awk '{print $1}'); do 248 - new_path=`echo "$old_path" | sed "s,$out,${!outputLib},"` 249 - install_name_tool -change "$old_path" "$new_path" "$i" || true 250 - done 251 - done 252 - fi 253 - 254 - # Cross-compiler specific: 255 - # --with-headers=$dir option triggers gcc to make a private copy 256 - # of $dir headers and use it later as `-isysroot`. This prevents 257 - # cc-wrapper from overriding libc headers with `-idirafter`. 258 - # It should be safe to drop it and rely solely on the cc-wrapper. 259 - local sysinc_dir=$out/${targetConfig+$targetConfig/}sys-include 260 - if [ -d "$sysinc_dir" ]; then 261 - chmod -R u+w "$out/${targetConfig+$targetConfig/}sys-include" 262 - rm -rfv "$out/${targetConfig+$targetConfig/}sys-include" 263 - fi 264 - 265 - # Get rid of some "fixed" header files 266 - rm -rfv $out/lib/gcc/*/*/include-fixed/{root,linux,sys/mount.h,bits/statx.h} 267 - 268 - # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks. 269 - for i in $out/bin/*-gcc*; do 270 - if cmp -s $out/bin/gcc $i; then 271 - ln -sfn gcc $i 272 - fi 273 - done 274 - 275 - for i in $out/bin/c++ $out/bin/*-c++* $out/bin/*-g++*; do 276 - if cmp -s $out/bin/g++ $i; then 277 - ln -sfn g++ $i 278 - fi 279 - done 280 - 281 - # Two identical man pages are shipped (moving and compressing is done later) 282 - for i in "$out"/share/man/man1/*g++.1; do 283 - if test -e "$i"; then 284 - man_prefix=`echo "$i" | sed "s,.*/\(.*\)g++.1,\1,"` 285 - ln -sf "$man_prefix"gcc.1 "$i" 286 - fi 287 - done 288 - } 289 - 290 - genericBuild
···
+278
pkgs/development/compilers/gcc/common/builder.nix
···
··· 1 + { lib 2 + , stdenv 3 + , enableMultilib 4 + }: 5 + 6 + originalAttrs: (stdenv.mkDerivation (finalAttrs: originalAttrs // { 7 + preUnpack = '' 8 + oldOpts="$(shopt -po nounset)" || true 9 + set -euo pipefail 10 + 11 + export NIX_FIXINC_DUMMY="$NIX_BUILD_TOP/dummy" 12 + mkdir "$NIX_FIXINC_DUMMY" 13 + 14 + if test "$staticCompiler" = "1"; then 15 + EXTRA_LDFLAGS="-static" 16 + else 17 + EXTRA_LDFLAGS="-Wl,-rpath,''${!outputLib}/lib" 18 + fi 19 + 20 + # GCC interprets empty paths as ".", which we don't want. 21 + if test -z "''${CPATH-}"; then unset CPATH; fi 22 + if test -z "''${LIBRARY_PATH-}"; then unset LIBRARY_PATH; fi 23 + echo "\$CPATH is \`''${CPATH-}'" 24 + echo "\$LIBRARY_PATH is \`''${LIBRARY_PATH-}'" 25 + 26 + if test "$noSysDirs" = "1"; then 27 + 28 + declare -g \ 29 + EXTRA_FLAGS_FOR_BUILD EXTRA_FLAGS EXTRA_FLAGS_FOR_TARGET \ 30 + EXTRA_LDFLAGS_FOR_BUILD EXTRA_LDFLAGS_FOR_TARGET 31 + 32 + # Extract flags from Bintools Wrappers 33 + for post in '_FOR_BUILD' ""; do 34 + curBintools="NIX_BINTOOLS''${post}" 35 + 36 + declare -a extraLDFlags=() 37 + if [[ -e "''${!curBintools}/nix-support/orig-libc" ]]; then 38 + # Figure out what extra flags when linking to pass to the gcc 39 + # compilers being generated to make sure that they use our libc. 40 + extraLDFlags=($(< "''${!curBintools}/nix-support/libc-ldflags") $(< "''${!curBintools}/nix-support/libc-ldflags-before" || true)) 41 + if [ -e ''${!curBintools}/nix-support/ld-set-dynamic-linker ]; then 42 + extraLDFlags=-dynamic-linker=$(< ''${!curBintools}/nix-support/dynamic-linker) 43 + fi 44 + 45 + # The path to the Libc binaries such as `crti.o'. 46 + libc_libdir="$(< "''${!curBintools}/nix-support/orig-libc")/lib" 47 + else 48 + # Hack: support impure environments. 49 + extraLDFlags=("-L/usr/lib64" "-L/usr/lib") 50 + libc_libdir="/usr/lib" 51 + fi 52 + extraLDFlags=("-L$libc_libdir" "-rpath" "$libc_libdir" 53 + "''${extraLDFlags[@]}") 54 + for i in "''${extraLDFlags[@]}"; do 55 + declare -g EXTRA_LDFLAGS''${post}+=" -Wl,$i" 56 + done 57 + done 58 + 59 + # Extract flags from CC Wrappers 60 + for post in '_FOR_BUILD' ""; do 61 + curCC="NIX_CC''${post}" 62 + curFIXINC="NIX_FIXINC_DUMMY''${post}" 63 + 64 + declare -a extraFlags=() 65 + if [[ -e "''${!curCC}/nix-support/orig-libc" ]]; then 66 + # Figure out what extra compiling flags to pass to the gcc compilers 67 + # being generated to make sure that they use our libc. 68 + extraFlags=($(< "''${!curCC}/nix-support/libc-crt1-cflags") $(< "''${!curCC}/nix-support/libc-cflags")) 69 + 70 + # The path to the Libc headers 71 + libc_devdir="$(< "''${!curCC}/nix-support/orig-libc-dev")" 72 + 73 + # Use *real* header files, otherwise a limits.h is generated that 74 + # does not include Libc's limits.h (notably missing SSIZE_MAX, 75 + # which breaks the build). 76 + declare -g NIX_FIXINC_DUMMY''${post}="$libc_devdir/include" 77 + else 78 + # Hack: support impure environments. 79 + extraFlags=("-isystem" "/usr/include") 80 + declare -g NIX_FIXINC_DUMMY''${post}=/usr/include 81 + fi 82 + 83 + extraFlags=("-I''${!curFIXINC}" "''${extraFlags[@]}") 84 + 85 + # BOOT_CFLAGS defaults to `-g -O2'; since we override it below, make 86 + # sure to explictly add them so that files compiled with the bootstrap 87 + # compiler are optimized and (optionally) contain debugging information 88 + # (info "(gccinstall) Building"). 89 + if test -n "''${dontStrip-}"; then 90 + extraFlags=("-O2" "-g" "''${extraFlags[@]}") 91 + else 92 + # Don't pass `-g' at all; this saves space while building. 93 + extraFlags=("-O2" "''${extraFlags[@]}") 94 + fi 95 + 96 + declare -g EXTRA_FLAGS''${post}="''${extraFlags[*]}" 97 + done 98 + 99 + if test -z "''${targetConfig-}"; then 100 + # host = target, so the flags are the same 101 + EXTRA_FLAGS_FOR_TARGET="$EXTRA_FLAGS" 102 + EXTRA_LDFLAGS_FOR_TARGET="$EXTRA_LDFLAGS" 103 + fi 104 + 105 + # CFLAGS_FOR_TARGET are needed for the libstdc++ configure script to find 106 + # the startfiles. 107 + # FLAGS_FOR_TARGET are needed for the target libraries to receive the -Bxxx 108 + # for the startfiles. 109 + makeFlagsArray+=( 110 + "BUILD_SYSTEM_HEADER_DIR=$NIX_FIXINC_DUMMY_FOR_BUILD" 111 + "SYSTEM_HEADER_DIR=$NIX_FIXINC_DUMMY_FOR_BUILD" 112 + "NATIVE_SYSTEM_HEADER_DIR=$NIX_FIXINC_DUMMY" 113 + 114 + "LDFLAGS_FOR_BUILD=$EXTRA_LDFLAGS_FOR_BUILD" 115 + #"LDFLAGS=$EXTRA_LDFLAGS" 116 + "LDFLAGS_FOR_TARGET=$EXTRA_LDFLAGS_FOR_TARGET" 117 + 118 + "CFLAGS_FOR_BUILD=$EXTRA_FLAGS_FOR_BUILD $EXTRA_LDFLAGS_FOR_BUILD" 119 + "CXXFLAGS_FOR_BUILD=$EXTRA_FLAGS_FOR_BUILD $EXTRA_LDFLAGS_FOR_BUILD" 120 + "FLAGS_FOR_BUILD=$EXTRA_FLAGS_FOR_BUILD $EXTRA_LDFLAGS_FOR_BUILD" 121 + 122 + # It seems there is a bug in GCC 5 123 + #"CFLAGS=$EXTRA_FLAGS $EXTRA_LDFLAGS" 124 + #"CXXFLAGS=$EXTRA_FLAGS $EXTRA_LDFLAGS" 125 + 126 + "CFLAGS_FOR_TARGET=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 127 + "CXXFLAGS_FOR_TARGET=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 128 + "FLAGS_FOR_TARGET=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 129 + ) 130 + 131 + if test -z "''${targetConfig-}"; then 132 + makeFlagsArray+=( 133 + "BOOT_CFLAGS=$EXTRA_FLAGS $EXTRA_LDFLAGS" 134 + "BOOT_LDFLAGS=$EXTRA_FLAGS_FOR_TARGET $EXTRA_LDFLAGS_FOR_TARGET" 135 + ) 136 + fi 137 + 138 + if test "$withoutTargetLibc" == 1; then 139 + # We don't want the gcc build to assume there will be a libc providing 140 + # limits.h in this stage 141 + makeFlagsArray+=( 142 + 'LIMITS_H_TEST=false' 143 + ) 144 + else 145 + makeFlagsArray+=( 146 + 'LIMITS_H_TEST=true' 147 + ) 148 + fi 149 + fi 150 + 151 + eval "$oldOpts" 152 + ''; 153 + 154 + preConfigure = (originalAttrs.preConfigure or "") + '' 155 + if test -n "$newlibSrc"; then 156 + tar xvf "$newlibSrc" -C .. 157 + ln -s ../newlib-*/newlib newlib 158 + # Patch to get armvt5el working: 159 + sed -i -e 's/ arm)/ arm*)/' newlib/configure.host 160 + fi 161 + 162 + # Bug - they packaged zlib 163 + if test -d "zlib"; then 164 + # This breaks the build without-headers, which should build only 165 + # the target libgcc as target libraries. 166 + # See 'configure:5370' 167 + rm -Rf zlib 168 + fi 169 + 170 + if test -n "$crossMingw" -a -n "$withoutTargetLibc"; then 171 + mkdir -p ../mingw 172 + # --with-build-sysroot expects that: 173 + cp -R $libcCross/include ../mingw 174 + configureFlags="$configureFlags --with-build-sysroot=`pwd`/.." 175 + fi 176 + 177 + # Perform the build in a different directory. 178 + mkdir ../build 179 + cd ../build 180 + configureScript=../$sourceRoot/configure 181 + ''; 182 + 183 + postConfigure = '' 184 + # Avoid store paths when embedding ./configure flags into gcc. 185 + # Mangled arguments are still useful when reporting bugs upstream. 186 + sed -e "/TOPLEVEL_CONFIGURE_ARGUMENTS=/ s|$NIX_STORE/[a-z0-9]\{32\}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" -i Makefile 187 + ''; 188 + 189 + preInstall = '' 190 + mkdir -p "$out/''${targetConfig}/lib" 191 + mkdir -p "''${!outputLib}/''${targetConfig}/lib" 192 + '' + 193 + # Make `lib64` symlinks to `lib`. 194 + lib.optionalString (!enableMultilib && stdenv.hostPlatform.is64bit && !stdenv.hostPlatform.isMips64n32) '' 195 + ln -s lib "$out/''${targetConfig}/lib64" 196 + ln -s lib "''${!outputLib}/''${targetConfig}/lib64" 197 + '' + 198 + # On mips platforms, gcc follows the IRIX naming convention: 199 + # 200 + # $PREFIX/lib = mips32 201 + # $PREFIX/lib32 = mips64n32 202 + # $PREFIX/lib64 = mips64 203 + # 204 + # Make `lib32` symlinks to `lib`. 205 + lib.optionalString (!enableMultilib && stdenv.targetPlatform.isMips64n32) '' 206 + ln -s lib "$out/''${targetConfig}/lib32" 207 + ln -s lib "''${!outputLib}/''${targetConfig}/lib32" 208 + ''; 209 + 210 + postInstall = '' 211 + # Move runtime libraries to lib output. 212 + moveToOutput "''${targetConfig+$targetConfig/}lib/lib*.so*" "''${!outputLib}" 213 + moveToOutput "''${targetConfig+$targetConfig/}lib/lib*.la" "''${!outputLib}" 214 + moveToOutput "''${targetConfig+$targetConfig/}lib/lib*.dylib" "''${!outputLib}" 215 + moveToOutput "''${targetConfig+$targetConfig/}lib/lib*.dll.a" "''${!outputLib}" 216 + moveToOutput "share/gcc-*/python" "''${!outputLib}" 217 + 218 + if [ -z "$enableShared" ]; then 219 + moveToOutput "''${targetConfig+$targetConfig/}lib/lib*.a" "''${!outputLib}" 220 + fi 221 + 222 + for i in "''${!outputLib}/''${targetConfig}"/lib/*.{la,py}; do 223 + substituteInPlace "$i" --replace "$out" "''${!outputLib}" 224 + done 225 + 226 + if [ -n "$enableMultilib" ]; then 227 + moveToOutput "''${targetConfig+$targetConfig/}lib64/lib*.so*" "''${!outputLib}" 228 + moveToOutput "''${targetConfig+$targetConfig/}lib64/lib*.la" "''${!outputLib}" 229 + moveToOutput "''${targetConfig+$targetConfig/}lib64/lib*.dylib" "''${!outputLib}" 230 + 231 + for i in "''${!outputLib}/''${targetConfig}"/lib64/*.{la,py}; do 232 + substituteInPlace "$i" --replace "$out" "''${!outputLib}" 233 + done 234 + fi 235 + 236 + # Remove `fixincl' to prevent a retained dependency on the 237 + # previous gcc. 238 + rm -rf $out/libexec/gcc/*/*/install-tools 239 + rm -rf $out/lib/gcc/*/*/install-tools 240 + 241 + # More dependencies with the previous gcc or some libs (gccbug stores the build command line) 242 + rm -rf $out/bin/gccbug 243 + 244 + if type "install_name_tool"; then 245 + for i in "''${!outputLib}"/lib/*.*.dylib "''${!outputLib}"/lib/*.so.[0-9]; do 246 + install_name_tool -id "$i" "$i" || true 247 + for old_path in $(otool -L "$i" | grep "$out" | awk '{print $1}'); do 248 + new_path=`echo "$old_path" | sed "s,$out,''${!outputLib},"` 249 + install_name_tool -change "$old_path" "$new_path" "$i" || true 250 + done 251 + done 252 + fi 253 + 254 + # Get rid of some "fixed" header files 255 + rm -rfv $out/lib/gcc/*/*/include-fixed/{root,linux,sys/mount.h,bits/statx.h} 256 + 257 + # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks. 258 + for i in $out/bin/*-gcc*; do 259 + if cmp -s $out/bin/gcc $i; then 260 + ln -sfn gcc $i 261 + fi 262 + done 263 + 264 + for i in $out/bin/c++ $out/bin/*-c++* $out/bin/*-g++*; do 265 + if cmp -s $out/bin/g++ $i; then 266 + ln -sfn g++ $i 267 + fi 268 + done 269 + 270 + # Two identical man pages are shipped (moving and compressing is done later) 271 + for i in "$out"/share/man/man1/*g++.1; do 272 + if test -e "$i"; then 273 + man_prefix=`echo "$i" | sed "s,.*/\(.*\)g++.1,\1,"` 274 + ln -sf "$man_prefix"gcc.1 "$i" 275 + fi 276 + done 277 + ''; 278 + }))
-13
pkgs/development/compilers/gcc/common/pre-configure.nix
··· 148 echo 'SHLIB_LC=${SHLIB_LC}' >> libgcc/Makefile.in 149 '') 150 151 - + lib.optionalString (!enableMultilib && hostPlatform.is64bit && !hostPlatform.isMips64n32) '' 152 - export linkLib64toLib=1 153 - '' 154 - 155 - # On mips platforms, gcc follows the IRIX naming convention: 156 - # 157 - # $PREFIX/lib = mips32 158 - # $PREFIX/lib32 = mips64n32 159 - # $PREFIX/lib64 = mips64 160 - # 161 - + lib.optionalString (!enableMultilib && targetPlatform.isMips64n32) '' 162 - export linkLib32toLib=1 163 - ''
··· 148 echo 'SHLIB_LC=${SHLIB_LC}' >> libgcc/Makefile.in 149 '') 150
+2 -1
pkgs/development/compilers/llvm/10/clang/default.nix
··· 73 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 74 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 75 76 - mkdir -p $python/bin $python/share/clang/ 77 mv $out/bin/{git-clang-format,scan-view} $python/bin 78 if [ -e $out/bin/set-xcode-analyzer ]; then 79 mv $out/bin/set-xcode-analyzer $python/bin 80 fi 81 mv $out/share/clang/*.py $python/share/clang 82 rm $out/bin/c-index-test 83 patchShebangs $python/bin 84
··· 73 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 74 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 75 76 + mkdir -p $python/bin $python/share/{clang,scan-view} 77 mv $out/bin/{git-clang-format,scan-view} $python/bin 78 if [ -e $out/bin/set-xcode-analyzer ]; then 79 mv $out/bin/set-xcode-analyzer $python/bin 80 fi 81 mv $out/share/clang/*.py $python/share/clang 82 + mv $out/share/scan-view/*.py $python/share/scan-view 83 rm $out/bin/c-index-test 84 patchShebangs $python/bin 85
+2 -1
pkgs/development/compilers/llvm/11/clang/default.nix
··· 78 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 79 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 80 81 - mkdir -p $python/bin $python/share/clang/ 82 mv $out/bin/{git-clang-format,scan-view} $python/bin 83 if [ -e $out/bin/set-xcode-analyzer ]; then 84 mv $out/bin/set-xcode-analyzer $python/bin 85 fi 86 mv $out/share/clang/*.py $python/share/clang 87 rm $out/bin/c-index-test 88 patchShebangs $python/bin 89
··· 78 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 79 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 80 81 + mkdir -p $python/bin $python/share/{clang,scan-view} 82 mv $out/bin/{git-clang-format,scan-view} $python/bin 83 if [ -e $out/bin/set-xcode-analyzer ]; then 84 mv $out/bin/set-xcode-analyzer $python/bin 85 fi 86 mv $out/share/clang/*.py $python/share/clang 87 + mv $out/share/scan-view/*.py $python/share/scan-view 88 rm $out/bin/c-index-test 89 patchShebangs $python/bin 90
+2 -1
pkgs/development/compilers/llvm/12/clang/default.nix
··· 72 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 73 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 74 75 - mkdir -p $python/bin $python/share/clang/ 76 mv $out/bin/{git-clang-format,scan-view} $python/bin 77 if [ -e $out/bin/set-xcode-analyzer ]; then 78 mv $out/bin/set-xcode-analyzer $python/bin 79 fi 80 mv $out/share/clang/*.py $python/share/clang 81 rm $out/bin/c-index-test 82 patchShebangs $python/bin 83
··· 72 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 73 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 74 75 + mkdir -p $python/bin $python/share/{clang,scan-view} 76 mv $out/bin/{git-clang-format,scan-view} $python/bin 77 if [ -e $out/bin/set-xcode-analyzer ]; then 78 mv $out/bin/set-xcode-analyzer $python/bin 79 fi 80 mv $out/share/clang/*.py $python/share/clang 81 + mv $out/share/scan-view/*.py $python/share/scan-view 82 rm $out/bin/c-index-test 83 patchShebangs $python/bin 84
+2 -1
pkgs/development/compilers/llvm/13/clang/default.nix
··· 66 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 67 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 68 69 - mkdir -p $python/bin $python/share/clang/ 70 mv $out/bin/{git-clang-format,scan-view} $python/bin 71 if [ -e $out/bin/set-xcode-analyzer ]; then 72 mv $out/bin/set-xcode-analyzer $python/bin 73 fi 74 mv $out/share/clang/*.py $python/share/clang 75 rm $out/bin/c-index-test 76 patchShebangs $python/bin 77
··· 66 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 67 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 68 69 + mkdir -p $python/bin $python/share/{clang,scan-view} 70 mv $out/bin/{git-clang-format,scan-view} $python/bin 71 if [ -e $out/bin/set-xcode-analyzer ]; then 72 mv $out/bin/set-xcode-analyzer $python/bin 73 fi 74 mv $out/share/clang/*.py $python/share/clang 75 + mv $out/share/scan-view/*.py $python/share/scan-view 76 rm $out/bin/c-index-test 77 patchShebangs $python/bin 78
+2 -1
pkgs/development/compilers/llvm/14/clang/default.nix
··· 69 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 70 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 71 72 - mkdir -p $python/bin $python/share/clang/ 73 mv $out/bin/{git-clang-format,scan-view} $python/bin 74 if [ -e $out/bin/set-xcode-analyzer ]; then 75 mv $out/bin/set-xcode-analyzer $python/bin 76 fi 77 mv $out/share/clang/*.py $python/share/clang 78 rm $out/bin/c-index-test 79 patchShebangs $python/bin 80
··· 69 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 70 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 71 72 + mkdir -p $python/bin $python/share/{clang,scan-view} 73 mv $out/bin/{git-clang-format,scan-view} $python/bin 74 if [ -e $out/bin/set-xcode-analyzer ]; then 75 mv $out/bin/set-xcode-analyzer $python/bin 76 fi 77 mv $out/share/clang/*.py $python/share/clang 78 + mv $out/share/scan-view/*.py $python/share/scan-view 79 rm $out/bin/c-index-test 80 patchShebangs $python/bin 81
+2 -1
pkgs/development/compilers/llvm/5/clang/default.nix
··· 67 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 68 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 69 70 - mkdir -p $python/bin $python/share/clang/ 71 mv $out/bin/{git-clang-format,scan-view} $python/bin 72 if [ -e $out/bin/set-xcode-analyzer ]; then 73 mv $out/bin/set-xcode-analyzer $python/bin 74 fi 75 mv $out/share/clang/*.py $python/share/clang 76 rm $out/bin/c-index-test 77 patchShebangs $python/bin 78
··· 67 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 68 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 69 70 + mkdir -p $python/bin $python/share/{clang,scan-view} 71 mv $out/bin/{git-clang-format,scan-view} $python/bin 72 if [ -e $out/bin/set-xcode-analyzer ]; then 73 mv $out/bin/set-xcode-analyzer $python/bin 74 fi 75 mv $out/share/clang/*.py $python/share/clang 76 + mv $out/share/scan-view/*.py $python/share/scan-view 77 rm $out/bin/c-index-test 78 patchShebangs $python/bin 79
+2 -1
pkgs/development/compilers/llvm/6/clang/default.nix
··· 67 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 68 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 69 70 - mkdir -p $python/bin $python/share/clang/ 71 mv $out/bin/{git-clang-format,scan-view} $python/bin 72 if [ -e $out/bin/set-xcode-analyzer ]; then 73 mv $out/bin/set-xcode-analyzer $python/bin 74 fi 75 mv $out/share/clang/*.py $python/share/clang 76 rm $out/bin/c-index-test 77 patchShebangs $python/bin 78
··· 67 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 68 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 69 70 + mkdir -p $python/bin $python/share/{clang,scan-view} 71 mv $out/bin/{git-clang-format,scan-view} $python/bin 72 if [ -e $out/bin/set-xcode-analyzer ]; then 73 mv $out/bin/set-xcode-analyzer $python/bin 74 fi 75 mv $out/share/clang/*.py $python/share/clang 76 + mv $out/share/scan-view/*.py $python/share/scan-view 77 rm $out/bin/c-index-test 78 patchShebangs $python/bin 79
+2 -1
pkgs/development/compilers/llvm/7/clang/default.nix
··· 79 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 80 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 81 82 - mkdir -p $python/bin $python/share/clang/ 83 mv $out/bin/{git-clang-format,scan-view} $python/bin 84 if [ -e $out/bin/set-xcode-analyzer ]; then 85 mv $out/bin/set-xcode-analyzer $python/bin 86 fi 87 mv $out/share/clang/*.py $python/share/clang 88 rm $out/bin/c-index-test 89 patchShebangs $python/bin 90
··· 79 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 80 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 81 82 + mkdir -p $python/bin $python/share/{clang,scan-view} 83 mv $out/bin/{git-clang-format,scan-view} $python/bin 84 if [ -e $out/bin/set-xcode-analyzer ]; then 85 mv $out/bin/set-xcode-analyzer $python/bin 86 fi 87 mv $out/share/clang/*.py $python/share/clang 88 + mv $out/share/scan-view/*.py $python/share/scan-view 89 rm $out/bin/c-index-test 90 patchShebangs $python/bin 91
+2 -1
pkgs/development/compilers/llvm/8/clang/default.nix
··· 85 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 86 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 87 88 - mkdir -p $python/bin $python/share/clang/ 89 mv $out/bin/{git-clang-format,scan-view} $python/bin 90 if [ -e $out/bin/set-xcode-analyzer ]; then 91 mv $out/bin/set-xcode-analyzer $python/bin 92 fi 93 mv $out/share/clang/*.py $python/share/clang 94 rm $out/bin/c-index-test 95 patchShebangs $python/bin 96
··· 85 substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 86 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." 87 88 + mkdir -p $python/bin $python/share/{clang,scan-view} 89 mv $out/bin/{git-clang-format,scan-view} $python/bin 90 if [ -e $out/bin/set-xcode-analyzer ]; then 91 mv $out/bin/set-xcode-analyzer $python/bin 92 fi 93 mv $out/share/clang/*.py $python/share/clang 94 + mv $out/share/scan-view/*.py $python/share/scan-view 95 rm $out/bin/c-index-test 96 patchShebangs $python/bin 97
+2 -1
pkgs/development/compilers/llvm/9/clang/default.nix
··· 80 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 81 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 82 83 - mkdir -p $python/bin $python/share/clang/ 84 mv $out/bin/{git-clang-format,scan-view} $python/bin 85 if [ -e $out/bin/set-xcode-analyzer ]; then 86 mv $out/bin/set-xcode-analyzer $python/bin 87 fi 88 mv $out/share/clang/*.py $python/share/clang 89 rm $out/bin/c-index-test 90 patchShebangs $python/bin 91
··· 80 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 81 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 82 83 + mkdir -p $python/bin $python/share/{clang,scan-view} 84 mv $out/bin/{git-clang-format,scan-view} $python/bin 85 if [ -e $out/bin/set-xcode-analyzer ]; then 86 mv $out/bin/set-xcode-analyzer $python/bin 87 fi 88 mv $out/share/clang/*.py $python/share/clang 89 + mv $out/share/scan-view/*.py $python/share/scan-view 90 rm $out/bin/c-index-test 91 patchShebangs $python/bin 92
+2 -1
pkgs/development/compilers/llvm/git/clang/default.nix
··· 81 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 82 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 83 84 - mkdir -p $python/bin $python/share/clang/ 85 mv $out/bin/{git-clang-format,scan-view} $python/bin 86 if [ -e $out/bin/set-xcode-analyzer ]; then 87 mv $out/bin/set-xcode-analyzer $python/bin 88 fi 89 mv $out/share/clang/*.py $python/share/clang 90 rm $out/bin/c-index-test 91 patchShebangs $python/bin 92
··· 81 --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 82 --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 83 84 + mkdir -p $python/bin $python/share/{clang,scan-view} 85 mv $out/bin/{git-clang-format,scan-view} $python/bin 86 if [ -e $out/bin/set-xcode-analyzer ]; then 87 mv $out/bin/set-xcode-analyzer $python/bin 88 fi 89 mv $out/share/clang/*.py $python/share/clang 90 + mv $out/share/scan-view/*.py $python/share/scan-view 91 rm $out/bin/c-index-test 92 patchShebangs $python/bin 93
-60
pkgs/development/compilers/rust/1_70.nix
··· 1 - # New rust versions should first go to staging. 2 - # Things to check after updating: 3 - # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 - # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 - # This testing can be also done by other volunteers as part of the pull 6 - # request review, in case platforms cannot be covered. 7 - # 2. The LLVM version used for building should match with rust upstream. 8 - # Check the version number in the src/llvm-project git submodule in: 9 - # https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules 10 - # 3. Firefox and Thunderbird should still build on x86_64-linux. 11 - 12 - { stdenv, lib 13 - , buildPackages 14 - , newScope, callPackage 15 - , CoreFoundation, Security, SystemConfiguration 16 - , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 - , makeRustPlatform 18 - , llvmPackages_16, llvm_16 19 - } @ args: 20 - 21 - import ./default.nix { 22 - rustcVersion = "1.70.0"; 23 - rustcSha256 = "sha256-sr+uAAt6UEDk7Eu8UKCfIVSBkMt1cLDtdzWDaEE70nw="; 24 - 25 - llvmSharedForBuild = pkgsBuildBuild.llvmPackages_16.libllvm.override { enableSharedLibraries = true; }; 26 - llvmSharedForHost = pkgsBuildHost.llvmPackages_16.libllvm.override { enableSharedLibraries = true; }; 27 - llvmSharedForTarget = pkgsBuildTarget.llvmPackages_16.libllvm.override { enableSharedLibraries = true; }; 28 - 29 - # For use at runtime 30 - llvmShared = llvm_16.override { enableSharedLibraries = true; }; 31 - 32 - # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox 33 - llvmPackages = llvmPackages_16; 34 - 35 - # Note: the version MUST be one version prior to the version we're 36 - # building 37 - bootstrapVersion = "1.69.0"; 38 - 39 - # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 40 - bootstrapHashes = { 41 - i686-unknown-linux-gnu = "08b2b4f58c0861f40ae159c39cc12f6d41b6858e04a43c6c0aeb36707e2971d0"; 42 - x86_64-unknown-linux-gnu = "2ca4a306047c0b8b4029c382910fcbc895badc29680e0332c9df990fd1c70d4f"; 43 - x86_64-unknown-linux-musl = "071cb04819b15d8801584a1395b28d0472ce99c0e716296e3c0bb4e6318cf171"; 44 - arm-unknown-linux-gnueabihf = "64c82735b4e5606af61be0d01317da436a9590b969e503cdbd19e24636e15845"; 45 - armv7-unknown-linux-gnueabihf = "a509f02d910041c97847e2ccc4ee908c761b7dc5b3c4715922d2b1c573a09675"; 46 - aarch64-unknown-linux-gnu = "88af5aa7a40c8f1b40416a1f27de8ffbe09c155d933f69d3e109c0ccee92353b"; 47 - aarch64-unknown-linux-musl = "76aaf3e4fd7b552feb2d70752c43896a960a2a7c940002f58a5c3f03d2b3c862"; 48 - x86_64-apple-darwin = "9818dab2c3726d63dfbfde12c9273e62e484ef6d6f6e05a6431a3e089c335454"; 49 - aarch64-apple-darwin = "36228cac303298243fb84235db87a5ecf2af49db28585a82af091caefd598677"; 50 - powerpc64le-unknown-linux-gnu = "8ef68b77971c079dbe23b54a2cfb52da012873d96399c424bc223635306e9a58"; 51 - riscv64gc-unknown-linux-gnu = "e1976bf7d0edb7e7789a1ad7ff8086fdb5306a932650fa8182a5d009883fa6c5"; 52 - mips64el-unknown-linux-gnuabi64 = "c4bf3043451d6122a3845db825cbe35b5ca61a44659a00004f6cca1299ad9d72"; 53 - }; 54 - 55 - selectRustPackage = pkgs: pkgs.rust_1_70; 56 - 57 - rustcPatches = [ ]; 58 - } 59 - 60 - (builtins.removeAttrs args [ "pkgsBuildTarget" "pkgsBuildBuild" "pkgsBuildHost" "llvmPackages_16" "llvm_16"])
···
+60
pkgs/development/compilers/rust/1_71.nix
···
··· 1 + # New rust versions should first go to staging. 2 + # Things to check after updating: 3 + # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 + # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 + # This testing can be also done by other volunteers as part of the pull 6 + # request review, in case platforms cannot be covered. 7 + # 2. The LLVM version used for building should match with rust upstream. 8 + # Check the version number in the src/llvm-project git submodule in: 9 + # https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules 10 + # 3. Firefox and Thunderbird should still build on x86_64-linux. 11 + 12 + { stdenv, lib 13 + , buildPackages 14 + , newScope, callPackage 15 + , CoreFoundation, Security, SystemConfiguration 16 + , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 + , makeRustPlatform 18 + , llvmPackages_16, llvm_16 19 + } @ args: 20 + 21 + import ./default.nix { 22 + rustcVersion = "1.71.1"; 23 + rustcSha256 = "sha256-b6kNUNHVKadfbMNJeE3lfX7AuiQZsJvefTNcJb1ORy4="; 24 + 25 + llvmSharedForBuild = pkgsBuildBuild.llvmPackages_16.libllvm.override { enableSharedLibraries = true; }; 26 + llvmSharedForHost = pkgsBuildHost.llvmPackages_16.libllvm.override { enableSharedLibraries = true; }; 27 + llvmSharedForTarget = pkgsBuildTarget.llvmPackages_16.libllvm.override { enableSharedLibraries = true; }; 28 + 29 + # For use at runtime 30 + llvmShared = llvm_16.override { enableSharedLibraries = true; }; 31 + 32 + # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox 33 + llvmPackages = llvmPackages_16; 34 + 35 + # Note: the version MUST be one version prior to the version we're 36 + # building 37 + bootstrapVersion = "1.70.0"; 38 + 39 + # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 40 + bootstrapHashes = { 41 + i686-unknown-linux-gnu = "119dfd4ee3da6c8fc36444dd15a12187e1f9b34ee6792fb75a6a25d09ea7e865"; 42 + x86_64-unknown-linux-gnu = "8499c0b034dd881cd9a880c44021632422a28dc23d7a81ca0a97b04652245982"; 43 + x86_64-unknown-linux-musl = "d97c2ac1d9f17e754fa6b7d48c28531d16278547e3fa47050a01da037ddb6de3"; 44 + arm-unknown-linux-gnueabihf = "ac98b513c31789d0c3201dfe2bbcc81b9437f7e1a15695d09402efec7934c20e"; 45 + armv7-unknown-linux-gnueabihf = "23e6029c2a7363b307af539f0c81f4bb9f0ade12b588658343c8a8cfa41526ae"; 46 + aarch64-unknown-linux-gnu = "3aa012fc4d9d5f17ca30af41f87e1c2aacdac46b51adc5213e7614797c6fd24c"; 47 + aarch64-unknown-linux-musl = "6381de0b55f1741ac322bf1b56701d8aab4e509ff5302043941170f8df34228e"; 48 + x86_64-apple-darwin = "e5819fdbfc7f1a4d5d82cb4c3b7662250748450b45a585433bfb75648bc45547"; 49 + aarch64-apple-darwin = "75cbc356a06c9b2daf6b9249febda0f0c46df2a427f7cc8467c7edbd44636e53"; 50 + powerpc64le-unknown-linux-gnu = "ba8cb5e3078b1bc7c6b27ab53cfa3af14001728db9a047d0bdf29b8f05a4db34"; 51 + riscv64gc-unknown-linux-gnu = "5964f78e5fb30506101a929162a42be6260b887660b71592c5f38466753440c3"; 52 + mips64el-unknown-linux-gnuabi64 = "de5fd0b249fbb95b9b67928ba08d7ec49f18f0ae25cbe1b0ede3c02390d7b93a"; 53 + }; 54 + 55 + selectRustPackage = pkgs: pkgs.rust_1_71; 56 + 57 + rustcPatches = [ ]; 58 + } 59 + 60 + (builtins.removeAttrs args [ "pkgsBuildTarget" "pkgsBuildBuild" "pkgsBuildHost" "llvmPackages_16" "llvm_16"])
+1 -1
pkgs/development/compilers/rust/binary.nix
··· 56 # binaries. The lib.rmeta object inside the ar archive should contain an 57 # .rmeta section, but it is removed. Luckily, this doesn't appear to be an 58 # issue for Rust builds produced by Nix. 59 - dontStrip = stdenv.isDarwin; 60 61 setupHooks = ./setup-hook.sh; 62 };
··· 56 # binaries. The lib.rmeta object inside the ar archive should contain an 57 # .rmeta section, but it is removed. Luckily, this doesn't appear to be an 58 # issue for Rust builds produced by Nix. 59 + dontStrip = true; 60 61 setupHooks = ./setup-hook.sh; 62 };
+1 -4
pkgs/development/compilers/rust/rustc.nix
··· 75 "--release-channel=stable" 76 "--set=build.rustc=${rustc}/bin/rustc" 77 "--set=build.cargo=${cargo}/bin/cargo" 78 "--enable-rpath" 79 "--enable-vendor" 80 "--build=${rust.toRustTargetSpec stdenv.buildPlatform}" ··· 148 patchShebangs src/etc 149 150 ${optionalString (!withBundledLLVM) "rm -rf src/llvm"} 151 - 152 - # Fix the configure script to not require curl as we won't use it 153 - sed -i configure \ 154 - -e '/probe_need CFG_CURL curl/d' 155 156 # Useful debugging parameter 157 # export VERBOSE=1
··· 75 "--release-channel=stable" 76 "--set=build.rustc=${rustc}/bin/rustc" 77 "--set=build.cargo=${cargo}/bin/cargo" 78 + "--tools=rustc,rust-analyzer-proc-macro-srv" 79 "--enable-rpath" 80 "--enable-vendor" 81 "--build=${rust.toRustTargetSpec stdenv.buildPlatform}" ··· 149 patchShebangs src/etc 150 151 ${optionalString (!withBundledLLVM) "rm -rf src/llvm"} 152 153 # Useful debugging parameter 154 # export VERBOSE=1
-17
pkgs/development/interpreters/perl/MakeMaker-cross.patch
··· 1 - diff -Naur a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2 - --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2017-06-30 17:03:20.000000000 -0400 3 - +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2018-02-28 10:06:37.031237946 -0500 4 - @@ -1267,7 +1267,12 @@ 5 - my $value = shift; 6 - return $value if $UNDER_CORE; 7 - my $tvalue = ''; 8 - - require B; 9 - + eval { 10 - + require B; 11 - + }; 12 - + if ($@) { 13 - + return $tvalue; 14 - + } 15 - my $sv = B::svref_2object(\$value); 16 - my $magic = ref($sv) eq 'B::PVMG' ? $sv->MAGIC : undef; 17 - while ( $magic ) {
···
+250
pkgs/development/interpreters/perl/cross.patch
···
··· 1 + From: =?UTF-8?q?Christian=20K=C3=B6gler?= <ck3d@gmx.de> 2 + Date: Mon, 10 Apr 2023 22:12:24 +0200 3 + Subject: [PATCH] miniperl compatible modules 4 + 5 + CPAN::Meta 6 + ExtUtils::MakeMaker 7 + JSON::PP 8 + Data::Dumper 9 + 10 + Updated for perl v5.38.0 by stig@stig.io 11 + 12 + --- 13 + 14 + diff --git a/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/Requirements.pm b/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/Requirements.pm 15 + index b0e83b0d2d..dab4907704 100644 16 + --- a/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/Requirements.pm 17 + +++ b/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/Requirements.pm 18 + @@ -86,21 +86,7 @@ sub new { 19 + # from version::vpp 20 + sub _find_magic_vstring { 21 + my $value = shift; 22 + - my $tvalue = ''; 23 + - require B; 24 + - my $sv = B::svref_2object(\$value); 25 + - my $magic = ref($sv) eq 'B::PVMG' ? $sv->MAGIC : undef; 26 + - while ( $magic ) { 27 + - if ( $magic->TYPE eq 'V' ) { 28 + - $tvalue = $magic->PTR; 29 + - $tvalue =~ s/^v?(.+)$/v$1/; 30 + - last; 31 + - } 32 + - else { 33 + - $magic = $magic->MOREMAGIC; 34 + - } 35 + - } 36 + - return $tvalue; 37 + + return version::->parse($value)->stringify; 38 + } 39 + 40 + # safe if given an unblessed reference 41 + diff --git a/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm b/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm 42 + index 746abd63bc..c55d7cd2d0 100644 43 + --- a/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm 44 + +++ b/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/YAML.pm 45 + @@ -1,6 +1,7 @@ 46 + use 5.008001; # sane UTF-8 support 47 + use strict; 48 + use warnings; 49 + +no warnings 'experimental::builtin'; 50 + package CPAN::Meta::YAML; # git description: v1.68-2-gcc5324e 51 + # XXX-INGY is 5.8.1 too old/broken for utf8? 52 + # XXX-XDG Lancaster consensus was that it was sufficient until 53 + @@ -650,27 +651,29 @@ sub _dump_string { 54 + join '', map { "$_\n" } @lines; 55 + } 56 + 57 + -sub _has_internal_string_value { 58 + +# taken from cpan/JSON-PP/lib/JSON/PP.pm 59 + +sub _looks_like_number { 60 + my $value = shift; 61 + - my $b_obj = B::svref_2object(\$value); # for round trip problem 62 + - return $b_obj->FLAGS & B::SVf_POK(); 63 + + no warnings 'numeric'; 64 + + # if the utf8 flag is on, it almost certainly started as a string 65 + + return if utf8::is_utf8($value); 66 + + # detect numbers 67 + + # string & "" -> "" 68 + + # number & "" -> 0 (with warning) 69 + + # nan and inf can detect as numbers, so check with * 0 70 + + return unless length((my $dummy = "") & $value); 71 + + return unless 0 + $value eq $value; 72 + + return 1 if $value * 0 == 0; 73 + + return -1; # inf/nan 74 + } 75 + 76 + sub _dump_scalar { 77 + my $string = $_[1]; 78 + my $is_key = $_[2]; 79 + - # Check this before checking length or it winds up looking like a string! 80 + - my $has_string_flag = _has_internal_string_value($string); 81 + return '~' unless defined $string; 82 + return "''" unless length $string; 83 + - if (Scalar::Util::looks_like_number($string)) { 84 + - # keys and values that have been used as strings get quoted 85 + - if ( $is_key || $has_string_flag ) { 86 + - return qq['$string']; 87 + - } 88 + - else { 89 + - return $string; 90 + - } 91 + + if (_looks_like_number($string)) { 92 + + return qq['$string']; 93 + } 94 + if ( $string =~ /[\x00-\x09\x0b-\x0d\x0e-\x1f\x7f-\x9f\'\n]/ ) { 95 + $string =~ s/\\/\\\\/g; 96 + @@ -800,9 +803,6 @@ sub errstr { 97 + # Helper functions. Possibly not needed. 98 + 99 + 100 + -# Use to detect nv or iv 101 + -use B; 102 + - 103 + # XXX-INGY Is flock CPAN::Meta::YAML's responsibility? 104 + # Some platforms can't flock :-( 105 + # XXX-XDG I think it is. When reading and writing files, we ought 106 + @@ -822,35 +822,8 @@ sub _can_flock { 107 + } 108 + } 109 + 110 + - 111 + -# XXX-INGY Is this core in 5.8.1? Can we remove this? 112 + -# XXX-XDG Scalar::Util 1.18 didn't land until 5.8.8, so we need this 113 + -##################################################################### 114 + -# Use Scalar::Util if possible, otherwise emulate it 115 + - 116 + -use Scalar::Util (); 117 + BEGIN { 118 + - local $@; 119 + - if ( eval { Scalar::Util->VERSION(1.18); } ) { 120 + - *refaddr = *Scalar::Util::refaddr; 121 + - } 122 + - else { 123 + - eval <<'END_PERL'; 124 + -# Scalar::Util failed to load or too old 125 + -sub refaddr { 126 + - my $pkg = ref($_[0]) or return undef; 127 + - if ( !! UNIVERSAL::can($_[0], 'can') ) { 128 + - bless $_[0], 'Scalar::Util::Fake'; 129 + - } else { 130 + - $pkg = undef; 131 + - } 132 + - "$_[0]" =~ /0x(\w+)/; 133 + - my $i = do { no warnings 'portable'; hex $1 }; 134 + - bless $_[0], $pkg if defined $pkg; 135 + - $i; 136 + -} 137 + -END_PERL 138 + - } 139 + + *refaddr = *builtin::refaddr; 140 + } 141 + 142 + delete $CPAN::Meta::YAML::{refaddr}; 143 + diff --git a/cpan/CPAN-Meta/lib/CPAN/Meta/Merge.pm b/cpan/CPAN-Meta/lib/CPAN/Meta/Merge.pm 144 + index 3604eae402..991f69d275 100644 145 + --- a/cpan/CPAN-Meta/lib/CPAN/Meta/Merge.pm 146 + +++ b/cpan/CPAN-Meta/lib/CPAN/Meta/Merge.pm 147 + @@ -1,12 +1,13 @@ 148 + use strict; 149 + use warnings; 150 + +no warnings 'experimental::builtin'; 151 + 152 + package CPAN::Meta::Merge; 153 + 154 + our $VERSION = '2.150010'; 155 + 156 + use Carp qw/croak/; 157 + -use Scalar::Util qw/blessed/; 158 + +use builtin qw/blessed/; 159 + use CPAN::Meta::Converter 2.141170; 160 + 161 + sub _is_identical { 162 + diff --git a/cpan/CPAN-Meta/lib/CPAN/Meta/Prereqs.pm b/cpan/CPAN-Meta/lib/CPAN/Meta/Prereqs.pm 163 + index d4e93fd8a5..809da68d02 100644 164 + --- a/cpan/CPAN-Meta/lib/CPAN/Meta/Prereqs.pm 165 + +++ b/cpan/CPAN-Meta/lib/CPAN/Meta/Prereqs.pm 166 + @@ -1,6 +1,7 @@ 167 + use 5.006; 168 + use strict; 169 + use warnings; 170 + +no warnings 'experimental::builtin'; 171 + package CPAN::Meta::Prereqs; 172 + 173 + our $VERSION = '2.150010'; 174 + @@ -14,7 +15,6 @@ our $VERSION = '2.150010'; 175 + #pod =cut 176 + 177 + use Carp qw(confess); 178 + -use Scalar::Util qw(blessed); 179 + use CPAN::Meta::Requirements 2.121; 180 + 181 + #pod =method new 182 + @@ -168,7 +168,12 @@ sub types_in { 183 + sub with_merged_prereqs { 184 + my ($self, $other) = @_; 185 + 186 + - my @other = blessed($other) ? $other : @$other; 187 + + eval 'require Scalar::Util'; 188 + + my @other = unless($@){ 189 + + Scalar::Util::blessed($other) ? $other : @$other; 190 + + }else{ 191 + + builtin::blessed($other) ? $other : @$other; 192 + + } 193 + 194 + my @prereq_objs = ($self, @other); 195 + 196 + diff --git a/cpan/JSON-PP/lib/JSON/PP.pm b/cpan/JSON-PP/lib/JSON/PP.pm 197 + index fc8fcbc8f0..cda7b90c65 100644 198 + --- a/cpan/JSON-PP/lib/JSON/PP.pm 199 + +++ b/cpan/JSON-PP/lib/JSON/PP.pm 200 + @@ -4,6 +4,7 @@ package JSON::PP; 201 + 202 + use 5.008; 203 + use strict; 204 + +no warnings 'experimental::builtin'; 205 + 206 + use Exporter (); 207 + BEGIN { our @ISA = ('Exporter') } 208 + diff --git a/dist/Data-Dumper/Dumper.pm b/dist/Data-Dumper/Dumper.pm 209 + index bb6d3caedb..0c2fde4743 100644 210 + --- a/dist/Data-Dumper/Dumper.pm 211 + +++ b/dist/Data-Dumper/Dumper.pm 212 + @@ -11,6 +11,7 @@ package Data::Dumper; 213 + 214 + use strict; 215 + use warnings; 216 + +no warnings 'experimental::builtin'; 217 + 218 + #$| = 1; 219 + 220 + @@ -125,8 +126,7 @@ sub new { 221 + # Packed numeric addresses take less memory. Plus pack is faster than sprintf 222 + 223 + sub format_refaddr { 224 + - require Scalar::Util; 225 + - pack "J", Scalar::Util::refaddr(shift); 226 + + pack "J", builtin::refaddr(shift); 227 + }; 228 + 229 + # 230 + @@ -282,9 +282,8 @@ sub _dump { 231 + warn "WARNING(Freezer method call failed): $@" if $@; 232 + } 233 + 234 + - require Scalar::Util; 235 + - my $realpack = Scalar::Util::blessed($val); 236 + - my $realtype = $realpack ? Scalar::Util::reftype($val) : ref $val; 237 + + my $realpack = builtin::blessed($val); 238 + + my $realtype = $realpack ? builtin::reftype($val) : ref $val; 239 + $id = format_refaddr($val); 240 + 241 + # Note: By this point $name is always defined and of non-zero length. 242 + @@ -576,7 +575,7 @@ sub _dump { 243 + # here generates a different result. So there are actually "three" different 244 + # implementations of Data::Dumper (kind of sort of) but we only test two. 245 + elsif (!defined &_vstring 246 + - and ref $ref eq 'VSTRING' || eval{Scalar::Util::isvstring($val)}) { 247 + + and ref $ref eq 'VSTRING') { 248 + $out .= sprintf "v%vd", $val; 249 + } 250 + # \d here would treat "1\x{660}" as a safe decimal number
+10 -10
pkgs/development/interpreters/perl/default.nix
··· 58 59 in rec { 60 # Maint version 61 - perl534 = callPackage ./intepreter.nix { 62 - self = perl534; 63 - version = "5.34.1"; 64 - sha256 = "sha256-NXlRpJGwuhzjYRJjki/ux4zNWB3dwkpEawM+JazyQqE="; 65 inherit passthruFun; 66 }; 67 68 # Maint version 69 - perl536 = callPackage ./intepreter.nix { 70 - self = perl536; 71 - version = "5.36.0"; 72 - sha256 = "sha256-4mCFr4rDlvYq3YpTPDoOqMhJfYNvBok0esWr17ek4Ao="; 73 inherit passthruFun; 74 }; 75 ··· 77 perldevel = callPackage ./intepreter.nix { 78 self = perldevel; 79 perlAttr = "perldevel"; 80 - version = "5.37.0"; 81 - sha256 = "sha256-8RQO6gtH+WmghqzRafbqAH1MhKv/vJCcvysi7/+T9XI="; 82 inherit passthruFun; 83 }; 84 }
··· 58 59 in rec { 60 # Maint version 61 + perl536 = callPackage ./intepreter.nix { 62 + self = perl536; 63 + version = "5.36.1"; 64 + sha256 = "sha256-aCA2Zdjs4CmI/HfckvzLspeoOku0uNB1WEQvl42lTME="; 65 inherit passthruFun; 66 }; 67 68 # Maint version 69 + perl538 = callPackage ./intepreter.nix { 70 + self = perl538; 71 + version = "5.38.0"; 72 + sha256 = "sha256-IT71gInS8sly6jU1F9xg7DZW8FDcwCdmbhGLUIQj5Rc="; 73 inherit passthruFun; 74 }; 75 ··· 77 perldevel = callPackage ./intepreter.nix { 78 self = perldevel; 79 perlAttr = "perldevel"; 80 + version = "5.38.0"; 81 + sha256 = "sha256-IT71gInS8sly6jU1F9xg7DZW8FDcwCdmbhGLUIQj5Rc="; 82 inherit passthruFun; 83 }; 84 }
+12 -11
pkgs/development/interpreters/perl/intepreter.nix
··· 63 disallowedReferences = [ stdenv.cc ]; 64 65 patches = 66 - [ 67 - # Do not look in /usr etc. for dependencies. 68 - ./no-sys-dirs-5.31.patch 69 70 - # Enable TLS/SSL verification in HTTP::Tiny by default 71 - ./http-tiny-verify-ssl-by-default.patch 72 - ] 73 ++ lib.optional stdenv.isSunOS ./ld-shared.patch 74 ++ lib.optionals stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ] 75 - ++ lib.optional crossCompiling ./MakeMaker-cross.patch; 76 77 # This is not done for native builds because pwd may need to come from 78 # bootstrap tools when building bootstrap perl. ··· 123 124 dontAddPrefix = !crossCompiling; 125 126 - enableParallelBuilding = !crossCompiling; 127 128 # perl includes the build date, the uname of the build system and the 129 # username of the build user in some files. ··· 150 LIB = ${zlib.out}/lib 151 OLD_ZLIB = False 152 GZIP_OS_CODE = AUTO_DETECT 153 EOF 154 '' + lib.optionalString stdenv.isDarwin '' 155 substituteInPlace hints/darwin.sh --replace "env MACOSX_DEPLOYMENT_TARGET=10.3" "" ··· 235 mainProgram = "perl"; 236 }; 237 } // lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec { 238 - crossVersion = "c876045741f5159318085d2737b0090f35a842ca"; # June 5, 2022 239 240 perl-cross-src = fetchFromGitHub { 241 - name = "perl-cross-unstable-${crossVersion}"; 242 owner = "arsv"; 243 repo = "perl-cross"; 244 rev = crossVersion; 245 - sha256 = "sha256-m9UCoTQgXBxSgk9Q1Zv6wl3Qnd0aZm/jEPXkcMKti8U="; 246 }; 247 248 depsBuildBuild = [ buildPackages.stdenv.cc makeWrapper ];
··· 63 disallowedReferences = [ stdenv.cc ]; 64 65 patches = 66 + # Enable TLS/SSL verification in HTTP::Tiny by default 67 + lib.optional (lib.versionOlder version "5.38.0") ./http-tiny-verify-ssl-by-default.patch 68 69 + # Do not look in /usr etc. for dependencies. 70 + ++ lib.optional (lib.versionOlder version "5.38.0") ./no-sys-dirs-5.31.patch 71 + ++ lib.optional (lib.versionAtLeast version "5.38.0") ./no-sys-dirs-5.38.0.patch 72 + 73 ++ lib.optional stdenv.isSunOS ./ld-shared.patch 74 ++ lib.optionals stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ] 75 + ++ lib.optional crossCompiling ./cross.patch; 76 77 # This is not done for native builds because pwd may need to come from 78 # bootstrap tools when building bootstrap perl. ··· 123 124 dontAddPrefix = !crossCompiling; 125 126 + enableParallelBuilding = false; 127 128 # perl includes the build date, the uname of the build system and the 129 # username of the build user in some files. ··· 150 LIB = ${zlib.out}/lib 151 OLD_ZLIB = False 152 GZIP_OS_CODE = AUTO_DETECT 153 + USE_ZLIB_NG = False 154 EOF 155 '' + lib.optionalString stdenv.isDarwin '' 156 substituteInPlace hints/darwin.sh --replace "env MACOSX_DEPLOYMENT_TARGET=10.3" "" ··· 236 mainProgram = "perl"; 237 }; 238 } // lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec { 239 + crossVersion = "1.5"; # Jul 03, 2023 240 241 perl-cross-src = fetchFromGitHub { 242 + name = "perl-cross-${crossVersion}"; 243 owner = "arsv"; 244 repo = "perl-cross"; 245 rev = crossVersion; 246 + sha256 = "sha256-9nRFJinZUWUSpXXyyIVmhRLQ1B5LB3UmN2iAckmem58="; 247 }; 248 249 depsBuildBuild = [ buildPackages.stdenv.cc makeWrapper ];
+256
pkgs/development/interpreters/perl/no-sys-dirs-5.38.0.patch
···
··· 1 + diff --git a/Configure b/Configure 2 + index e261cb9548..3bbbc4b9df 100755 3 + --- a/Configure 4 + +++ b/Configure 5 + @@ -108,15 +108,7 @@ if test -d c:/. || ( uname -a | grep -i 'os\(/\|\)2' 2>&1 ) 2>&1 >/dev/null ; th 6 + fi 7 + 8 + : Proper PATH setting 9 + -paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin' 10 + -paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin" 11 + -paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin" 12 + -paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin" 13 + -paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb" 14 + -paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin" 15 + -paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib" 16 + -paths="$paths /sbin /usr/sbin /usr/libexec" 17 + -paths="$paths /system/gnu_library/bin" 18 + +paths='' 19 + 20 + for p in $paths 21 + do 22 + @@ -1455,8 +1447,7 @@ groupstype='' 23 + i_whoami='' 24 + : Possible local include directories to search. 25 + : Set locincpth to "" in a hint file to defeat local include searches. 26 + -locincpth="/usr/local/include /opt/local/include /usr/gnu/include" 27 + -locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include" 28 + +locincpth="" 29 + : 30 + : no include file wanted by default 31 + inclwanted='' 32 + @@ -1470,17 +1461,12 @@ DEBUGGING='' 33 + archobjs='' 34 + libnames='' 35 + : change the next line if compiling for Xenix/286 on Xenix/386 36 + -xlibpth='/usr/lib/386 /lib/386' 37 + +xlibpth='' 38 + : Possible local library directories to search. 39 + -loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib" 40 + -loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" 41 + +loclibpth="" 42 + 43 + : general looking path for locating libraries 44 + -glibpth="/lib /usr/lib $xlibpth" 45 + -glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" 46 + -test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" 47 + -test -f /shlib/libc.so && glibpth="/shlib $glibpth" 48 + -test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64" 49 + +glibpth="" 50 + 51 + : Private path used by Configure to find libraries. Its value 52 + : is prepended to libpth. This variable takes care of special 53 + @@ -1515,8 +1501,6 @@ libswanted="cl pthread socket bind inet ndbm gdbm dbm db malloc dl ld" 54 + libswanted="$libswanted sun m crypt sec util c cposix posix ucb bsd BSD" 55 + : We probably want to search /usr/shlib before most other libraries. 56 + : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. 57 + -glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` 58 + -glibpth="/usr/shlib $glibpth" 59 + : Do not use vfork unless overridden by a hint file. 60 + usevfork=false 61 + 62 + @@ -2581,7 +2565,6 @@ uname 63 + zip 64 + " 65 + pth=`echo $PATH | sed -e "s/$p_/ /g"` 66 + -pth="$pth $sysroot/lib $sysroot/usr/lib" 67 + for file in $loclist; do 68 + eval xxx=\$$file 69 + case "$xxx" in 70 + @@ -5023,7 +5006,7 @@ esac 71 + : Set private lib path 72 + case "$plibpth" in 73 + '') if ./mips; then 74 + - plibpth="$incpath/usr/lib $sysroot/usr/local/lib $sysroot/usr/ccs/lib" 75 + + plibpth="$incpath/usr/lib" 76 + fi;; 77 + esac 78 + case "$libpth" in 79 + @@ -8860,13 +8843,8 @@ esac 80 + echo " " 81 + case "$sysman" in 82 + '') 83 + - syspath='/usr/share/man/man1 /usr/man/man1' 84 + - syspath="$syspath /usr/man/mann /usr/man/manl /usr/man/local/man1" 85 + - syspath="$syspath /usr/man/u_man/man1" 86 + - syspath="$syspath /usr/catman/u_man/man1 /usr/man/l_man/man1" 87 + - syspath="$syspath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1" 88 + - syspath="$syspath /usr/man/man.L /local/man/man1 /usr/local/man/man1" 89 + - sysman=`./loc . /usr/man/man1 $syspath` 90 + + syspath='' 91 + + sysman='' 92 + ;; 93 + esac 94 + if $test -d "$sysman"; then 95 + @@ -21500,9 +21478,10 @@ $rm_try tryp 96 + case "$full_ar" in 97 + '') full_ar=$ar ;; 98 + esac 99 + +full_ar=ar 100 + 101 + : Store the full pathname to the sed program for use in the C program 102 + -full_sed=$sed 103 + +full_sed=sed 104 + 105 + : see what type gids are declared as in the kernel 106 + echo " " 107 + diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL 108 + index ae647d5f06..9a05d66592 100644 109 + --- a/ext/Errno/Errno_pm.PL 110 + +++ b/ext/Errno/Errno_pm.PL 111 + @@ -135,12 +135,7 @@ sub get_files { 112 + if ($dep =~ /(\S+errno\.h)/) { 113 + push(@file, $1); 114 + } 115 + - } elsif ($^O eq 'linux' && 116 + - $Config{gccversion} ne '' && 117 + - $Config{gccversion} !~ /intel/i && 118 + - # might be using, say, Intel's icc 119 + - $linux_errno_h 120 + - ) { 121 + + } elsif (0) { 122 + push(@file, $linux_errno_h); 123 + } elsif ($^O eq 'haiku') { 124 + # hidden in a special place 125 + diff --git a/hints/freebsd.sh b/hints/freebsd.sh 126 + index 4d26835e99..c6d365d84d 100644 127 + --- a/hints/freebsd.sh 128 + +++ b/hints/freebsd.sh 129 + @@ -127,21 +127,21 @@ case "$osvers" in 130 + objformat=`/usr/bin/objformat` 131 + if [ x$objformat = xaout ]; then 132 + if [ -e /usr/lib/aout ]; then 133 + - libpth="/usr/lib/aout /usr/local/lib /usr/lib" 134 + - glibpth="/usr/lib/aout /usr/local/lib /usr/lib" 135 + + libpth="" 136 + + glibpth="" 137 + fi 138 + lddlflags='-Bshareable' 139 + else 140 + - libpth="/usr/lib /usr/local/lib" 141 + - glibpth="/usr/lib /usr/local/lib" 142 + + libpth="" 143 + + glibpth="" 144 + ldflags="-Wl,-E " 145 + lddlflags="-shared " 146 + fi 147 + cccdlflags='-DPIC -fPIC' 148 + ;; 149 + *) 150 + - libpth="/usr/lib /usr/local/lib" 151 + - glibpth="/usr/lib /usr/local/lib" 152 + + libpth="" 153 + + glibpth="" 154 + ldflags="-Wl,-E " 155 + lddlflags="-shared " 156 + cccdlflags='-DPIC -fPIC' 157 + diff --git a/hints/linux.sh b/hints/linux.sh 158 + index e1508c7509..5a187c583a 100644 159 + --- a/hints/linux.sh 160 + +++ b/hints/linux.sh 161 + @@ -150,28 +150,6 @@ case "$optimize" in 162 + ;; 163 + esac 164 + 165 + -# Ubuntu 11.04 (and later, presumably) doesn't keep most libraries 166 + -# (such as -lm) in /lib or /usr/lib. So we have to ask gcc to tell us 167 + -# where to look. We don't want gcc's own libraries, however, so we 168 + -# filter those out. 169 + -# This could be conditional on Ubuntu, but other distributions may 170 + -# follow suit, and this scheme seems to work even on rather old gcc's. 171 + -# This unconditionally uses gcc because even if the user is using another 172 + -# compiler, we still need to find the math library and friends, and I don't 173 + -# know how other compilers will cope with that situation. 174 + -# Morever, if the user has their own gcc earlier in $PATH than the system gcc, 175 + -# we don't want its libraries. So we try to prefer the system gcc 176 + -# Still, as an escape hatch, allow Configure command line overrides to 177 + -# plibpth to bypass this check. 178 + -if [ -x /usr/bin/gcc ] ; then 179 + - gcc=/usr/bin/gcc 180 + -# clang also provides -print-search-dirs 181 + -elif ${cc:-cc} --version 2>/dev/null | grep -q '^clang ' ; then 182 + - gcc=${cc:-cc} 183 + -else 184 + - gcc=gcc 185 + -fi 186 + - 187 + case "$plibpth" in 188 + '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries | 189 + cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'` 190 + @@ -208,32 +186,6 @@ case "$usequadmath" in 191 + ;; 192 + esac 193 + 194 + -case "$libc" in 195 + -'') 196 + -# If you have glibc, then report the version for ./myconfig bug reporting. 197 + -# (Configure doesn't need to know the specific version since it just uses 198 + -# gcc to load the library for all tests.) 199 + -# We don't use __GLIBC__ and __GLIBC_MINOR__ because they 200 + -# are insufficiently precise to distinguish things like 201 + -# libc-2.0.6 and libc-2.0.7. 202 + - for p in $plibpth 203 + - do 204 + - for trylib in libc.so.6 libc.so 205 + - do 206 + - if $test -e $p/$trylib; then 207 + - libc=`ls -l $p/$trylib | awk '{print $NF}'` 208 + - if $test "X$libc" != X; then 209 + - break 210 + - fi 211 + - fi 212 + - done 213 + - if $test "X$libc" != X; then 214 + - break 215 + - fi 216 + - done 217 + - ;; 218 + -esac 219 + - 220 + if ${sh:-/bin/sh} -c exit; then 221 + echo '' 222 + echo 'You appear to have a working bash. Good.' 223 + @@ -311,33 +263,6 @@ sparc*) 224 + ;; 225 + esac 226 + 227 + -# SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than 228 + -# true libraries. The scripts cause binding against static 229 + -# version of -lgdbm which is a bad idea. So if we have 'nm' 230 + -# make sure it can read the file 231 + -# NI-S 2003/08/07 232 + -case "$nm" in 233 + - '') ;; 234 + - *) 235 + - for p in $plibpth 236 + - do 237 + - if $test -r $p/libndbm.so; then 238 + - if $nm $p/libndbm.so >/dev/null 2>&1 ; then 239 + - echo 'Your shared -lndbm seems to be a real library.' 240 + - _libndbm_real=1 241 + - break 242 + - fi 243 + - fi 244 + - done 245 + - if $test "X$_libndbm_real" = X; then 246 + - echo 'Your shared -lndbm is not a real library.' 247 + - set `echo X "$libswanted "| sed -e 's/ ndbm / /'` 248 + - shift 249 + - libswanted="$*" 250 + - fi 251 + - ;; 252 + -esac 253 + - 254 + # Linux on Synology. 255 + if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then 256 + # Tested on Synology DS213 and DS413
+1
pkgs/development/interpreters/python/cpython/default.nix
··· 439 ln -s "$out/bin/python3" "$out/bin/python" 440 ln -s "$out/bin/python3-config" "$out/bin/python-config" 441 ln -s "$out/lib/pkgconfig/python3.pc" "$out/lib/pkgconfig/python.pc" 442 443 # Get rid of retained dependencies on -dev packages, and remove 444 # some $TMPDIR references to improve binary reproducibility.
··· 439 ln -s "$out/bin/python3" "$out/bin/python" 440 ln -s "$out/bin/python3-config" "$out/bin/python-config" 441 ln -s "$out/lib/pkgconfig/python3.pc" "$out/lib/pkgconfig/python.pc" 442 + ln -sL "$out/share/man/man1/python3.1.gz" "$out/share/man/man1/python.1.gz" 443 444 # Get rid of retained dependencies on -dev packages, and remove 445 # some $TMPDIR references to improve binary reproducibility.
+24
pkgs/development/interpreters/python/hooks/default.nix
··· 62 }; 63 } ./pip-build-hook.sh) {}; 64 65 pipInstallHook = callPackage ({ makePythonHook, pip }: 66 makePythonHook { 67 name = "pip-install-hook"; ··· 159 inherit pythonCheckInterpreter setuppy; 160 }; 161 } ./setuptools-check-hook.sh) {}; 162 163 unittestCheckHook = callPackage ({ makePythonHook }: 164 makePythonHook {
··· 62 }; 63 } ./pip-build-hook.sh) {}; 64 65 + pypaBuildHook = callPackage ({ makePythonHook, build, wheel }: 66 + makePythonHook { 67 + name = "pypa-build-hook.sh"; 68 + propagatedBuildInputs = [ build wheel ]; 69 + substitutions = { 70 + inherit pythonInterpreter; 71 + }; 72 + } ./pypa-build-hook.sh) {}; 73 + 74 + 75 pipInstallHook = callPackage ({ makePythonHook, pip }: 76 makePythonHook { 77 name = "pip-install-hook"; ··· 169 inherit pythonCheckInterpreter setuppy; 170 }; 171 } ./setuptools-check-hook.sh) {}; 172 + 173 + setuptoolsRustBuildHook = callPackage ({ makePythonHook, setuptools-rust, rust }: 174 + makePythonHook { 175 + name = "setuptools-rust-setup-hook"; 176 + propagatedBuildInputs = [ setuptools-rust ]; 177 + substitutions = { 178 + pyLibDir = "${python}/lib/${python.libPrefix}"; 179 + cargoBuildTarget = rust.toRustTargetSpec stdenv.hostPlatform; 180 + cargoLinkerVar = lib.toUpper ( 181 + builtins.replaceStrings ["-"] ["_"] ( 182 + rust.toRustTarget stdenv.hostPlatform)); 183 + targetLinker = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"; 184 + }; 185 + } ./setuptools-rust-hook.sh) {}; 186 187 unittestCheckHook = callPackage ({ makePythonHook }: 188 makePythonHook {
+10 -1
pkgs/development/interpreters/python/hooks/pip-build-hook.sh
··· 1 # Setup hook to use for pip projects 2 echo "Sourcing pip-build-hook" 3 4 pipBuildPhase() { 5 echo "Executing pipBuildPhase" 6 runHook preBuild 7 8 mkdir -p dist 9 echo "Creating a wheel..." 10 - @pythonInterpreter@ -m pip wheel --verbose --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist . 11 echo "Finished creating a wheel..." 12 13 runHook postBuild
··· 1 # Setup hook to use for pip projects 2 echo "Sourcing pip-build-hook" 3 4 + declare -a pipBuildFlags 5 + 6 pipBuildPhase() { 7 echo "Executing pipBuildPhase" 8 runHook preBuild 9 10 mkdir -p dist 11 echo "Creating a wheel..." 12 + @pythonInterpreter@ -m pip wheel \ 13 + --verbose \ 14 + --no-index \ 15 + --no-deps \ 16 + --no-clean \ 17 + --no-build-isolation \ 18 + --wheel-dir dist \ 19 + $pipBuildFlags . 20 echo "Finished creating a wheel..." 21 22 runHook postBuild
+19
pkgs/development/interpreters/python/hooks/pypa-build-hook.sh
···
··· 1 + # Setup hook to use for pypa/build projects 2 + echo "Sourcing pypa-build-hook" 3 + 4 + pypaBuildPhase() { 5 + echo "Executing pypaBuildPhase" 6 + runHook preBuild 7 + 8 + echo "Creating a wheel..." 9 + @pythonInterpreter@ -m build --no-isolation --outdir dist/ --wheel $pypaBuildFlags 10 + echo "Finished creating a wheel..." 11 + 12 + runHook postBuild 13 + echo "Finished executing pypaBuildPhase" 14 + } 15 + 16 + if [ -z "${dontUsePypaBuild-}" ] && [ -z "${buildPhase-}" ]; then 17 + echo "Using pypaBuildPhase" 18 + buildPhase=pypaBuildPhase 19 + fi
+18
pkgs/development/interpreters/python/hooks/setuptools-rust-hook.sh
···
··· 1 + echo "Sourcing setuptools-rust-hook" 2 + 3 + setuptoolsRustSetup() { 4 + # This can work only if rustPlatform.cargoSetupHook is also included 5 + if ! command -v cargoSetupPostPatchHook >/dev/null; then 6 + echo "ERROR: setuptools-rust has to be used alongside with rustPlatform.cargoSetupHook!" 7 + exit 1 8 + fi 9 + 10 + export PYO3_CROSS_LIB_DIR="@pyLibDir@" 11 + export CARGO_BUILD_TARGET=@cargoBuildTarget@ 12 + # TODO theoretically setting linker should not be required because it is 13 + # already set in pkgs/build-support/rust/hooks/default.nix but build fails 14 + # on missing linker without this. 15 + export CARGO_TARGET_@cargoLinkerVar@_LINKER=@targetLinker@ 16 + } 17 + 18 + preConfigureHooks+=(setuptoolsRustSetup)
+4 -2
pkgs/development/libraries/accounts-qt/default.nix
··· 14 propagatedBuildInputs = [ glib libaccounts-glib ]; 15 nativeBuildInputs = [ doxygen pkg-config qmake ]; 16 17 - # Hack to avoid TMPDIR in RPATHs. 18 - preFixup = ''rm -rf "$(pwd)" ''; 19 20 meta = with lib; { 21 description = "Qt library for accessing the online accounts database";
··· 14 propagatedBuildInputs = [ glib libaccounts-glib ]; 15 nativeBuildInputs = [ doxygen pkg-config qmake ]; 16 17 + # remove forbidden references to $TMPDIR 18 + preFixup = '' 19 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/* 20 + ''; 21 22 meta = with lib; { 23 description = "Qt library for accessing the online accounts database";
+2 -1
pkgs/development/libraries/aravis/default.nix
··· 45 ninja 46 pkg-config 47 gi-docgen 48 ] ++ lib.optional enableViewer wrapGAppsHook; 49 50 buildInputs = 51 - [ glib libxml2 gobject-introspection ] 52 ++ lib.optional enableUsb libusb1 53 ++ lib.optionals (enableViewer || enableGstPlugin) (with gst_all_1; [ gstreamer gst-plugins-base (gst-plugins-good.override { gtkSupport = true; }) gst-plugins-bad ]) 54 ++ lib.optionals (enableViewer) [ gtk3 ];
··· 45 ninja 46 pkg-config 47 gi-docgen 48 + gobject-introspection 49 ] ++ lib.optional enableViewer wrapGAppsHook; 50 51 buildInputs = 52 + [ glib libxml2 ] 53 ++ lib.optional enableUsb libusb1 54 ++ lib.optionals (enableViewer || enableGstPlugin) (with gst_all_1; [ gstreamer gst-plugins-base (gst-plugins-good.override { gtkSupport = true; }) gst-plugins-bad ]) 55 ++ lib.optionals (enableViewer) [ gtk3 ];
+1 -1
pkgs/development/libraries/arrow-glib/default.nix
··· 18 meson 19 ninja 20 pkg-config 21 ]; 22 23 buildInputs = [ 24 arrow-cpp 25 glib 26 - gobject-introspection 27 ]; 28 29 meta = with lib; {
··· 18 meson 19 ninja 20 pkg-config 21 + gobject-introspection 22 ]; 23 24 buildInputs = [ 25 arrow-cpp 26 glib 27 ]; 28 29 meta = with lib; {
+7
pkgs/development/libraries/audio/sratom/default.nix
··· 43 "-Ddocs=disabled" 44 ]; 45 46 passthru = { 47 updateScript = writeScript "update-sratom" '' 48 #!/usr/bin/env nix-shell
··· 43 "-Ddocs=disabled" 44 ]; 45 46 + postFixup = '' 47 + # remove once updated to 0.6.15 or above 48 + for f in $dev/lib/pkgconfig/*; do 49 + echo "Requires: lv2 >= 1.18.4, serd-0 >= 0.30.10, sord-0 >= 0.16.10" >> "$f" 50 + done 51 + ''; 52 + 53 passthru = { 54 updateScript = writeScript "update-sratom" '' 55 #!/usr/bin/env nix-shell
+2 -2
pkgs/development/libraries/aws-c-auth/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "aws-c-auth"; 17 - version = "0.6.26"; 18 19 src = fetchFromGitHub { 20 owner = "awslabs"; 21 repo = "aws-c-auth"; 22 rev = "v${version}"; 23 - sha256 = "sha256-PvdkTw5JydJT0TbXLB2C9tk4T+ho+fAbaw4jU9m5KuU="; 24 }; 25 26 nativeBuildInputs = [
··· 14 15 stdenv.mkDerivation rec { 16 pname = "aws-c-auth"; 17 + version = "0.7.0"; 18 19 src = fetchFromGitHub { 20 owner = "awslabs"; 21 repo = "aws-c-auth"; 22 rev = "v${version}"; 23 + sha256 = "sha256-DzUobQ8qZNb83CwVKK9E1V51uHHo22nlBGKdN55W7UY="; 24 }; 25 26 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-cal/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-cal"; 5 - version = "0.5.21"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-WMCLVwRrgwFsaqoKtbQNt0bHVYi1LUZt5r0i3oAfWFE="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-cal"; 5 + version = "0.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-qsYQViMto5j6piCg6gBjzFfPJlLkJt4949o217QsV6Q="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-common/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "aws-c-common"; 10 - version = "0.8.15"; 11 12 src = fetchFromGitHub { 13 owner = "awslabs"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-AemFZZwfHdjqX/sXUw1fpusICOa3C7rT6Ofsz5bGYOQ="; 17 }; 18 19 nativeBuildInputs = [ cmake ];
··· 7 8 stdenv.mkDerivation rec { 9 pname = "aws-c-common"; 10 + version = "0.8.23"; 11 12 src = fetchFromGitHub { 13 owner = "awslabs"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-HkRaQnlasayg5Nu2KaEA18360rxAH/tdJ1iqzoi6i2E="; 17 }; 18 19 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-compression/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "aws-c-compression"; 10 - version = "0.2.16"; 11 12 src = fetchFromGitHub { 13 owner = "awslabs"; 14 repo = "aws-c-compression"; 15 rev = "v${version}"; 16 - sha256 = "sha256-aQ5UsMms8aJh5yrE9of1AQgIGTAk9vyBRaybwYqUY68="; 17 }; 18 19 nativeBuildInputs = [
··· 7 8 stdenv.mkDerivation rec { 9 pname = "aws-c-compression"; 10 + version = "0.2.17"; 11 12 src = fetchFromGitHub { 13 owner = "awslabs"; 14 repo = "aws-c-compression"; 15 rev = "v${version}"; 16 + sha256 = "sha256-XtmSThfz4Cu7CygYrLNQifDCQ6l/c/0OR0lX+OxCYJM="; 17 }; 18 19 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-event-stream/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-event-stream"; 5 - version = "0.2.20"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-UDACkGqTtyLablSzePMmMk4iGpgfdtZU/SEv0RCSFfA="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-event-stream"; 5 + version = "0.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-2MPTr1vSUPuemdlQIalZTp6eGXJl3Xr1eUEnZjikBzg="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-http/default.nix
··· 11 12 stdenv.mkDerivation rec { 13 pname = "aws-c-http"; 14 - version = "0.7.6"; 15 16 src = fetchFromGitHub { 17 owner = "awslabs"; 18 repo = "aws-c-http"; 19 rev = "v${version}"; 20 - sha256 = "sha256-pJGzGbIuz8UJkfmTQEZgXSOMuYixMezNZmgaRlcnmfg="; 21 }; 22 23 nativeBuildInputs = [
··· 11 12 stdenv.mkDerivation rec { 13 pname = "aws-c-http"; 14 + version = "0.7.11"; 15 16 src = fetchFromGitHub { 17 owner = "awslabs"; 18 repo = "aws-c-http"; 19 rev = "v${version}"; 20 + sha256 = "sha256-gKuWhXxWHqTS66yANdKLsCZRk7jeDmyYMlme4WXT5Wc="; 21 }; 22 23 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-io/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-io"; 5 - version = "0.13.19"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-6lTAnoBWbwyWpycsaS7dpCC9c4xYws19HCNyTd7aRho="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-c-io"; 5 + version = "0.13.29"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-ZeogbjgpbqdCioLeb34CRol1Fa5BJOloAxxgE50yfQs="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-mqtt/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "aws-c-mqtt"; 16 - version = "0.8.8"; 17 18 src = fetchFromGitHub { 19 owner = "awslabs"; 20 repo = "aws-c-mqtt"; 21 rev = "v${version}"; 22 - sha256 = "sha256-bt5Qjw+CqgTfi/Ibhc4AwmJxr22Q6m3ygpmeMhvQTT0="; 23 }; 24 25 nativeBuildInputs = [
··· 13 14 stdenv.mkDerivation rec { 15 pname = "aws-c-mqtt"; 16 + version = "0.8.14"; 17 18 src = fetchFromGitHub { 19 owner = "awslabs"; 20 repo = "aws-c-mqtt"; 21 rev = "v${version}"; 22 + sha256 = "sha256-LPhd4ygh/3BtqDZwWtigXWUGZ0fzkcWkFl6dpJIspow="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-s3/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "aws-c-s3"; 17 - version = "0.2.8"; 18 19 src = fetchFromGitHub { 20 owner = "awslabs"; 21 repo = "aws-c-s3"; 22 rev = "v${version}"; 23 - sha256 = "sha256-kwYzsKdEy+e0GxqYcakcdwoaC2LLPZe8E7bZNrmqok0="; 24 }; 25 26 nativeBuildInputs = [
··· 14 15 stdenv.mkDerivation rec { 16 pname = "aws-c-s3"; 17 + version = "0.3.13"; 18 19 src = fetchFromGitHub { 20 owner = "awslabs"; 21 repo = "aws-c-s3"; 22 rev = "v${version}"; 23 + sha256 = "sha256-SXMDyzQ8hjPx9q9GhE11lYjj3IZY35mvUWELlYQmgGU="; 24 }; 25 26 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-sdkutils/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "aws-c-sdkutils"; 10 - version = "0.1.9"; 11 12 src = fetchFromGitHub { 13 owner = "awslabs"; 14 repo = "aws-c-sdkutils"; 15 rev = "v${version}"; 16 - sha256 = "sha256-iKHO8awWWB8tvYCr+/R6hhK8a/PnanYYEAJ7zNOJC3w="; 17 }; 18 19 nativeBuildInputs = [
··· 7 8 stdenv.mkDerivation rec { 9 pname = "aws-c-sdkutils"; 10 + version = "0.1.11"; 11 12 src = fetchFromGitHub { 13 owner = "awslabs"; 14 repo = "aws-c-sdkutils"; 15 rev = "v${version}"; 16 + sha256 = "sha256-xwPMuaaKzypxJK9mTKD4tJZjzl19pu60seGtS2QFjgI="; 17 }; 18 19 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-checksums/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-checksums"; 5 - version = "0.1.14"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-yoViXJuM9UQMcn8W0CcWkCXroBLXjAestr+oqWHi5hQ="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "aws-checksums"; 5 + version = "0.1.17"; 6 7 src = fetchFromGitHub { 8 owner = "awslabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-OoEwubEEkLJmlqmQR4/rp4+b1WYJEbcjYDSdXXHleZQ="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-crt-cpp/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "aws-crt-cpp"; 20 - version = "0.20.2"; 21 22 outputs = [ "out" "dev" ]; 23 ··· 25 owner = "awslabs"; 26 repo = "aws-crt-cpp"; 27 rev = "v${version}"; 28 - sha256 = "sha256-6oRVAL4pn+1+/LqLijKiBV6fZy3k9fZySwMwYHB1aUY="; 29 }; 30 31 patches = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "aws-crt-cpp"; 20 + version = "0.20.3"; 21 22 outputs = [ "out" "dev" ]; 23 ··· 25 owner = "awslabs"; 26 repo = "aws-crt-cpp"; 27 rev = "v${version}"; 28 + sha256 = "sha256-70AchkuhuyumwpBYaj9mOVPJ8+6VSLTLtr3ghwqG3wM="; 29 }; 30 31 patches = [
+10 -2
pkgs/development/libraries/aws-sdk-cpp/default.nix
··· 24 25 stdenv.mkDerivation rec { 26 pname = "aws-sdk-cpp"; 27 - version = "1.11.37"; 28 29 src = fetchFromGitHub { 30 owner = "aws"; 31 repo = "aws-sdk-cpp"; 32 rev = version; 33 - sha256 = "sha256-C1PdLNagoIMk9/AAV2Pp7kWcspasJtN9Tx679FnEprc="; 34 }; 35 36 patches = [ ··· 38 ]; 39 40 postPatch = '' 41 # Avoid blanket -Werror to evade build failures on less 42 # tested compilers. 43 substituteInPlace cmake/compiler_settings.cmake \
··· 24 25 stdenv.mkDerivation rec { 26 pname = "aws-sdk-cpp"; 27 + version = "1.11.118"; 28 29 src = fetchFromGitHub { 30 owner = "aws"; 31 repo = "aws-sdk-cpp"; 32 rev = version; 33 + sha256 = "sha256-jqGXh8xLD2gIjV9kSvlldrxA5TxTTXQoC/B66FVprvk="; 34 }; 35 36 patches = [ ··· 38 ]; 39 40 postPatch = '' 41 + # Append the dev output to path hints in finding Aws.h to avoid 42 + # having to pass `AWS_CORE_HEADER_FILE` explicitly to cmake configure 43 + # when using find_package(AWSSDK CONFIG) 44 + substituteInPlace cmake/AWSSDKConfig.cmake \ 45 + --replace 'C:/AWSSDK/''${AWSSDK_INSTALL_INCLUDEDIR}/aws/core' \ 46 + 'C:/AWSSDK/''${AWSSDK_INSTALL_INCLUDEDIR}/aws/core" 47 + "${placeholder "dev"}/include/aws/core' 48 + 49 # Avoid blanket -Werror to evade build failures on less 50 # tested compilers. 51 substituteInPlace cmake/compiler_settings.cmake \
+8
pkgs/development/libraries/boost/generic.nix
··· 134 relative = "include"; 135 hash = "sha256-dq4SVgxkPJSC7Fvr59VGnXkM4Lb09kYDaBksCHo9C0s="; 136 }) 137 ]; 138 139 meta = with lib; {
··· 134 relative = "include"; 135 hash = "sha256-dq4SVgxkPJSC7Fvr59VGnXkM4Lb09kYDaBksCHo9C0s="; 136 }) 137 + # This fixes an issue in Python 3.11 about Py_TPFLAGS_HAVE_GC 138 + (fetchpatch { 139 + name = "python311-compatibility.patch"; 140 + url = "https://github.com/boostorg/python/commit/a218babc8daee904a83f550fb66e5cb3f1cb3013.patch"; 141 + hash = "sha256-IHxLtJBx0xSy7QEr8FbCPofsjcPuSYzgtPwDlx1JM+4="; 142 + stripLen = 1; 143 + extraPrefix = "libs/python/"; 144 + }) 145 ]; 146 147 meta = with lib; {
+22 -15
pkgs/development/libraries/crocoddyl/default.nix
··· 9 , python3Packages 10 }: 11 12 - stdenv.mkDerivation rec { 13 pname = "crocoddyl"; 14 - version = "2.0.0"; 15 16 src = fetchFromGitHub { 17 owner = "loco-3d"; 18 - repo = pname; 19 - rev = "v${version}"; 20 fetchSubmodules = true; 21 - hash = "sha256-wDHCHTJXmJjU7mhQ2huUVdEc9ap7PMeqlHPrKm//jBQ="; 22 }; 23 - 24 - patches = [ 25 - # error: no matching function for call to 'max(double&, int)' 26 - (fetchpatch { 27 - url = "https://github.com/loco-3d/crocoddyl/commit/d2e4116257595317740975e745739bb76b92e5c0.patch"; 28 - hash = "sha256-M79jNdIxzx9PfW3TStRny76dVo/HDf/Rp08ZPx+ymBg"; 29 - }) 30 - ]; 31 32 strictDeps = true; 33 ··· 48 "-DBUILD_PYTHON_INTERFACE=OFF" 49 ]; 50 51 meta = with lib; { 52 description = "Crocoddyl optimal control library"; 53 homepage = "https://github.com/loco-3d/crocoddyl"; 54 license = licenses.bsd3; 55 - maintainers = with maintainers; [ wegank ]; 56 platforms = platforms.unix; 57 }; 58 - }
··· 9 , python3Packages 10 }: 11 12 + stdenv.mkDerivation (finalAttrs: { 13 pname = "crocoddyl"; 14 + version = "2.0.1"; 15 16 src = fetchFromGitHub { 17 owner = "loco-3d"; 18 + repo = finalAttrs.pname; 19 + rev = "v${finalAttrs.version}"; 20 fetchSubmodules = true; 21 + hash = "sha256-h7rzLSvmWOZCP8rvmUEhFeMEiPhojfbvkt+fNKpgoXo="; 22 }; 23 24 strictDeps = true; 25 ··· 40 "-DBUILD_PYTHON_INTERFACE=OFF" 41 ]; 42 43 + prePatch = '' 44 + substituteInPlace \ 45 + examples/CMakeLists.txt \ 46 + examples/log/check_logfiles.sh \ 47 + --replace /bin/bash ${stdenv.shell} 48 + ''; 49 + 50 + doCheck = true; 51 + pythonImportsCheck = [ 52 + "crocoddyl" 53 + ]; 54 + checkInputs = lib.optionals (pythonSupport) [ 55 + python3Packages.scipy 56 + ]; 57 + 58 meta = with lib; { 59 description = "Crocoddyl optimal control library"; 60 homepage = "https://github.com/loco-3d/crocoddyl"; 61 license = licenses.bsd3; 62 + maintainers = with maintainers; [ nim65s wegank ]; 63 platforms = platforms.unix; 64 }; 65 + })
+12 -7
pkgs/development/libraries/example-robot-data/default.nix
··· 6 , python3Packages 7 }: 8 9 - stdenv.mkDerivation rec { 10 pname = "example-robot-data"; 11 - version = "4.0.7"; 12 13 src = fetchFromGitHub { 14 owner = "Gepetto"; 15 - repo = pname; 16 - rev = "v${version}"; 17 fetchSubmodules = true; 18 - hash = "sha256-dN23ukKPkTohqD1J/0EneLyG6Cg0zriMr1l6WLFemd8="; 19 }; 20 21 strictDeps = true; ··· 32 "-DBUILD_PYTHON_INTERFACE=OFF" 33 ]; 34 35 meta = with lib; { 36 description = "Set of robot URDFs for benchmarking and developed examples."; 37 homepage = "https://github.com/Gepetto/example-robot-data"; 38 license = licenses.bsd3; 39 - maintainers = with maintainers; [ wegank ]; 40 platforms = platforms.unix; 41 }; 42 - }
··· 6 , python3Packages 7 }: 8 9 + stdenv.mkDerivation (finalAttrs: { 10 pname = "example-robot-data"; 11 + version = "4.0.8"; 12 13 src = fetchFromGitHub { 14 owner = "Gepetto"; 15 + repo = finalAttrs.pname; 16 + rev = "v${finalAttrs.version}"; 17 fetchSubmodules = true; 18 + hash = "sha256-xeNbx1f9QCAOJrXfkk3jo9XH2/4HNtnRA1OSnqA2cLs="; 19 }; 20 21 strictDeps = true; ··· 32 "-DBUILD_PYTHON_INTERFACE=OFF" 33 ]; 34 35 + doCheck = true; 36 + pythonImportsCheck = [ 37 + "example_robot_data" 38 + ]; 39 + 40 meta = with lib; { 41 description = "Set of robot URDFs for benchmarking and developed examples."; 42 homepage = "https://github.com/Gepetto/example-robot-data"; 43 license = licenses.bsd3; 44 + maintainers = with maintainers; [ nim65s wegank ]; 45 platforms = platforms.unix; 46 }; 47 + })
+14 -3
pkgs/development/libraries/flite/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, alsa-lib, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 pname = "flite"; ··· 11 sha256 = "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf"; 12 }; 13 14 - buildInputs = lib.optionals stdenv.isLinux [ alsa-lib ]; 15 16 # https://github.com/festvox/flite/pull/60. 17 # Replaces `ar` with `$(AR)` in config/common_make_rules. ··· 25 26 configureFlags = [ 27 "--enable-shared" 28 - ] ++ lib.optionals stdenv.isLinux [ "--with-audio=alsa" ]; 29 30 # main/Makefile creates and removes 'flite_voice_list.c' from multiple targets: 31 # make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'. Stop ··· 35 description = "A small, fast run-time speech synthesis engine"; 36 homepage = "http://www.festvox.org/flite/"; 37 license = licenses.bsdOriginal; 38 platforms = platforms.all; 39 }; 40 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , alsa-lib 5 + , fetchpatch 6 + , libpulseaudio 7 + , audioBackend ? "pulseaudio" 8 + }: 9 + 10 + assert lib.assertOneOf "audioBackend" audioBackend [ "alsa" "pulseaudio" ]; 11 12 stdenv.mkDerivation rec { 13 pname = "flite"; ··· 20 sha256 = "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf"; 21 }; 22 23 + buildInputs = lib.optional (stdenv.isLinux && audioBackend == "alsa") alsa-lib 24 + ++ lib.optional (stdenv.isLinux && audioBackend == "pulseaudio") libpulseaudio; 25 26 # https://github.com/festvox/flite/pull/60. 27 # Replaces `ar` with `$(AR)` in config/common_make_rules. ··· 35 36 configureFlags = [ 37 "--enable-shared" 38 + ] ++ lib.optionals stdenv.isLinux [ "--with-audio=${audioBackend}" ]; 39 40 # main/Makefile creates and removes 'flite_voice_list.c' from multiple targets: 41 # make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'. Stop ··· 45 description = "A small, fast run-time speech synthesis engine"; 46 homepage = "http://www.festvox.org/flite/"; 47 license = licenses.bsdOriginal; 48 + maintainers = with maintainers; [ getchoo ]; 49 platforms = platforms.all; 50 }; 51 }
+2 -2
pkgs/development/libraries/freetype/default.nix
··· 28 29 stdenv.mkDerivation (finalAttrs: { 30 pname = "freetype"; 31 - version = "2.13.0"; 32 33 src = let inherit (finalAttrs) pname version; in fetchurl { 34 url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz"; 35 - sha256 = "sha256-XuI6vQR2NsJLLUPGYl3K/GZmHRrKZN7J4NBd8pWSYkw="; 36 }; 37 38 propagatedBuildInputs = [ zlib bzip2 brotli libpng ]; # needed when linking against freetype
··· 28 29 stdenv.mkDerivation (finalAttrs: { 30 pname = "freetype"; 31 + version = "2.13.1"; 32 33 src = let inherit (finalAttrs) pname version; in fetchurl { 34 url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz"; 35 + sha256 = "sha256-6mfjsBmxEE0WZ6onT13DB9jL1gazmbwy3zCKd/GlZL8="; 36 }; 37 38 propagatedBuildInputs = [ zlib bzip2 brotli libpng ]; # needed when linking against freetype
+2 -2
pkgs/development/libraries/geis/default.nix
··· 32 pythonPath = with python3Packages; 33 [ pygobject3 ]; 34 35 - nativeBuildInputs = [ pkg-config wrapGAppsHook python3Packages.wrapPython]; 36 - buildInputs = [ atk dbus evemu frame gdk-pixbuf gobject-introspection grail 37 gtk3 xorg.libX11 xorg.libXext xorg.libXi xorg.libXtst pango python3Packages.python xorgserver 38 ]; 39
··· 32 pythonPath = with python3Packages; 33 [ pygobject3 ]; 34 35 + nativeBuildInputs = [ pkg-config wrapGAppsHook python3Packages.wrapPython gobject-introspection ]; 36 + buildInputs = [ atk dbus evemu frame gdk-pixbuf grail 37 gtk3 xorg.libX11 xorg.libXext xorg.libXi xorg.libXtst pango python3Packages.python xorgserver 38 ]; 39
-1
pkgs/development/libraries/geoclue/default.nix
··· 65 json-glib 66 libsoup_3 67 avahi 68 - gobject-introspection 69 ] ++ lib.optionals withDemoAgent [ 70 libnotify gdk-pixbuf 71 ] ++ lib.optionals (!stdenv.isDarwin) [
··· 65 json-glib 66 libsoup_3 67 avahi 68 ] ++ lib.optionals withDemoAgent [ 69 libnotify gdk-pixbuf 70 ] ++ lib.optionals (!stdenv.isDarwin) [
+7 -3
pkgs/development/libraries/gettext/default.nix
··· 54 xz 55 xz.bin 56 ]; 57 - buildInputs = [ bash ] 58 - # HACK, see #10874 (and 14664) 59 - ++ lib.optionals (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) [ libiconv ]; 60 61 setupHooks = [ 62 ../../../build-support/setup-hooks/role.bash
··· 54 xz 55 xz.bin 56 ]; 57 + buildInputs = lib.optionals (!stdenv.hostPlatform.isMinGW) [ 58 + bash 59 + ] 60 + ++ lib.optionals (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) [ 61 + # HACK, see #10874 (and 14664) 62 + libiconv 63 + ]; 64 65 setupHooks = [ 66 ../../../build-support/setup-hooks/role.bash
+35 -13
pkgs/development/libraries/giflib/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2, fixDarwinDylibNames, pkgsStatic }: 2 3 stdenv.mkDerivation rec { 4 pname = "giflib"; 5 version = "5.2.1"; 6 src = fetchurl { 7 url = "mirror://sourceforge/giflib/giflib-${version}.tar.gz"; 8 sha256 = "1gbrg03z1b6rlrvjyc6d41bc8j1bsr7rm8206gb1apscyii5bnii"; ··· 14 url = "https://src.fedoraproject.org/rpms/giflib/raw/2e9917bf13df114354163f0c0211eccc00943596/f/CVE-2022-28506.patch"; 15 sha256 = "sha256-TBemEXkuox8FdS9RvjnWcTWPaHRo4crcwSR9czrUwBY="; 16 }) 17 - ] ++ lib.optional stdenv.hostPlatform.isDarwin 18 (fetchpatch { 19 - # https://sourceforge.net/p/giflib/bugs/133/ 20 name = "darwin-soname.patch"; 21 url = "https://sourceforge.net/p/giflib/bugs/_discuss/thread/4e811ad29b/c323/attachment/Makefile.patch"; 22 sha256 = "12afkqnlkl3n1hywwgx8sqnhp3bz0c5qrwcv8j9hifw1lmfhv67r"; 23 extraPrefix = "./"; 24 - }); 25 26 - postPatch = '' 27 - substituteInPlace Makefile \ 28 - --replace 'PREFIX = /usr/local' 'PREFIX = ${builtins.placeholder "out"}' 29 - '' 30 - # Upstream build system does not support NOT building shared libraries. 31 - + lib.optionalString stdenv.hostPlatform.isStatic '' 32 sed -i '/all:/ s/libgif.so//' Makefile 33 sed -i '/all:/ s/libutil.so//' Makefile 34 sed -i '/-m 755 libgif.so/ d' Makefile 35 sed -i '/ln -sf libgif.so/ d' Makefile 36 ''; 37 38 - nativeBuildInputs = lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ]; 39 - 40 - passthru.tests.static = pkgsStatic.giflib; 41 42 meta = { 43 description = "A library for reading and writing gif images"; 44 platforms = lib.platforms.unix; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ ];
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , fetchpatch 5 + , fixDarwinDylibNames 6 + , pkgsStatic 7 + }: 8 9 stdenv.mkDerivation rec { 10 pname = "giflib"; 11 version = "5.2.1"; 12 + 13 src = fetchurl { 14 url = "mirror://sourceforge/giflib/giflib-${version}.tar.gz"; 15 sha256 = "1gbrg03z1b6rlrvjyc6d41bc8j1bsr7rm8206gb1apscyii5bnii"; ··· 21 url = "https://src.fedoraproject.org/rpms/giflib/raw/2e9917bf13df114354163f0c0211eccc00943596/f/CVE-2022-28506.patch"; 22 sha256 = "sha256-TBemEXkuox8FdS9RvjnWcTWPaHRo4crcwSR9czrUwBY="; 23 }) 24 + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 25 + # https://sourceforge.net/p/giflib/bugs/133/ 26 (fetchpatch { 27 name = "darwin-soname.patch"; 28 url = "https://sourceforge.net/p/giflib/bugs/_discuss/thread/4e811ad29b/c323/attachment/Makefile.patch"; 29 sha256 = "12afkqnlkl3n1hywwgx8sqnhp3bz0c5qrwcv8j9hifw1lmfhv67r"; 30 extraPrefix = "./"; 31 + }) 32 + ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ 33 + # Build dll libraries. 34 + (fetchurl { 35 + url = "https://aur.archlinux.org/cgit/aur.git/plain/001-mingw-build.patch?h=mingw-w64-giflib&id=4cf1e519bcf51338dc607d23388fca47d71790c0"; 36 + sha256 = "KyJi3eqH/Ae+guEK6znraZI5+IPImaoYoW5NTkCvjsg="; 37 + }) 38 39 + # Install executables. 40 + ./mingw-install-exes.patch 41 + ]; 42 + 43 + nativeBuildInputs = lib.optionals stdenv.isDarwin [ 44 + fixDarwinDylibNames 45 + ]; 46 + 47 + makeFlags = [ 48 + "PREFIX=${builtins.placeholder "out"}" 49 + ]; 50 + 51 + postPatch = lib.optionalString stdenv.hostPlatform.isStatic '' 52 + # Upstream build system does not support NOT building shared libraries. 53 sed -i '/all:/ s/libgif.so//' Makefile 54 sed -i '/all:/ s/libutil.so//' Makefile 55 sed -i '/-m 755 libgif.so/ d' Makefile 56 sed -i '/ln -sf libgif.so/ d' Makefile 57 ''; 58 59 + passthru.tests = { 60 + static = pkgsStatic.giflib; 61 + }; 62 63 meta = { 64 description = "A library for reading and writing gif images"; 65 + homepage = "https://giflib.sourceforge.net/"; 66 platforms = lib.platforms.unix; 67 license = lib.licenses.mit; 68 maintainers = with lib.maintainers; [ ];
+11
pkgs/development/libraries/giflib/mingw-install-exes.patch
···
··· 1 + --- a/Makefile 2 + +++ b/Makefile 3 + @@ -92,7 +92,7 @@ 4 + install: all install-bin install-include install-lib install-man 5 + install-bin: $(INSTALLABLE) 6 + $(INSTALL) -d "$(DESTDIR)$(BINDIR)" 7 + - $(INSTALL) $^ "$(DESTDIR)$(BINDIR)" 8 + + $(INSTALL) $(^:=.exe) "$(DESTDIR)$(BINDIR)" 9 + install-include: 10 + $(INSTALL) -d "$(DESTDIR)$(INCDIR)" 11 + $(INSTALL) -m 644 gif_lib.h "$(DESTDIR)$(INCDIR)"
+2 -2
pkgs/development/libraries/gpgme/default.nix
··· 26 in 27 stdenv.mkDerivation rec { 28 pname = "gpgme"; 29 - version = "1.20.0"; 30 31 src = fetchurl { 32 url = "mirror://gnupg/gpgme/${pname}-${version}.tar.bz2"; 33 - hash = "sha256-JaV4Wl2jVmiQAUQJJrlOln0C4TxJ63dD417wzyLkJ1A="; 34 }; 35 36 patches = [
··· 26 in 27 stdenv.mkDerivation rec { 28 pname = "gpgme"; 29 + version = "1.21.0"; 30 31 src = fetchurl { 32 url = "mirror://gnupg/gpgme/${pname}-${version}.tar.bz2"; 33 + hash = "sha256-QW4XThZXNNhIBiU/jJa9opk/0H8ljDqtXwU6bv1GPog="; 34 }; 35 36 patches = [
+2 -3
pkgs/development/libraries/gstreamer/bad/default.nix
··· 109 110 stdenv.mkDerivation rec { 111 pname = "gst-plugins-bad"; 112 - version = "1.22.4"; 113 114 outputs = [ "out" "dev" ]; 115 116 src = fetchurl { 117 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 118 - hash = "sha256-6q9TIkVl6qvVBco5xtV2lxm0V5XPUyzhzrYOGy6+maw="; 119 }; 120 121 patches = [ ··· 142 ]; 143 144 buildInputs = [ 145 - gobject-introspection 146 gst-plugins-base 147 orc 148 json-glib
··· 109 110 stdenv.mkDerivation rec { 111 pname = "gst-plugins-bad"; 112 + version = "1.22.5"; 113 114 outputs = [ "out" "dev" ]; 115 116 src = fetchurl { 117 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 118 + hash = "sha256-5k51za/X/y/H/DToVbBrHj7SJ8wG+jeNF7vNdngMM4w="; 119 }; 120 121 patches = [ ··· 142 ]; 143 144 buildInputs = [ 145 gst-plugins-base 146 orc 147 json-glib
+2 -3
pkgs/development/libraries/gstreamer/base/default.nix
··· 45 46 stdenv.mkDerivation (finalAttrs: { 47 pname = "gst-plugins-base"; 48 - version = "1.22.4"; 49 50 outputs = [ "out" "dev" ]; 51 ··· 53 inherit (finalAttrs) pname version; 54 in fetchurl { 55 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 56 - hash = "sha256-KSQk6C3qFwUoxCtFb2KolTK8q8BQjxkuNGcvuG9o5bg="; 57 }; 58 59 strictDeps = true; ··· 77 ]; 78 79 buildInputs = [ 80 - gobject-introspection 81 graphene 82 orc 83 libtheora
··· 45 46 stdenv.mkDerivation (finalAttrs: { 47 pname = "gst-plugins-base"; 48 + version = "1.22.5"; 49 50 outputs = [ "out" "dev" ]; 51 ··· 53 inherit (finalAttrs) pname version; 54 in fetchurl { 55 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 56 + hash = "sha256-7dQzi0XCapryjA01qrlkoCTDiEum9SDYQo3wQhLIyTo="; 57 }; 58 59 strictDeps = true; ··· 77 ]; 78 79 buildInputs = [ 80 graphene 81 orc 82 libtheora
+2 -3
pkgs/development/libraries/gstreamer/core/default.nix
··· 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "gstreamer"; 27 - version = "1.22.4"; 28 29 outputs = [ 30 "bin" ··· 36 inherit (finalAttrs) pname version; 37 in fetchurl { 38 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 39 - hash = "sha256-EcsEmLwWuT2LmdIvdfgpuNCr/YJUhAshIGGNtVMtxlU="; 40 }; 41 42 depsBuildBuild = [ ··· 64 65 buildInputs = [ 66 bash-completion 67 - gobject-introspection 68 ] ++ lib.optionals stdenv.isLinux [ 69 libcap 70 libunwind
··· 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "gstreamer"; 27 + version = "1.22.5"; 28 29 outputs = [ 30 "bin" ··· 36 inherit (finalAttrs) pname version; 37 in fetchurl { 38 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 39 + hash = "sha256-RAjXkw84GAnoWReswZcS8XMmG6hb3yDFVnsqIbEZO2E="; 40 }; 41 42 depsBuildBuild = [ ··· 64 65 buildInputs = [ 66 bash-completion 67 ] ++ lib.optionals stdenv.isLinux [ 68 libcap 69 libunwind
+2 -3
pkgs/development/libraries/gstreamer/devtools/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "gst-devtools"; 20 - version = "1.22.4"; 21 22 src = fetchurl { 23 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 24 - hash = "sha256-TFIFPOjB33L9gXIen1PeOxRu3PLeKPYHvnBbzkz5CdE="; 25 }; 26 27 outputs = [ ··· 46 cairo 47 python3 48 json-glib 49 - gobject-introspection 50 ]; 51 52 propagatedBuildInputs = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "gst-devtools"; 20 + version = "1.22.5"; 21 22 src = fetchurl { 23 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 24 + hash = "sha256-Kt0VGapu6wHVRMuUKTaI7jvCB59rymB1v1wj0AoJIb4="; 25 }; 26 27 outputs = [ ··· 46 cairo 47 python3 48 json-glib 49 ]; 50 51 propagatedBuildInputs = [
+2 -3
pkgs/development/libraries/gstreamer/ges/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "gst-editing-services"; 21 - version = "1.22.4"; 22 23 outputs = [ 24 "out" ··· 27 28 src = fetchurl { 29 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 30 - hash = "sha256-RThGz6RxoMHIAUVRvUhPvPM08ORDBZIxevuyN3Xmm9I="; 31 }; 32 33 nativeBuildInputs = [ ··· 45 buildInputs = [ 46 bash-completion 47 libxml2 48 - gobject-introspection 49 gst-devtools 50 python3 51 ];
··· 18 19 stdenv.mkDerivation rec { 20 pname = "gst-editing-services"; 21 + version = "1.22.5"; 22 23 outputs = [ 24 "out" ··· 27 28 src = fetchurl { 29 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 30 + hash = "sha256-vM3TvWHYaCmxbODiBtthsz95SsF5JCP558xl110aMbU="; 31 }; 32 33 nativeBuildInputs = [ ··· 45 buildInputs = [ 46 bash-completion 47 libxml2 48 gst-devtools 49 python3 50 ];
+14 -2
pkgs/development/libraries/gstreamer/good/default.nix
··· 1 { lib, stdenv 2 , fetchurl 3 , meson 4 , nasm 5 , ninja ··· 51 52 stdenv.mkDerivation rec { 53 pname = "gst-plugins-good"; 54 - version = "1.22.4"; 55 56 outputs = [ "out" "dev" ]; 57 58 src = fetchurl { 59 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 60 - hash = "sha256-1xIMEUap1yPVPVv+gHTaJXWoHwWYQ4dSk385u3yDO2o="; 61 }; 62 63 strictDeps = true; 64
··· 1 { lib, stdenv 2 , fetchurl 3 + , fetchpatch 4 , meson 5 , nasm 6 , ninja ··· 52 53 stdenv.mkDerivation rec { 54 pname = "gst-plugins-good"; 55 + version = "1.22.5"; 56 57 outputs = [ "out" "dev" ]; 58 59 src = fetchurl { 60 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 61 + hash = "sha256-tnsxMTpUxpKbgpadQdPP3y9Y21c/tfSR5rul2ErqB3g="; 62 }; 63 + 64 + # TODO: Patch is conditional to spare rebuilds during the current staging-next cycle and should be removed during the next bump 65 + patches = lib.optionals qt5Support [ 66 + # Needed until https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5083 is merged and released 67 + (fetchpatch { 68 + name = "gst-plugins-good-fix-qt5-without-viv-fb.patch"; 69 + url = "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/03d8ef0b7c6e70eb936de0514831c1aafc763dcf.diff"; 70 + hash = "sha256-17XU/W/TMPg5669O1EBXByAN/VwFu/0idTg5ze3M/D4="; 71 + stripLen = 2; 72 + }) 73 + ]; 74 75 strictDeps = true; 76
+2 -2
pkgs/development/libraries/gstreamer/libav/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "gst-libav"; 21 - version = "1.22.4"; 22 23 src = fetchurl { 24 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 25 - hash = "sha256-mnUbx0Dedo55HDepXwqSTGpB0S/X839UzmpOg0vhItM="; 26 }; 27 28 outputs = [ "out" "dev" ];
··· 18 19 stdenv.mkDerivation rec { 20 pname = "gst-libav"; 21 + version = "1.22.5"; 22 23 src = fetchurl { 24 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 25 + hash = "sha256-hYPwwfT8sB7tEfoePCESZUOovXOe1Pwdsx91alqwHZo="; 26 }; 27 28 outputs = [ "out" "dev" ];
+2 -3
pkgs/development/libraries/gstreamer/rtsp-server/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "gst-rtsp-server"; 18 - version = "1.22.4"; 19 20 src = fetchurl { 21 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 22 - hash = "sha256-RmZhLXqZxg3NbwvbobenTSVioFAbKj4FdvCRa/HYgRs="; 23 }; 24 25 outputs = [ ··· 41 buildInputs = [ 42 gst-plugins-base 43 gst-plugins-bad 44 - gobject-introspection 45 ]; 46 47 mesonFlags = [
··· 15 16 stdenv.mkDerivation rec { 17 pname = "gst-rtsp-server"; 18 + version = "1.22.5"; 19 20 src = fetchurl { 21 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 22 + hash = "sha256-80PrVJZOvU2MBxvl7srVhvKP6wFW4DbgaxSNDn/rscA="; 23 }; 24 25 outputs = [ ··· 41 buildInputs = [ 42 gst-plugins-base 43 gst-plugins-bad 44 ]; 45 46 mesonFlags = [
+2 -2
pkgs/development/libraries/gstreamer/ugly/default.nix
··· 26 27 stdenv.mkDerivation rec { 28 pname = "gst-plugins-ugly"; 29 - version = "1.22.4"; 30 31 outputs = [ "out" "dev" ]; 32 33 src = fetchurl { 34 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 35 - hash = "sha256-/7Rh/abAbTFsS+VoJjLMiQFFTtcrEJix4CIbxV5nPNc="; 36 }; 37 38 nativeBuildInputs = [
··· 26 27 stdenv.mkDerivation rec { 28 pname = "gst-plugins-ugly"; 29 + version = "1.22.5"; 30 31 outputs = [ "out" "dev" ]; 32 33 src = fetchurl { 34 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 35 + hash = "sha256-JoBHOyGBWPGEZ8rD4cUCkbf/TgcQ3TUKWeqsvCnAmlQ="; 36 }; 37 38 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/gstreamer/vaapi/default.nix
··· 24 25 stdenv.mkDerivation rec { 26 pname = "gstreamer-vaapi"; 27 - version = "1.22.4"; 28 29 src = fetchurl { 30 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 31 - hash = "sha256-lnuONT2C0AgaaNxTY5sl2ftMqJv6HgYUA+DNfSNYW6Y="; 32 }; 33 34 outputs = [
··· 24 25 stdenv.mkDerivation rec { 26 pname = "gstreamer-vaapi"; 27 + version = "1.22.5"; 28 29 src = fetchurl { 30 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 31 + hash = "sha256-qaVQJnyVhN8OjHBDTTBHbo/QAYtzPBwe4z3q9CK9sks="; 32 }; 33 34 outputs = [
+2 -2
pkgs/development/libraries/keybinder/default.nix
··· 13 sha256 = "sha256-elL6DZtzCwAtoyGZYP0jAma6tHPks2KAtrziWtBENGU="; 14 }; 15 16 - nativeBuildInputs = [ pkg-config autoconf automake ]; 17 18 buildInputs = [ 19 libtool gnome.gnome-common gtk-doc gtk2 20 - lua gobject-introspection 21 ]; 22 23 configureFlags = [ "--disable-python" ];
··· 13 sha256 = "sha256-elL6DZtzCwAtoyGZYP0jAma6tHPks2KAtrziWtBENGU="; 14 }; 15 16 + nativeBuildInputs = [ pkg-config autoconf automake gobject-introspection ]; 17 18 buildInputs = [ 19 libtool gnome.gnome-common gtk-doc gtk2 20 + lua 21 ]; 22 23 configureFlags = [ "--disable-python" ];
+1 -1
pkgs/development/libraries/lasso/default.nix
··· 27 autoreconfHook 28 pkg-config 29 python3 30 ]; 31 32 buildInputs = [ 33 glib 34 - gobject-introspection 35 gtk-doc 36 libtool 37 libxml2
··· 27 autoreconfHook 28 pkg-config 29 python3 30 + gobject-introspection 31 ]; 32 33 buildInputs = [ 34 glib 35 gtk-doc 36 libtool 37 libxml2
+8 -2
pkgs/development/libraries/libdwg/default.nix
··· 13 14 hardeningDisable = [ "format" ]; 15 16 - # Hack to avoid TMPDIR in RPATHs. 17 - preFixup = ''rm -rf "$(pwd)" ''; 18 19 meta = { 20 description = "Library reading dwg files";
··· 13 14 hardeningDisable = [ "format" ]; 15 16 + # remove forbidden references to $TMPDIR 17 + preFixup = lib.optionalString stdenv.isLinux '' 18 + for f in "$out"/bin/*; do 19 + if isELF "$f"; then 20 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 21 + fi 22 + done 23 + ''; 24 25 meta = { 26 description = "Library reading dwg files";
+9 -2
pkgs/development/libraries/libftdi/default.nix
··· 20 21 propagatedBuildInputs = [ libusb-compat-0_1 ]; 22 23 - # Hack to avoid TMPDIR in RPATHs. 24 - preFixup = ''rm -rf "$(pwd)" ''; 25 configureFlags = lib.optional (!stdenv.isDarwin) "--with-async-mode"; 26 27 # allow async mode. from ubuntu. see: ··· 29 patchPhase = '' 30 substituteInPlace ./src/ftdi.c \ 31 --replace "ifdef USB_CLASS_PTP" "if 0" 32 ''; 33 34 meta = {
··· 20 21 propagatedBuildInputs = [ libusb-compat-0_1 ]; 22 23 configureFlags = lib.optional (!stdenv.isDarwin) "--with-async-mode"; 24 25 # allow async mode. from ubuntu. see: ··· 27 patchPhase = '' 28 substituteInPlace ./src/ftdi.c \ 29 --replace "ifdef USB_CLASS_PTP" "if 0" 30 + ''; 31 + 32 + # remove forbidden references to $TMPDIR 33 + preFixup = lib.optionalString stdenv.isLinux '' 34 + for f in "$out"/bin/*; do 35 + if isELF "$f"; then 36 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 37 + fi 38 + done 39 ''; 40 41 meta = {
+16 -2
pkgs/development/libraries/libgit2/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , cmake 5 , pkg-config 6 , python3 ··· 19 20 stdenv.mkDerivation rec { 21 pname = "libgit2"; 22 - version = "1.6.4"; 23 # also check the following packages for updates: python3Packages.pygit2 and libgit2-glib 24 25 src = fetchFromGitHub { 26 owner = "libgit2"; 27 repo = "libgit2"; 28 rev = "v${version}"; 29 - hash = "sha256-lW3mokVKsbknVj2xsxEbeZH4IdKZ0aIgGutzenS0Eh0="; 30 }; 31 32 cmakeFlags = [ 33 "-DUSE_HTTP_PARSER=system"
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , cmake 6 , pkg-config 7 , python3 ··· 20 21 stdenv.mkDerivation rec { 22 pname = "libgit2"; 23 + version = "1.7.0"; 24 # also check the following packages for updates: python3Packages.pygit2 and libgit2-glib 25 26 src = fetchFromGitHub { 27 owner = "libgit2"; 28 repo = "libgit2"; 29 rev = "v${version}"; 30 + hash = "sha256-3ZVBGd2T5DQKsDEc5a7pS0yz01+rDCszU9ZK0zxvfyQ="; 31 }; 32 + 33 + patches = [ 34 + (fetchpatch { 35 + name = "darwin-errSSLNetworkTimeout.patch"; 36 + url = "https://github.com/libgit2/libgit2/commit/3e15292d8863da316a57be23fede04f443460686.patch"; 37 + hash = "sha256-N314YK7osO9L3hCXb+FcMoDM8iBW9Bt8D5O2Szdz7YA="; 38 + }) 39 + (fetchpatch { 40 + name = "missing-git_oidarray.patch"; 41 + url = "https://github.com/libgit2/libgit2/commit/085a169c1d73e02888708652d7772b3bc1f1b28b.diff"; 42 + hash = "sha256-l6q1TLuOloyk0Jqvo5Npv4grU/oxlg+RFLa43qENaLI="; 43 + }) 44 + ]; 45 46 cmakeFlags = [ 47 "-DUSE_HTTP_PARSER=system"
+19 -3
pkgs/development/libraries/libhwy/default.nix
··· 1 - { lib, stdenv, cmake, ninja, gtest, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 pname = "libhwy"; 5 - version = "1.0.4"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "highway"; 10 rev = version; 11 - hash = "sha256-bQtfye+gn7GOyzCtji4st5hsV40rPzuaYDP7N1tZ8wg="; 12 }; 13 14 nativeBuildInputs = [ cmake ninja ]; 15 ··· 29 "-DGTEST_MAIN_LIBRARY=${lib.getLib gtest}/lib/libgtest_main${libExt}" 30 ] ++ lib.optionals stdenv.hostPlatform.isAarch32 [ 31 "-DHWY_CMAKE_ARM7=ON" 32 ]; 33 34 # hydra's darwin machines run into https://github.com/libjxl/libjxl/issues/408
··· 1 + { lib, stdenv, cmake, ninja, gtest, fetchFromGitHub, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 pname = "libhwy"; 5 + version = "1.0.5"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "highway"; 10 rev = version; 11 + hash = "sha256-Gym2iHq5ws9kuG4HWSQndD8hVugV4USZt6dUFnEkLwY="; 12 }; 13 + patches = lib.optionals (with stdenv; isAarch64 && isLinux) [ # conditional, temporarily 14 + # backport for compilation issue on aarch64 15 + # https://github.com/google/highway/issues/1613 16 + (fetchpatch { 17 + url = "https://github.com/google/highway/commit/7ad89efa911cb906ccf3f78fe510db415e921801.diff"; 18 + hash = "sha256-hTSkeCh2QLMqeIKG/CAqJXaPqD/66Z02gjGXk591f+U="; 19 + }) 20 + ]; 21 22 nativeBuildInputs = [ cmake ninja ]; 23 ··· 37 "-DGTEST_MAIN_LIBRARY=${lib.getLib gtest}/lib/libgtest_main${libExt}" 38 ] ++ lib.optionals stdenv.hostPlatform.isAarch32 [ 39 "-DHWY_CMAKE_ARM7=ON" 40 + ] ++ lib.optionals stdenv.hostPlatform.isx86_32 [ 41 + # Quoting CMakelists.txt: 42 + # This must be set on 32-bit x86 with GCC < 13.1, otherwise math_test will be 43 + # skipped. For GCC 13.1+, you can also build with -fexcess-precision=standard. 44 + # Fixes tests: 45 + # HwyMathTestGroup/HwyMathTest.TestAllAtanh/EMU128 46 + # HwyMathTestGroup/HwyMathTest.TestAllLog1p/EMU128 47 + "-DHWY_CMAKE_SSE2=ON" 48 ]; 49 50 # hydra's darwin machines run into https://github.com/libjxl/libjxl/issues/408
+2 -2
pkgs/development/libraries/libipt/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libipt"; 5 - version = "2.0.5"; 6 7 src = fetchFromGitHub { 8 owner = "intel"; 9 repo = "libipt"; 10 rev = "v${version}"; 11 - sha256 = "sha256-W7Hvc2zkmR6FdPGsymWXtm66BiHLcW9r7mywHjabeLc="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libipt"; 5 + version = "2.0.6"; 6 7 src = fetchFromGitHub { 8 owner = "intel"; 9 repo = "libipt"; 10 rev = "v${version}"; 11 + sha256 = "sha256-RuahOkDLbac9bhXn8QSf7lMRw11PIpXQo3eaQ9N4Rtc="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/liblangtag/default.nix
··· 35 (stdenv.hostPlatform.libc == "glibc") 36 "--with-locale-alias=${stdenv.cc.libc}/share/locale/locale.alias"; 37 38 - buildInputs = [ gettext glib libxml2 gobject-introspection gnome-common ]; 39 - nativeBuildInputs = [ autoreconfHook gtk-doc gettext pkg-config unzip ]; 40 41 meta = with lib; { 42 description = "An interface library to access tags for identifying languages";
··· 35 (stdenv.hostPlatform.libc == "glibc") 36 "--with-locale-alias=${stdenv.cc.libc}/share/locale/locale.alias"; 37 38 + buildInputs = [ gettext glib libxml2 gnome-common ]; 39 + nativeBuildInputs = [ autoreconfHook gtk-doc gettext pkg-config unzip gobject-introspection ]; 40 41 meta = with lib; { 42 description = "An interface library to access tags for identifying languages";
+1 -2
pkgs/development/libraries/libmx/default.nix
··· 33 34 configureScript = "sh autogen.sh"; 35 36 - nativeBuildInputs = [ pkg-config automake autoconf intltool ]; 37 buildInputs = [ 38 libtool 39 - gobject-introspection glib 40 gtk2 gtk-doc clutter clutter-gtk 41 ]; 42
··· 33 34 configureScript = "sh autogen.sh"; 35 36 + nativeBuildInputs = [ pkg-config automake autoconf intltool gobject-introspection ]; 37 buildInputs = [ 38 libtool 39 gtk2 gtk-doc clutter clutter-gtk 40 ]; 41
+2 -2
pkgs/development/libraries/libpfm/default.nix
··· 3 }: 4 5 stdenv.mkDerivation (rec { 6 - version = "4.12.0"; 7 pname = "libpfm"; 8 9 src = fetchurl { 10 url = "mirror://sourceforge/perfmon2/libpfm4/${pname}-${version}.tar.gz"; 11 - sha256 = "sha256-SwwfU/OaYVJbab6/UyxoBAwbmE11RKiuCESxPNkeHuQ="; 12 }; 13 14 makeFlags = [
··· 3 }: 4 5 stdenv.mkDerivation (rec { 6 + version = "4.13.0"; 7 pname = "libpfm"; 8 9 src = fetchurl { 10 url = "mirror://sourceforge/perfmon2/libpfm4/${pname}-${version}.tar.gz"; 11 + sha256 = "sha256-0YuXdkx1VSjBBR03bjNUXQ62DG6/hWgENoE/pbBMw9E="; 12 }; 13 14 makeFlags = [
+15 -14
pkgs/development/libraries/librsvg/default.nix
··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "librsvg"; 35 - version = "2.56.2"; 36 37 outputs = [ "out" "dev" ] ++ lib.optionals withIntrospection [ 38 "devdoc" ··· 40 41 src = fetchurl { 42 url = "mirror://gnome/sources/librsvg/${lib.versions.majorMinor finalAttrs.version}/librsvg-${finalAttrs.version}.tar.xz"; 43 - sha256 = "PsPE2Pc+C6S5EwAmlp6DccCStzQpjTbi/bPrSvzsEgA="; 44 }; 45 46 cargoDeps = rustPlatform.fetchCargoTarball { 47 inherit (finalAttrs) src; 48 name = "librsvg-deps-${finalAttrs.version}"; 49 - hash = "sha256-GIEpZ5YMvmYQLcaLXseXQ6gIF7ICtUKq28JCVJ3PEYk="; 50 # TODO: move this to fetchCargoTarball 51 dontConfigure = true; 52 }; ··· 141 ''; 142 143 # Not generated when cross compiling. 144 - postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) '' 145 - # Merge gdkpixbuf and librsvg loaders 146 - cat ${lib.getLib gdk-pixbuf}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache $GDK_PIXBUF/loaders.cache > $GDK_PIXBUF/loaders.cache.tmp 147 - mv $GDK_PIXBUF/loaders.cache.tmp $GDK_PIXBUF/loaders.cache 148 149 - mkdir -p "$out/share/bash-completion/completions/" 150 - $out/bin/rsvg-convert --completion bash > "$out/share/bash-completion/completions/rsvg-convert" 151 - mkdir -p "$out/share/zsh/site-functions/" 152 - $out/bin/rsvg-convert --completion zsh > "$out/share/zsh/site-functions/_rsvg-convert" 153 - mkdir -p "$out/share/fish/vendor_completions.d/" 154 - $out/bin/rsvg-convert --completion fish > "$out/share/fish/vendor_completions.d/rsvg-convert.fish" 155 - ''; 156 157 postFixup = lib.optionalString withIntrospection '' 158 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "librsvg"; 35 + version = "2.56.3"; 36 37 outputs = [ "out" "dev" ] ++ lib.optionals withIntrospection [ 38 "devdoc" ··· 40 41 src = fetchurl { 42 url = "mirror://gnome/sources/librsvg/${lib.versions.majorMinor finalAttrs.version}/librsvg-${finalAttrs.version}.tar.xz"; 43 + hash = "sha256-WjKASKAtAUZFzSf2EUD04LESgPssfyohhk/gxZrBzog="; 44 }; 45 46 cargoDeps = rustPlatform.fetchCargoTarball { 47 inherit (finalAttrs) src; 48 name = "librsvg-deps-${finalAttrs.version}"; 49 + hash = "sha256-s7eNMSdajr2VhB/BPVUFftHhHKCqpR9sTfxfWwag1mI="; 50 # TODO: move this to fetchCargoTarball 51 dontConfigure = true; 52 }; ··· 141 ''; 142 143 # Not generated when cross compiling. 144 + postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in 145 + lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) '' 146 + # Merge gdkpixbuf and librsvg loaders 147 + cat ${lib.getLib gdk-pixbuf}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache $GDK_PIXBUF/loaders.cache > $GDK_PIXBUF/loaders.cache.tmp 148 + mv $GDK_PIXBUF/loaders.cache.tmp $GDK_PIXBUF/loaders.cache 149 150 + mkdir -p "$out/share/bash-completion/completions/" 151 + ${emulator} $out/bin/rsvg-convert --completion bash > "$out/share/bash-completion/completions/rsvg-convert" 152 + mkdir -p "$out/share/zsh/site-functions/" 153 + ${emulator} $out/bin/rsvg-convert --completion zsh > "$out/share/zsh/site-functions/_rsvg-convert" 154 + mkdir -p "$out/share/fish/vendor_completions.d/" 155 + ${emulator} $out/bin/rsvg-convert --completion fish > "$out/share/fish/vendor_completions.d/rsvg-convert.fish" 156 + ''; 157 158 postFixup = lib.optionalString withIntrospection '' 159 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
+2 -2
pkgs/development/libraries/libunique/3.x.nix
··· 16 sha256 = "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"; 17 }; 18 19 - nativeBuildInputs = [ pkg-config ]; 20 - buildInputs = [ dbus dbus-glib gtk3 gobject-introspection gtk-doc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ]; 21 22 meta = { 23 homepage = "https://wiki.gnome.org/Attic/LibUnique";
··· 16 sha256 = "0f70lkw66v9cj72q0iw1s2546r6bwwcd8idcm3621fg2fgh2rw58"; 17 }; 18 19 + nativeBuildInputs = [ pkg-config gobject-introspection ]; 20 + buildInputs = [ dbus dbus-glib gtk3 gtk-doc docbook_xml_dtd_45 docbook_xsl libxslt libxml2 ]; 21 22 meta = { 23 homepage = "https://wiki.gnome.org/Attic/LibUnique";
+2 -2
pkgs/development/libraries/mesa/default.nix
··· 86 */ 87 88 let 89 - version = "23.1.3"; 90 - hash = "sha256-L21zgbwQ+9LWJjrRAieFuLURBGwakEFi+PfaGO6ortk="; 91 92 # Release calendar: https://www.mesa3d.org/release-calendar.html 93 # Release frequency: https://www.mesa3d.org/releasing.html#schedule
··· 86 */ 87 88 let 89 + version = "23.1.4"; 90 + hash = "sha256-cmGhf7lIZ+PcWpDYofEA+gSwy73lHSUwLAhytemhCVk="; 91 92 # Release calendar: https://www.mesa3d.org/release-calendar.html 93 # Release frequency: https://www.mesa3d.org/releasing.html#schedule
+20 -27
pkgs/development/libraries/nghttp2/default.nix
··· 7 # Optional dependencies 8 , enableApp ? with stdenv.hostPlatform; !isWindows && !isStatic 9 , c-aresMinimal, libev, openssl, zlib 10 - , enableAsioLib ? false, boost 11 , enableGetAssets ? false, libxml2 12 , enableHpack ? false, jansson 13 , enableJemalloc ? false, jemalloc 14 - , enablePython ? false, python3Packages, ncurses 15 16 # Unit tests ; we have to set TZDIR, which is a GNUism. 17 , enableTests ? stdenv.hostPlatform.isGnu, cunit, tzdata ··· 27 28 assert enableGetAssets -> enableApp; 29 assert enableHpack -> enableApp; 30 assert enableJemalloc -> enableApp; 31 32 stdenv.mkDerivation rec { 33 pname = "nghttp2"; 34 - version = "1.51.0"; 35 36 src = fetchurl { 37 url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2"; 38 - sha256 = "sha256-6z6m9bYMbT7b8GXgT0NOjtYpGlyxoHkZxBcwqx/MAOA="; 39 }; 40 41 - outputs = [ "bin" "out" "dev" "lib" ] 42 - ++ lib.optionals (enablePython) [ "python" ]; 43 44 nativeBuildInputs = [ pkg-config ] 45 - ++ lib.optionals (enableApp) [ installShellFiles ] 46 - ++ lib.optionals (enablePython) [ python3Packages.cython ]; 47 48 - buildInputs = lib.optionals enableApp [ c-aresMinimal libev openssl zlib ] 49 - ++ lib.optionals (enableAsioLib) [ boost ] 50 ++ lib.optionals (enableGetAssets) [ libxml2 ] 51 ++ lib.optionals (enableHpack) [ jansson ] 52 ++ lib.optionals (enableJemalloc) [ jemalloc ] 53 - ++ lib.optionals (enablePython) [ python3Packages.python ncurses python3Packages.setuptools ]; 54 55 enableParallelBuilding = true; 56 57 configureFlags = [ 58 "--disable-examples" 59 (lib.enableFeature enableApp "app") 60 - ] ++ lib.optionals (enableAsioLib) [ "--enable-asio-lib" "--with-boost-libdir=${boost}/lib" ] 61 - ++ lib.optionals (enablePython) [ 62 - "--enable-python-bindings" 63 - "--with-cython=${python3Packages.cython}/bin/cython" 64 - ]; 65 66 # Unit tests require CUnit and setting TZDIR environment variable 67 doCheck = enableTests; ··· 70 export TZDIR=${tzdata}/share/zoneinfo 71 ''; 72 73 - preInstall = lib.optionalString (enablePython) '' 74 - mkdir -p $out/${python3Packages.python.sitePackages} 75 - # convince installer it's ok to install here 76 - export PYTHONPATH="$PYTHONPATH:$out/${python3Packages.python.sitePackages}" 77 - ''; 78 - postInstall = lib.optionalString (enablePython) '' 79 - mkdir -p $python/${python3Packages.python.sitePackages} 80 - mv $out/${python3Packages.python.sitePackages}/* $python/${python3Packages.python.sitePackages} 81 - rm -r $out/lib 82 - '' + lib.optionalString (enableApp) '' 83 installShellCompletion --bash doc/bash_completion/{h2load,nghttp,nghttpd,nghttpx} 84 ''; 85 86 passthru.tests = { 87 inherit curl libsoup; 88 - python-nghttp2 = python3Packages.nghttp2; 89 }; 90 91 meta = with lib; {
··· 7 # Optional dependencies 8 , enableApp ? with stdenv.hostPlatform; !isWindows && !isStatic 9 , c-aresMinimal, libev, openssl, zlib 10 , enableGetAssets ? false, libxml2 11 , enableHpack ? false, jansson 12 + , enableHttp3 ? false, ngtcp2, nghttp3, quictls 13 , enableJemalloc ? false, jemalloc 14 + , enablePython ? false, python3, ncurses 15 16 # Unit tests ; we have to set TZDIR, which is a GNUism. 17 , enableTests ? stdenv.hostPlatform.isGnu, cunit, tzdata ··· 27 28 assert enableGetAssets -> enableApp; 29 assert enableHpack -> enableApp; 30 + assert enableHttp3 -> enableApp; 31 assert enableJemalloc -> enableApp; 32 33 stdenv.mkDerivation rec { 34 pname = "nghttp2"; 35 + version = "1.54.0"; 36 37 src = fetchurl { 38 url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2"; 39 + sha256 = "sha256-nZ0esJm0kvr6Gtn31pZZU3WP3vmtDPZaTQvcI3OAPa0="; 40 }; 41 42 + outputs = [ "out" "dev" "lib" "doc" "man" ]; 43 44 nativeBuildInputs = [ pkg-config ] 45 + ++ lib.optionals (enableApp) [ installShellFiles ]; 46 47 + buildInputs = lib.optionals enableApp [ c-aresMinimal libev zlib ] 48 + ++ lib.optionals (enableApp && !enableHttp3) [ openssl ] 49 ++ lib.optionals (enableGetAssets) [ libxml2 ] 50 ++ lib.optionals (enableHpack) [ jansson ] 51 ++ lib.optionals (enableJemalloc) [ jemalloc ] 52 + ++ lib.optionals (enableHttp3) [ ngtcp2 nghttp3 quictls ] 53 + ++ lib.optionals (enablePython) [ python3 ]; 54 55 enableParallelBuilding = true; 56 57 configureFlags = [ 58 "--disable-examples" 59 (lib.enableFeature enableApp "app") 60 + (lib.enableFeature enableHttp3 "http3") 61 + ]; 62 63 # Unit tests require CUnit and setting TZDIR environment variable 64 doCheck = enableTests; ··· 67 export TZDIR=${tzdata}/share/zoneinfo 68 ''; 69 70 + postInstall = lib.optionalString (enableApp) '' 71 installShellCompletion --bash doc/bash_completion/{h2load,nghttp,nghttpd,nghttpx} 72 + '' + lib.optionalString (!enableApp) '' 73 + rm -r $out/bin 74 + '' + lib.optionalString (enablePython) '' 75 + patchShebangs $out/share/nghttp2 76 + '' + lib.optionalString (!enablePython) '' 77 + rm -r $out/share 78 ''; 79 80 passthru.tests = { 81 inherit curl libsoup; 82 }; 83 84 meta = with lib; {
+9 -2
pkgs/development/libraries/ngtcp2/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "ngtcp2"; 11 - version = "0.15.0"; 12 13 src = fetchFromGitHub { 14 owner = "ngtcp2"; 15 repo = pname; 16 rev = "v${version}"; 17 - hash = "sha256-FWNWpRuCUyqTIyLZkBFKrd2urjSCqHp20mBAXOcJm14="; 18 }; 19 20 outputs = [ "out" "dev" "doc" ]; ··· 26 cmakeFlags = [ 27 "-DENABLE_STATIC_LIB=OFF" 28 ]; 29 30 doCheck = true; 31 enableParallelBuilding = true;
··· 8 9 stdenv.mkDerivation rec { 10 pname = "ngtcp2"; 11 + version = "0.17.0"; 12 13 src = fetchFromGitHub { 14 owner = "ngtcp2"; 15 repo = pname; 16 rev = "v${version}"; 17 + hash = "sha256-vY3RooC8ttezru6vAqbG1MU5uZhD8fLnlEYVYS3pFRk="; 18 }; 19 20 outputs = [ "out" "dev" "doc" ]; ··· 26 cmakeFlags = [ 27 "-DENABLE_STATIC_LIB=OFF" 28 ]; 29 + 30 + preConfigure = '' 31 + # https://github.com/ngtcp2/ngtcp2/issues/858 32 + # Fix ngtcp2_crypto_openssl remnants. 33 + substituteInPlace crypto/includes/CMakeLists.txt \ 34 + --replace 'ngtcp2/ngtcp2_crypto_openssl.h' 'ngtcp2/ngtcp2_crypto_quictls.h' 35 + ''; 36 37 doCheck = true; 38 enableParallelBuilding = true;
+3
pkgs/development/libraries/openldap/default.nix
··· 96 preCheck = '' 97 substituteInPlace tests/scripts/all \ 98 --replace "/bin/rm" "rm" 99 ''; 100 101 doCheck = true;
··· 96 preCheck = '' 97 substituteInPlace tests/scripts/all \ 98 --replace "/bin/rm" "rm" 99 + 100 + # skip flaky tests 101 + rm -f tests/scripts/test063-delta-multiprovider 102 ''; 103 104 doCheck = true;
+2 -2
pkgs/development/libraries/osm-gps-map/default.nix
··· 11 12 outputs = [ "out" "dev" "doc" ]; 13 14 - nativeBuildInputs = [ pkg-config ]; 15 16 buildInputs = [ 17 - cairo glib gobject-introspection 18 gnome.gnome-common gtk3 gnome.libsoup 19 ]; 20
··· 11 12 outputs = [ "out" "dev" "doc" ]; 13 14 + nativeBuildInputs = [ pkg-config gobject-introspection ]; 15 16 buildInputs = [ 17 + cairo glib 18 gnome.gnome-common gtk3 gnome.libsoup 19 ]; 20
+36 -52
pkgs/development/libraries/p11-kit/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , autoreconfHook 5 , docbook-xsl-nons 6 - , gtk-doc 7 - , installShellFiles 8 - , libxslt # for xsltproc 9 - , pkg-config 10 - , which 11 , libffi 12 - , libiconv 13 , libintl 14 - , libtasn1 15 }: 16 17 stdenv.mkDerivation rec { ··· 25 hash = "sha256-paLiRYgYshuedgDgW2nEsv4/Loq6qFyQMjfBJwqtHzw="; 26 }; 27 28 - outputs = [ "out" "bin" "dev"]; 29 30 - # For cross platform builds of p11-kit, libtasn1 in nativeBuildInputs 31 - # provides the asn1Parser binary on the hostPlatform needed for building. 32 - # at the same time, libtasn1 in buildInputs provides the libasn1 library 33 - # to link against for the target platform. 34 - # Hence, libtasn1 is required in both native and build inputs. 35 nativeBuildInputs = [ 36 - autoreconfHook 37 - docbook-xsl-nons 38 - gtk-doc 39 - installShellFiles 40 - libtasn1 41 - libxslt.bin 42 pkg-config 43 - which 44 ]; 45 46 buildInputs = [ 47 libffi 48 - libiconv 49 libintl 50 - libtasn1 51 ]; 52 53 - autoreconfPhase = '' 54 - NOCONFIGURE=1 ./autogen.sh 55 - ''; 56 - 57 - configureFlags = [ 58 - "--enable-doc" 59 "--sysconfdir=/etc" 60 - "--localstatedir=/var" 61 - "--with-trust-paths=${lib.concatStringsSep ":" [ 62 - "/etc/ssl/trust-source" # p11-kit trust source 63 - "/etc/ssl/certs/ca-certificates.crt" # NixOS + Debian/Ubuntu/Arch/Gentoo... 64 - "/etc/pki/tls/certs/ca-bundle.crt" # Fedora/CentOS 65 "/var/lib/ca-certificates/ca-bundle.pem" # openSUSE 66 - "/etc/ssl/cert.pem" # Darwin/macOS 67 - ]}" 68 ]; 69 70 - enableParallelBuilding = true; 71 - 72 - # Tests run in fakeroot for non-root users 73 - preCheck = '' 74 - if [ "$(id -u)" != "0" ]; then 75 - export FAKED_MODE=1 76 - fi 77 - ''; 78 - 79 - doCheck = !stdenv.isDarwin; 80 81 - installFlags = [ 82 - "exampledir=${placeholder "out"}/etc/pkcs11" 83 - ]; 84 - 85 - postInstall = '' 86 - installShellCompletion --bash bash-completion/{p11-kit,trust} 87 ''; 88 89 meta = with lib; {
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , libtasn1 8 + , libxslt 9 , docbook-xsl-nons 10 + , docbook_xml_dtd_43 11 + , gettext 12 + , mesonEmulatorHook 13 , libffi 14 , libintl 15 }: 16 17 stdenv.mkDerivation rec { ··· 25 hash = "sha256-paLiRYgYshuedgDgW2nEsv4/Loq6qFyQMjfBJwqtHzw="; 26 }; 27 28 + outputs = [ "out" "bin" "dev" ]; 29 30 + strictDeps = true; 31 + 32 nativeBuildInputs = [ 33 + meson 34 + ninja 35 pkg-config 36 + libtasn1 # asn1Parser 37 + libxslt # xsltproc 38 + docbook-xsl-nons 39 + docbook_xml_dtd_43 40 + gettext 41 + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 42 + mesonEmulatorHook 43 ]; 44 45 buildInputs = [ 46 libffi 47 + libtasn1 48 libintl 49 ]; 50 51 + mesonFlags = [ 52 "--sysconfdir=/etc" 53 + (lib.mesonBool "man" true) 54 + (lib.mesonEnable "systemd" false) 55 + (lib.mesonOption "bashcompdir" "${placeholder "bin"}/share/bash-completion/completions") 56 + (lib.mesonOption "trust_paths" (lib.concatStringsSep ":" [ 57 + "/etc/ssl/trust-source" # p11-kit trust source 58 + "/etc/ssl/certs/ca-certificates.crt" # NixOS + Debian/Ubuntu/Arch/Gentoo... 59 + "/etc/pki/tls/certs/ca-bundle.crt" # Fedora/CentOS 60 "/var/lib/ca-certificates/ca-bundle.pem" # openSUSE 61 + "/etc/ssl/cert.pem" # Darwin/macOS 62 + ])) 63 ]; 64 65 + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 66 67 + postPatch = '' 68 + # Install sample config files to $out/etc even though they will be loaded from /etc. 69 + substituteInPlace p11-kit/meson.build \ 70 + --replace 'install_dir: prefix / p11_system_config' "install_dir: '$out/etc/pkcs11'" 71 ''; 72 73 meta = with lib; {
+2 -2
pkgs/development/libraries/pipewire/default.nix
··· 75 76 self = stdenv.mkDerivation rec { 77 pname = "pipewire"; 78 - version = "0.3.74"; 79 80 outputs = [ 81 "out" ··· 93 owner = "pipewire"; 94 repo = "pipewire"; 95 rev = version; 96 - sha256 = "sha256-ZV66niKeR4PDaqUuVqiosY7LSDLmIjrDsmCZyQkR72Y="; 97 }; 98 99 patches = [
··· 75 76 self = stdenv.mkDerivation rec { 77 pname = "pipewire"; 78 + version = "0.3.77"; 79 80 outputs = [ 81 "out" ··· 93 owner = "pipewire"; 94 repo = "pipewire"; 95 rev = version; 96 + sha256 = "sha256-dRAo/GzWvXKVCGLM12YyTQmgXHEYn3QbOyaZKmlqTYY="; 97 }; 98 99 patches = [
+22 -1
pkgs/development/libraries/popt/default.nix
··· 1 - { lib, stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 pname = "popt"; ··· 12 patches = lib.optionals stdenv.isCygwin [ 13 ./1.16-cygwin.patch 14 ./1.16-vpath.patch 15 ]; 16 17 doCheck = false; # fails
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchpatch2 5 + }: 6 7 stdenv.mkDerivation rec { 8 pname = "popt"; ··· 16 patches = lib.optionals stdenv.isCygwin [ 17 ./1.16-cygwin.patch 18 ./1.16-vpath.patch 19 + ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ 20 + # Do not require <sys/ioctl.h> 21 + (fetchpatch2 { 22 + url = "https://aur.archlinux.org/cgit/aur.git/plain/get-w32-console-maxcols.mingw32.patch?h=mingw-w64-popt&id=63f2cdb0de116362c49681cef20f7a8b4355e85a"; 23 + sha256 = "zv43l1RBqNzT/JG+jQaMVFaFv+ZYPuIiAtKUDzJJBbc="; 24 + stripLen = 1; 25 + extraPrefix = "src/"; 26 + }) 27 + 28 + # Do not try to detect setuid, it is not a thing. 29 + (fetchpatch2 { 30 + url = "https://github.com/rpm-software-management/popt/commit/905544c5d9767894edaf71a1e3ce5126944c5695.patch"; 31 + sha256 = "3PmcxeiEZ/Hof0zoVFSytEXvQ8gE8Sp5UdagExPVICU="; 32 + stripLen = 1; 33 + extraPrefix = "src/"; 34 + revert = true; 35 + }) 36 ]; 37 38 doCheck = false; # fails
+2 -2
pkgs/development/libraries/qpdf/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "qpdf"; 5 - version = "11.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "qpdf"; 9 repo = "qpdf"; 10 rev = "v${version}"; 11 - hash = "sha256-cG8TxgWXZGol7X2eRQNeknMo4L8PoWSMvxOsDVO/Rx4="; 12 }; 13 14 nativeBuildInputs = [ cmake perl ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "qpdf"; 5 + version = "11.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "qpdf"; 9 repo = "qpdf"; 10 rev = "v${version}"; 11 + hash = "sha256-lojvsCgBsT7wVRLWfkeOduEYUG7ztI/uryM0WueWiL0="; 12 }; 13 14 nativeBuildInputs = [ cmake perl ];
+2 -2
pkgs/development/libraries/rapidfuzz-cpp/default.nix
··· 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "rapidfuzz-cpp"; 10 - version = "1.11.3"; 11 12 src = fetchFromGitHub { 13 owner = "maxbachmann"; 14 repo = "rapidfuzz-cpp"; 15 rev = "v${finalAttrs.version}"; 16 - hash = "sha256-Qqdw5dy+JUBSDpbWEh3Ap3+3h+CcNdfBL+rloRzWGEQ="; 17 }; 18 19 nativeBuildInputs = [
··· 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "rapidfuzz-cpp"; 10 + version = "2.0.0"; 11 12 src = fetchFromGitHub { 13 owner = "maxbachmann"; 14 repo = "rapidfuzz-cpp"; 15 rev = "v${finalAttrs.version}"; 16 + hash = "sha256-gLiITRCxX3nkzrlvU1/ZPxEo2v7q79/MwrnURUjrY28="; 17 }; 18 19 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/s2n-tls/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "s2n-tls"; 11 - version = "1.3.46"; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "sha256-X+ZwM53ensCeUoxNa8cBO4KcWxWbb7iKxIRysImvKxw="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "s2n-tls"; 11 + version = "1.3.47"; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = pname; 16 rev = "v${version}"; 17 + sha256 = "sha256-wFn7vJA6FCfgFCjjDdyOtBv209yeJNFlG1fKMQ84Bj0="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
+25 -14
pkgs/development/libraries/science/astronomy/cfitsio/default.nix
··· 15 hash = "sha256-/a3AHQnPn1QlOALF7IfrEN5RzkEwQRQVrojDCUBiG4s="; 16 }; 17 18 - buildInputs = [ bzip2 curl zlib ]; 19 20 - patches = [ ./darwin-rpath-universal.patch ]; 21 22 - configureFlags = [ "--with-bzip2=${bzip2.out}" "--enable-reentrant" ]; 23 24 hardeningDisable = [ "format" ]; 25 26 # Shared-only build 27 buildFlags = [ "shared" ]; 28 - postPatch = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in 29 - ''; 30 31 meta = { 32 homepage = "https://heasarc.gsfc.nasa.gov/fitsio/"; 33 description = "Library for reading and writing FITS data files"; 34 - longDescription = 35 - '' CFITSIO is a library of C and Fortran subroutines for reading and 36 - writing data files in FITS (Flexible Image Transport System) data 37 - format. CFITSIO provides simple high-level routines for reading and 38 - writing FITS files that insulate the programmer from the internal 39 - complexities of the FITS format. CFITSIO also provides many 40 - advanced features for manipulating and filtering the information in 41 - FITS files. 42 - ''; 43 changelog = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes.txt"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ xbreak hjones2199 ];
··· 15 hash = "sha256-/a3AHQnPn1QlOALF7IfrEN5RzkEwQRQVrojDCUBiG4s="; 16 }; 17 18 + patches = [ 19 + ./darwin-rpath-universal.patch 20 + ]; 21 22 + buildInputs = [ 23 + bzip2 24 + curl 25 + zlib 26 + ]; 27 28 + configureFlags = [ 29 + "--with-bzip2=${bzip2.out}" 30 + "--enable-reentrant" 31 + ]; 32 33 hardeningDisable = [ "format" ]; 34 35 # Shared-only build 36 buildFlags = [ "shared" ]; 37 + 38 + postPatch = '' 39 + sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in 40 + ''; 41 42 meta = { 43 homepage = "https://heasarc.gsfc.nasa.gov/fitsio/"; 44 description = "Library for reading and writing FITS data files"; 45 + longDescription = '' 46 + CFITSIO is a library of C and Fortran subroutines for reading and 47 + writing data files in FITS (Flexible Image Transport System) data 48 + format. CFITSIO provides simple high-level routines for reading and 49 + writing FITS files that insulate the programmer from the internal 50 + complexities of the FITS format. CFITSIO also provides many 51 + advanced features for manipulating and filtering the information in 52 + FITS files. 53 + ''; 54 changelog = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes.txt"; 55 license = lib.licenses.mit; 56 maintainers = with lib.maintainers; [ xbreak hjones2199 ];
+2 -2
pkgs/development/libraries/taskflow/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "taskflow"; 11 - version = "3.5.0"; 12 13 src = fetchFromGitHub { 14 owner = "taskflow"; 15 repo = "taskflow"; 16 rev = "v${version}"; 17 - hash = "sha256-UUWJENGn60YQdUSQ55uL+/3xt/JUsVuKnqm/ef7wPVM="; 18 }; 19 20 patches = [
··· 8 9 stdenv.mkDerivation rec { 10 pname = "taskflow"; 11 + version = "3.6.0"; 12 13 src = fetchFromGitHub { 14 owner = "taskflow"; 15 repo = "taskflow"; 16 rev = "v${version}"; 17 + hash = "sha256-Iy9BhkyJa2nFxwVXb4LAlgVAHnu+58Ago2eEgAIlZ7M="; 18 }; 19 20 patches = [
+39 -20
pkgs/development/libraries/xsimd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, gtest }: 2 stdenv.mkDerivation rec { 3 pname = "xsimd"; 4 - version = "9.0.1"; 5 src = fetchFromGitHub { 6 owner = "xtensor-stack"; 7 repo = "xsimd"; 8 rev = version; 9 - sha256 = "sha256-onALN6agtrHWigtFlCeefD9CiRZI4Y690XTzy2UDnrk="; 10 }; 11 12 - nativeBuildInputs = [ cmake ]; 13 14 - cmakeFlags = [ "-DBUILD_TESTS=ON" ]; 15 16 doCheck = true; 17 - nativeCheckInputs = [ gtest ]; 18 checkTarget = "xtest"; 19 - GTEST_FILTER = 20 - let 21 - # Upstream Issue: https://github.com/xtensor-stack/xsimd/issues/456 22 - filteredTests = lib.optionals stdenv.hostPlatform.isDarwin [ 23 - "error_gamma_test/*" 24 - ]; 25 - in 26 - "-${builtins.concatStringsSep ":" filteredTests}"; 27 - 28 - # https://github.com/xtensor-stack/xsimd/issues/748 29 - postPatch = '' 30 - substituteInPlace xsimd.pc.in \ 31 - --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ 32 - ''; 33 34 meta = with lib; { 35 description = "C++ wrappers for SIMD intrinsics";
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , doctest 6 + }: 7 + 8 stdenv.mkDerivation rec { 9 pname = "xsimd"; 10 + version = "11.1.0"; 11 src = fetchFromGitHub { 12 owner = "xtensor-stack"; 13 repo = "xsimd"; 14 rev = version; 15 + sha256 = "sha256-l6IRzndjb95hIcFCCm8zmlNHWtKduqy2t/oml/9Xp+w="; 16 }; 17 + patches = [ 18 + # Ideally, Accelerate/Accelerate.h should be used for this implementation, 19 + # but it doesn't work... Needs a Darwin user to debug this. We apply this 20 + # patch unconditionally, because the #if macros make sure it doesn't 21 + # interfer with the Linux implementations. 22 + ./fix-darwin-exp10-implementation.patch 23 + ] ++ lib.optionals stdenv.isDarwin [ 24 + # https://github.com/xtensor-stack/xsimd/issues/807 25 + ./disable-test_error_gamma-test.patch 26 + ] ++ lib.optionals (stdenv.isDarwin || stdenv.hostPlatform.isMusl) [ 27 + # - Darwin report: https://github.com/xtensor-stack/xsimd/issues/917 28 + # - Musl report: https://github.com/xtensor-stack/xsimd/issues/798 29 + ./disable-exp10-test.patch 30 + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ 31 + # https://github.com/xtensor-stack/xsimd/issues/798 32 + ./disable-polar-test.patch 33 + ] ++ lib.optionals stdenv.hostPlatform.isMusl [ 34 + # Fix suggested here: https://github.com/xtensor-stack/xsimd/issues/798#issuecomment-1356884601 35 + # Upstream didn't merge that from some reason. 36 + ./fix-atan-test.patch 37 + ]; 38 39 + nativeBuildInputs = [ 40 + cmake 41 + ]; 42 43 + cmakeFlags = [ 44 + "-DBUILD_TESTS=${if (doCheck && stdenv.hostPlatform == stdenv.buildPlatform) then "ON" else "OFF"}" 45 + ]; 46 47 doCheck = true; 48 + nativeCheckInputs = [ 49 + doctest 50 + ]; 51 checkTarget = "xtest"; 52 53 meta = with lib; { 54 description = "C++ wrappers for SIMD intrinsics";
+34
pkgs/development/libraries/xsimd/disable-exp10-test.patch
···
··· 1 + commit 87433035c70578507e08565723c99158290f2488 2 + Author: Doron Behar <doron.behar@gmail.com> 3 + Date: Tue Aug 1 13:26:04 2023 +0300 4 + 5 + Darwin & Musl: Disable failing exp10 test 6 + 7 + diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp 8 + index 84b4b0b..1b29742 100644 9 + --- a/test/test_xsimd_api.cpp 10 + +++ b/test/test_xsimd_api.cpp 11 + @@ -515,11 +515,6 @@ struct xsimd_api_float_types_functions 12 + value_type val(2); 13 + CHECK_EQ(extract(xsimd::exp(T(val))), std::exp(val)); 14 + } 15 + - void test_exp10() 16 + - { 17 + - value_type val(2); 18 + - CHECK_EQ(extract(xsimd::exp10(T(val))), std::pow(value_type(10), val)); 19 + - } 20 + void test_exp2() 21 + { 22 + value_type val(2); 23 + @@ -804,11 +799,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES) 24 + Test.test_exp(); 25 + } 26 + 27 + - SUBCASE("exp10") 28 + - { 29 + - Test.test_exp10(); 30 + - } 31 + - 32 + SUBCASE("exp2") 33 + { 34 + Test.test_exp2();
+35
pkgs/development/libraries/xsimd/disable-polar-test.patch
···
··· 1 + commit 9374b88b97911d9c6e19d5e764e25183cd45d534 2 + Author: Doron Behar <doron.behar@gmail.com> 3 + Date: Tue Aug 1 13:29:16 2023 +0300 4 + 5 + aarch64-Darwin: Disable failing polar test 6 + 7 + diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp 8 + index 1b29742..03c6b4b 100644 9 + --- a/test/test_xsimd_api.cpp 10 + +++ b/test/test_xsimd_api.cpp 11 + @@ -652,12 +652,6 @@ struct xsimd_api_float_types_functions 12 + value_type val1(4); 13 + CHECK_EQ(extract(xsimd::nextafter(T(val0), T(val1))), std::nextafter(val0, val1)); 14 + } 15 + - void test_polar() 16 + - { 17 + - value_type val0(3); 18 + - value_type val1(4); 19 + - CHECK_EQ(extract(xsimd::polar(T(val0), T(val1))), std::polar(val0, val1)); 20 + - } 21 + void test_pow() 22 + { 23 + value_type val0(2); 24 + @@ -912,11 +906,6 @@ TEST_CASE_TEMPLATE("[xsimd api | float types functions]", B, FLOAT_TYPES) 25 + Test.test_nextafter(); 26 + } 27 + 28 + - SUBCASE("polar") 29 + - { 30 + - Test.test_polar(); 31 + - } 32 + - 33 + SUBCASE("pow") 34 + { 35 + Test.test_pow();
+36
pkgs/development/libraries/xsimd/disable-test_error_gamma-test.patch
···
··· 1 + commit 3f751cef6b27ec13418a92c5b5f36b22bb5ffd55 2 + Author: Doron Behar <doron.behar@gmail.com> 3 + Date: Tue Aug 1 13:24:34 2023 +0300 4 + 5 + Darwin: Disable failing test from test_error_gamma.cpp 6 + 7 + diff --git a/test/test_error_gamma.cpp b/test/test_error_gamma.cpp 8 + index 214cbb5..299e5b8 100644 9 + --- a/test/test_error_gamma.cpp 10 + +++ b/test/test_error_gamma.cpp 11 + @@ -131,25 +131,6 @@ struct error_gamma_test 12 + INFO("lgamma"); 13 + CHECK_EQ(diff, 0); 14 + } 15 + -#if !(XSIMD_WITH_AVX && !XSIMD_WITH_AVX2) 16 + - 17 + - // tgamma (negative input) 18 + - { 19 + - std::transform(gamma_neg_input.cbegin(), gamma_neg_input.cend(), expected.begin(), 20 + - [](const value_type& v) 21 + - { return std::lgamma(v); }); 22 + - batch_type in, out; 23 + - for (size_t i = 0; i < nb_input; i += size) 24 + - { 25 + - detail::load_batch(in, gamma_neg_input, i); 26 + - out = lgamma(in); 27 + - detail::store_batch(out, res, i); 28 + - } 29 + - size_t diff = detail::get_nb_diff(res, expected); 30 + - INFO("lgamma (negative input)"); 31 + - CHECK_EQ(diff, 0); 32 + - } 33 + -#endif 34 + } 35 + }; 36 +
+19
pkgs/development/libraries/xsimd/fix-atan-test.patch
···
··· 1 + commit f60dad2c1d8ad47fbff761ce1cb027fc7c3a40e8 2 + Author: Doron Behar <doron.behar@gmail.com> 3 + Date: Tue Aug 1 13:47:37 2023 +0300 4 + 5 + Musl: Fix atan test from test_complex_trigonometric.cpp 6 + 7 + diff --git a/test/test_complex_trigonometric.cpp b/test/test_complex_trigonometric.cpp 8 + index a486110..691db77 100644 9 + --- a/test/test_complex_trigonometric.cpp 10 + +++ b/test/test_complex_trigonometric.cpp 11 + @@ -155,7 +155,7 @@ struct complex_trigonometric_test 12 + out = atan(in); 13 + detail::store_batch(out, res, i); 14 + } 15 + - size_t diff = detail::get_nb_diff(res, expected); 16 + + size_t diff = detail::get_nb_diff_near(res, expected, 1e-12); 17 + CHECK_EQ(diff, 0); 18 + } 19 +
+22
pkgs/development/libraries/xsimd/fix-darwin-exp10-implementation.patch
···
··· 1 + diff --git i/include/xsimd/arch/xsimd_scalar.hpp w/include/xsimd/arch/xsimd_scalar.hpp 2 + index 9066da6..7aa3b6b 100644 3 + --- i/include/xsimd/arch/xsimd_scalar.hpp 4 + +++ w/include/xsimd/arch/xsimd_scalar.hpp 5 + @@ -502,16 +502,7 @@ namespace xsimd 6 + return !(x0 == x1); 7 + } 8 + 9 + -#if defined(__APPLE__) 10 + - inline float exp10(const float& x) noexcept 11 + - { 12 + - return __exp10f(x); 13 + - } 14 + - inline double exp10(const double& x) noexcept 15 + - { 16 + - return __exp10(x); 17 + - } 18 + -#elif defined(__GLIBC__) 19 + +#if defined(__GLIBC__) 20 + inline float exp10(const float& x) noexcept 21 + { 22 + return ::exp10f(x);
+2 -22
pkgs/development/libraries/xxHash/default.nix
··· 2 , stdenv 3 , fetchFromGitHub 4 , cmake 5 - , fetchpatch 6 }: 7 8 stdenv.mkDerivation rec { 9 pname = "xxHash"; 10 - version = "0.8.1"; 11 12 src = fetchFromGitHub { 13 owner = "Cyan4973"; 14 repo = "xxHash"; 15 rev = "v${version}"; 16 - sha256 = "sha256-2WoYCO6QRHWrbGP2mK04/sLNTyQLOuL3urVktilAwMA="; 17 }; 18 - 19 - # CMake build fixes 20 - patches = [ 21 - # Merged in https://github.com/Cyan4973/xxHash/pull/649 22 - # Should be present in next release 23 - (fetchpatch { 24 - name = "cmake-install-fix"; 25 - url = "https://github.com/Cyan4973/xxHash/commit/636f966ecc713c84ddd3b7ccfde2bfb2cc7492a0.patch"; 26 - sha256 = "sha256-B1PZ/0BXlOrSiPvgCPLvI/sjQvnR0n5PQHOO38LOij0="; 27 - }) 28 - 29 - # Submitted at https://github.com/Cyan4973/xxHash/pull/723 30 - (fetchpatch { 31 - name = "cmake-pkgconfig-fix"; 32 - url = "https://github.com/Cyan4973/xxHash/commit/5db353bbd05ee5eb1f90afc08d10da9416154e55.patch"; 33 - sha256 = "sha256-dElgSu9DVo2hY6TTVHLTtt0zkXmQV3nc9i/KbrDkK8s="; 34 - }) 35 - ]; 36 - 37 38 nativeBuildInputs = [ 39 cmake
··· 2 , stdenv 3 , fetchFromGitHub 4 , cmake 5 }: 6 7 stdenv.mkDerivation rec { 8 pname = "xxHash"; 9 + version = "0.8.2"; 10 11 src = fetchFromGitHub { 12 owner = "Cyan4973"; 13 repo = "xxHash"; 14 rev = "v${version}"; 15 + hash = "sha256-kofPs01jb189LUjYHHt+KxDifZQWl0Hm779711mvWtI="; 16 }; 17 18 nativeBuildInputs = [ 19 cmake
+26
pkgs/development/perl-modules/Data-Clone-fix-apostrophe-package-separator.patch
···
··· 1 + https://github.com/gfx/p5-Data-Clone/pull/3 2 + 3 + From 43102a83d15aedc61e5904eb5a6dab33c3c02b40 Mon Sep 17 00:00:00 2001 4 + From: Yves Orton <demerphq@gmail.com> 5 + Date: Thu, 9 Feb 2023 16:24:45 +0100 6 + Subject: [PATCH] t/07_stack.t - isn't is deprecated, use isnt instead 7 + 8 + As of 5.37.8 use of apostrophe for a package separator is deprecated, 9 + and in 5.40 it will be removed entirely. Switch to isnt() instead 10 + of isn't(). 11 + --- 12 + t/07_stack.t | 2 +- 13 + 1 file changed, 1 insertion(+), 1 deletion(-) 14 + 15 + diff --git a/t/07_stack.t b/t/07_stack.t 16 + index 165e6a5..a750366 100644 17 + --- a/t/07_stack.t 18 + +++ b/t/07_stack.t 19 + @@ -17,6 +17,6 @@ use Data::Clone; 20 + 21 + my $before = bless [], Bar::; 22 + my $after = clone($before); 23 + -isn't $after, $before, 'stack reallocation during callback'; 24 + +isnt $after, $before, 'stack reallocation during callback'; 25 + 26 + done_testing;
+20
pkgs/development/perl-modules/Exception-Base-remove-smartmatch-when-5.38.0.patch
···
··· 1 + smartmatch deprecated in perl-5.37.10 2 + 3 + Patch by @pghmcfc from 4 + https://github.com/dex4er/perl-Exception-Base/issues/5#issuecomment-1637075218 5 + 6 + diff --git a/t/tlib/Exception/BaseTest.pm b/t/tlib/Exception/BaseTest.pm 7 + index d590d12..e531ed7 100644 8 + --- a/t/tlib/Exception/BaseTest.pm 9 + +++ b/t/tlib/Exception/BaseTest.pm 10 + @@ -569,8 +569,9 @@ sub test_overload { 11 + $self->assert_matches(qr/String at /, $obj); 12 + 13 + # smart matching for Perl 5.10 14 + - if ($] >= 5.010) { 15 + + # Deprecation warning added in 5.37.10 16 + + if ($] >= 5.010 && $] < 5.037010) { 17 + no if $] >= 5.018, warnings => 'experimental::smartmatch'; 18 + eval q{ 19 + $self->assert_num_equals(1, 'String' ~~ $obj); 20 +
+31
pkgs/development/perl-modules/ExtUtils-Constant-fix-indirect-method-call-in-test.patch
···
··· 1 + https://rt.cpan.org/Public/Bug/Display.html?id=132995 2 + 3 + From 94b5fc74c3d7ed835e83bac40632962af32f5b30 Mon Sep 17 00:00:00 2001 4 + From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <ilmari@ilmari.org> 5 + Date: Mon, 13 Jul 2020 22:08:45 +0100 6 + Subject: [PATCH] Fix indirect method call in ExtUtils::Constant test 7 + 8 + It puts both "use $];" and "bootstrap $package \$VERSION;" in the 9 + generated test module, which is going to break if we ever remove 10 + `indirect` from the current feature bundle. 11 + 12 + Fix by making the method call direct instead. 13 + --- 14 + t/Constant.t | 2 +- 15 + 1 file changed, 1 insertion(+), 1 deletion(-) 16 + 17 + diff --git a/t/Constant.t b/t/Constant.t 18 + index d6b45668da..526a32c779 100644 19 + --- a/t/Constant.t 20 + +++ b/t/Constant.t 21 + @@ -435,7 +435,7 @@ EOT 22 + print FH ");\n"; 23 + # Print the AUTOLOAD subroutine ExtUtils::Constant generated for us 24 + print FH autoload ($package, $]); 25 + - print FH "bootstrap $package \$VERSION;\n1;\n__END__\n"; 26 + + print FH "$package->bootstrap(\$VERSION);\n1;\n__END__\n"; 27 + close FH or die "close $pm: $!\n"; 28 + 29 + ################ test.pl 30 + -- 31 + 2.26.2
+40
pkgs/development/python-modules/a2wsgi/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , asgiref 5 + , httpx 6 + , pdm-backend 7 + , pdm-pep517 8 + , pytest-asyncio 9 + , pytestCheckHook 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "a2wsgi"; 14 + version = "1.7.0"; 15 + format = "pyproject"; 16 + 17 + src = fetchPypi { 18 + inherit pname version; 19 + hash = "sha256-qQb2LAJQ6wIBEguTQX3QsSsQW12zWvQxv+hu8NxburI="; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + pdm-backend 24 + pdm-pep517 25 + ]; 26 + 27 + nativeCheckInputs = [ 28 + asgiref 29 + httpx 30 + pytest-asyncio 31 + pytestCheckHook 32 + ]; 33 + 34 + meta = with lib; { 35 + description = "Convert WSGI app to ASGI app or ASGI app to WSGI app"; 36 + homepage = "https://github.com/abersheeran/a2wsgi"; 37 + license = licenses.asl20; 38 + maintainers = with maintainers; [ SuperSandro2000 ]; 39 + }; 40 + }
+7 -11
pkgs/development/python-modules/aiohttp/default.nix
··· 32 33 buildPythonPackage rec { 34 pname = "aiohttp"; 35 - version = "3.8.4"; 36 format = "pyproject"; 37 38 disabled = pythonOlder "3.6"; 39 40 src = fetchPypi { 41 inherit pname version; 42 - hash = "sha256-vy4akWLB5EG/gFof0WbiSdV0ygTgOzT5fikodp6Rq1w="; 43 }; 44 45 patches = [ 46 (fetchpatch { 47 - # https://github.com/aio-libs/aiohttp/pull/7178 48 - url = "https://github.com/aio-libs/aiohttp/commit/5718879cdb6a98bf48810a994b78bc02abaf3e07.patch"; 49 - hash = "sha256-4UynkTZOzWzusQ2+MPZszhFA8I/PJNLeT/hHF/fASy8="; 50 - }) 51 - (fetchpatch { 52 # https://github.com/aio-libs/aiohttp/pull/7260 53 - # Merged upstream, should likely be dropped post-3.8.4 54 url = "https://github.com/aio-libs/aiohttp/commit/7dcc235cafe0c4521bbbf92f76aecc82fee33e8b.patch"; 55 hash = "sha256-ZzhlE50bmA+e2XX2RH1FuWQHZIAa6Dk/hZjxPoX5t4g="; 56 }) ··· 58 59 postPatch = '' 60 sed -i '/--cov/d' setup.cfg 61 - 62 - substituteInPlace setup.cfg \ 63 - --replace "charset-normalizer >=2.0, < 3.0" "charset-normalizer >=2.0, < 4.0" 64 ''; 65 66 nativeBuildInputs = [ ··· 109 "test_async_with_session" 110 "test_session_close_awaitable" 111 "test_close_run_until_complete_not_deprecated" 112 ] ++ lib.optionals stdenv.is32bit [ 113 "test_cookiejar" 114 ] ++ lib.optionals stdenv.isDarwin [
··· 32 33 buildPythonPackage rec { 34 pname = "aiohttp"; 35 + version = "3.8.5"; 36 format = "pyproject"; 37 38 disabled = pythonOlder "3.6"; 39 40 src = fetchPypi { 41 inherit pname version; 42 + hash = "sha256-uVUuxSzBR9vxlErHrJivdgLlHqLc0HbtGUyjwNHH0Lw="; 43 }; 44 45 patches = [ 46 (fetchpatch { 47 # https://github.com/aio-libs/aiohttp/pull/7260 48 + # Merged upstream, should likely be dropped post-3.8.5 49 url = "https://github.com/aio-libs/aiohttp/commit/7dcc235cafe0c4521bbbf92f76aecc82fee33e8b.patch"; 50 hash = "sha256-ZzhlE50bmA+e2XX2RH1FuWQHZIAa6Dk/hZjxPoX5t4g="; 51 }) ··· 53 54 postPatch = '' 55 sed -i '/--cov/d' setup.cfg 56 ''; 57 58 nativeBuildInputs = [ ··· 101 "test_async_with_session" 102 "test_session_close_awaitable" 103 "test_close_run_until_complete_not_deprecated" 104 + # https://github.com/aio-libs/aiohttp/issues/7130 105 + "test_static_file_if_none_match" 106 + "test_static_file_if_match" 107 + "test_static_file_if_modified_since_past_date" 108 ] ++ lib.optionals stdenv.is32bit [ 109 "test_cookiejar" 110 ] ++ lib.optionals stdenv.isDarwin [
+3
pkgs/development/python-modules/aioimaplib/default.nix
··· 28 hash = "sha256-7Ta0BhtQSm228vvUa5z+pzM3UC7+BskgBNjxsbEb9P0="; 29 }; 30 31 nativeCheckInputs = [ 32 asynctest 33 docutils
··· 28 hash = "sha256-7Ta0BhtQSm228vvUa5z+pzM3UC7+BskgBNjxsbEb9P0="; 29 }; 30 31 + # https://github.com/bamthomas/aioimaplib/issues/54 32 + doCheck = pythonOlder "3.11"; 33 + 34 nativeCheckInputs = [ 35 asynctest 36 docutils
+2 -2
pkgs/development/python-modules/astroid/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "astroid"; 17 - version = "2.14.2"; # Check whether the version is compatible with pylint 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7.2"; ··· 23 owner = "PyCQA"; 24 repo = pname; 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-SIBzn57UNn/sLuDWt391M/kcCyjCocHmL5qi2cSX2iA="; 27 }; 28 29 nativeBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "astroid"; 17 + version = "2.15.6"; # Check whether the version is compatible with pylint 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7.2"; ··· 23 owner = "PyCQA"; 24 repo = pname; 25 rev = "refs/tags/v${version}"; 26 + hash = "sha256-0oNNEVD8rYGkM11nGUD+XMwE7xgk7mJIaplrAXaECFg="; 27 }; 28 29 nativeBuildInputs = [
+5 -6
pkgs/development/python-modules/atomman/default.nix
··· 11 , phonopy 12 , potentials 13 , pymatgen 14 - , pytest 15 , pytestCheckHook 16 , pythonOlder 17 - , pythonAtLeast 18 , requests 19 , scipy 20 , setuptools 21 , toolz 22 , xmltodict 23 , pythonRelaxDepsHook 24 }: 25 26 buildPythonPackage rec { 27 - version = "1.4.6"; 28 pname = "atomman"; 29 format = "pyproject"; 30 ··· 33 src = fetchFromGitHub { 34 owner = "usnistgov"; 35 repo = "atomman"; 36 - rev = "v${version}"; 37 - hash = "sha256-tcsxtFbBdMC6+ixzqhnR+5UNwcQmnPQSvuyNA2IYelI="; 38 }; 39 40 nativeBuildInputs = [ 41 setuptools 42 pythonRelaxDepsHook 43 ]; 44 ··· 70 ase 71 phonopy 72 pymatgen 73 - pytest 74 pytestCheckHook 75 ]; 76
··· 11 , phonopy 12 , potentials 13 , pymatgen 14 , pytestCheckHook 15 , pythonOlder 16 , requests 17 , scipy 18 , setuptools 19 , toolz 20 + , wheel 21 , xmltodict 22 , pythonRelaxDepsHook 23 }: 24 25 buildPythonPackage rec { 26 + version = "unstable-2023-07-28"; 27 pname = "atomman"; 28 format = "pyproject"; 29 ··· 32 src = fetchFromGitHub { 33 owner = "usnistgov"; 34 repo = "atomman"; 35 + rev = "b8af21a9285959d38ee26173081db1b4488401bc"; 36 + hash = "sha256-WfB+OY61IPprT6OCVHl8VA60p7lLVkRGuyYX+nm7bbA="; 37 }; 38 39 nativeBuildInputs = [ 40 setuptools 41 + wheel 42 pythonRelaxDepsHook 43 ]; 44 ··· 70 ase 71 phonopy 72 pymatgen 73 pytestCheckHook 74 ]; 75
+2 -2
pkgs/development/python-modules/av/default.nix
··· 9 , setuptools 10 11 # runtime 12 - , ffmpeg 13 14 # tests 15 , numpy ··· 38 ]; 39 40 buildInputs = [ 41 - ffmpeg 42 ]; 43 44 preCheck = ''
··· 9 , setuptools 10 11 # runtime 12 + , ffmpeg-headless 13 14 # tests 15 , numpy ··· 38 ]; 39 40 buildInputs = [ 41 + ffmpeg-headless 42 ]; 43 44 preCheck = ''
+10
pkgs/development/python-modules/blockdiag/default.nix
··· 2 , buildPythonPackage 3 , docutils 4 , fetchFromGitHub 5 , funcparserlib 6 , nose 7 , pillow ··· 27 rev = version; 28 hash = "sha256-j8FoNUIJJOaahaol1MRPyY2jcPCEIlaAD4bmM2QKFFI="; 29 }; 30 31 propagatedBuildInputs = [ 32 setuptools
··· 2 , buildPythonPackage 3 , docutils 4 , fetchFromGitHub 5 + , fetchpatch 6 , funcparserlib 7 , nose 8 , pillow ··· 28 rev = version; 29 hash = "sha256-j8FoNUIJJOaahaol1MRPyY2jcPCEIlaAD4bmM2QKFFI="; 30 }; 31 + 32 + patches = [ 33 + # https://github.com/blockdiag/blockdiag/pull/179 34 + (fetchpatch { 35 + name = "pillow-10-compatibility.patch"; 36 + url = "https://github.com/blockdiag/blockdiag/commit/20d780cad84e7b010066cb55f848477957870165.patch"; 37 + hash = "sha256-t1zWFzAsLL2EUa0nD4Eui4Y5AhAZLRmp/yC9QpzzeUA="; 38 + }) 39 + ]; 40 41 propagatedBuildInputs = [ 42 setuptools
+4 -3
pkgs/development/python-modules/bootstrapped-pip/default.nix
··· 38 mv pip* pip 39 mv setuptools* setuptools 40 mv wheel* wheel 41 - # Set up PYTHONPATH. The above folders need to be on PYTHONPATH 42 - # $out is where we are installing to and takes precedence 43 - export PYTHONPATH="$out/${python.sitePackages}:$(pwd)/pip/src:$(pwd)/setuptools:$(pwd)/setuptools/pkg_resources:$(pwd)/wheel:$PYTHONPATH" 44 45 echo "Building setuptools wheel..." 46 pushd setuptools
··· 38 mv pip* pip 39 mv setuptools* setuptools 40 mv wheel* wheel 41 + # Set up PYTHONPATH: 42 + # - pip and setuptools need to be in PYTHONPATH to install setuptools, wheel, and pip. 43 + # - $out is where we are installing to and takes precedence, and is where wheel will end so we can install pip. 44 + export PYTHONPATH="$out/${python.sitePackages}:$(pwd)/pip/src:$(pwd)/setuptools:$(pwd)/setuptools/pkg_resources:$PYTHONPATH" 45 46 echo "Building setuptools wheel..." 47 pushd setuptools
+6 -5
pkgs/development/python-modules/boto3/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "boto3"; 13 - version = "1.26.79"; # N.B: if you change this, change botocore and awscli to a matching version 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "boto"; 18 repo = pname; 19 rev = version; 20 - hash = "sha256-9Xsng4xZ+IGNZ3ViYVrOyKZdRH6QPSjZALj9Q3HECBU="; 21 }; 22 23 propagatedBuildInputs = [ 24 botocore 25 jmespath 26 s3transfer 27 - setuptools 28 ]; 29 - 30 - doCheck = true; 31 32 nativeCheckInputs = [ 33 pytestCheckHook
··· 10 11 buildPythonPackage rec { 12 pname = "boto3"; 13 + version = "1.28.9"; # N.B: if you change this, change botocore and awscli to a matching version 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "boto"; 18 repo = pname; 19 rev = version; 20 + hash = "sha256-NkNHA20yn1Q7uoq/EL1Wn8F1fpi1waQujutGIKsnxlI="; 21 }; 22 23 + nativeBuildInputs = [ 24 + setuptools 25 + ]; 26 + 27 propagatedBuildInputs = [ 28 botocore 29 jmespath 30 s3transfer 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook
+3 -6
pkgs/development/python-modules/botocore/default.nix
··· 3 , fetchPypi 4 , python-dateutil 5 , jmespath 6 - , docutils 7 , urllib3 8 , pytestCheckHook 9 , jsonschema ··· 11 12 buildPythonPackage rec { 13 pname = "botocore"; 14 - version = "1.29.79"; # N.B: if you change this, change boto3 and awscli to a matching version 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-x97UQGK+07kolEz7CeFXjtP+0OTJjeTyM/PCBWqNSR4="; 19 }; 20 21 propagatedBuildInputs = [ 22 python-dateutil 23 jmespath 24 - docutils 25 urllib3 26 ]; 27 ··· 29 pytestCheckHook 30 jsonschema 31 ]; 32 - 33 - doCheck = true; 34 35 disabledTestPaths = [ 36 # Integration tests require networking
··· 3 , fetchPypi 4 , python-dateutil 5 , jmespath 6 , urllib3 7 , pytestCheckHook 8 , jsonschema ··· 10 11 buildPythonPackage rec { 12 pname = "botocore"; 13 + version = "1.31.9"; # N.B: if you change this, change boto3 and awscli to a matching version 14 + format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-vYSdOslfF4E4Xtgx11OgSj7IcKWdZZgXWq7dcdwrr18="; 19 }; 20 21 propagatedBuildInputs = [ 22 python-dateutil 23 jmespath 24 urllib3 25 ]; 26 ··· 28 pytestCheckHook 29 jsonschema 30 ]; 31 32 disabledTestPaths = [ 33 # Integration tests require networking
+16 -28
pkgs/development/python-modules/cairocffi/default.nix
··· 8 , makeFontsConf 9 , freefont_ttf 10 , pikepdf 11 - , pytest 12 - , glibcLocales 13 , cairo 14 , cffi 15 , numpy 16 , withXcffib ? false 17 , xcffib 18 - , python 19 , glib 20 , gdk-pixbuf 21 }: 22 23 buildPythonPackage rec { 24 pname = "cairocffi"; 25 - version = "1.4.0"; 26 27 - disabled = pythonOlder "3.5"; 28 29 src = fetchPypi { 30 inherit pname version; 31 - hash = "sha256-UJM5syzNjXsAwiBMMnNs3njbU6MuahYtMSR40lYmzZo="; 32 }; 33 34 patches = [ ··· 43 ./fix_test_scaled_font.patch 44 ]; 45 46 - postPatch = '' 47 - substituteInPlace setup.cfg \ 48 - --replace "pytest-runner" "" \ 49 - --replace "pytest-cov" "" \ 50 - --replace "pytest-flake8" "" \ 51 - --replace "pytest-isort" "" \ 52 - --replace "--flake8 --isort" "" 53 - ''; 54 - 55 - LC_ALL = "en_US.UTF-8"; 56 - 57 - # checkPhase require at least one 'normal' font and one 'monospace', 58 - # otherwise glyph tests fails 59 - FONTCONFIG_FILE = makeFontsConf { 60 - fontDirectories = [ freefont_ttf ]; 61 - }; 62 63 propagatedNativeBuildInputs = [ cffi ]; 64 65 propagatedBuildInputs = [ cairo cffi ] 66 ++ lib.optional withXcffib xcffib; 67 68 - # pytestCheckHook does not work 69 - nativeCheckInputs = [ numpy pikepdf pytest glibcLocales ]; 70 - 71 - checkPhase = '' 72 - py.test $out/${python.sitePackages} 73 - ''; 74 75 meta = with lib; { 76 homepage = "https://github.com/SimonSapin/cairocffi"; 77 license = licenses.bsd3; 78 maintainers = with maintainers; [ ];
··· 8 , makeFontsConf 9 , freefont_ttf 10 , pikepdf 11 + , pytestCheckHook 12 , cairo 13 , cffi 14 , numpy 15 , withXcffib ? false 16 , xcffib 17 , glib 18 , gdk-pixbuf 19 + , setuptools 20 }: 21 22 buildPythonPackage rec { 23 pname = "cairocffi"; 24 + version = "1.5.1"; 25 + 26 + disabled = pythonOlder "3.7"; 27 28 + format = "pyproject"; 29 30 src = fetchPypi { 31 inherit pname version; 32 + hash = "sha256-Bxq3ty41MzALC/1VpSBWtP/cHtbmVneeKs7Ztwm4opU="; 33 }; 34 35 patches = [ ··· 44 ./fix_test_scaled_font.patch 45 ]; 46 47 + nativeBuildInputs = [ 48 + setuptools 49 + ]; 50 51 propagatedNativeBuildInputs = [ cffi ]; 52 53 propagatedBuildInputs = [ cairo cffi ] 54 ++ lib.optional withXcffib xcffib; 55 56 + nativeCheckInputs = [ 57 + numpy 58 + pikepdf 59 + pytestCheckHook 60 + ]; 61 62 meta = with lib; { 63 + changelog = "https://github.com/Kozea/cairocffi/blob/v${version}/NEWS.rst"; 64 homepage = "https://github.com/SimonSapin/cairocffi"; 65 license = licenses.bsd3; 66 maintainers = with maintainers; [ ];
+32 -26
pkgs/development/python-modules/calver/default.nix
··· 6 , pytestCheckHook 7 }: 8 9 - buildPythonPackage rec { 10 - pname = "calver"; 11 - version = "2022.06.26"; 12 13 - disabled = pythonOlder "3.5"; 14 15 - format = "setuptools"; 16 17 - src = fetchFromGitHub { 18 - owner = "di"; 19 - repo = "calver"; 20 - rev = version; 21 - hash = "sha256-YaXTkeUazwzghCX96Wfx39hGvukWKtHMLLeyF9OeiZI="; 22 - }; 23 24 - postPatch = '' 25 - substituteInPlace setup.py \ 26 - --replace "version=calver_version(True)" 'version="${version}"' 27 - ''; 28 29 - nativeCheckInputs = [ 30 - pretend 31 - pytestCheckHook 32 - ]; 33 34 - pythonImportsCheck = [ "calver" ]; 35 36 - meta = { 37 - description = "Setuptools extension for CalVer package versions"; 38 - homepage = "https://github.com/di/calver"; 39 - license = lib.licenses.asl20; 40 - maintainers = with lib.maintainers; [ dotlambda ]; 41 }; 42 - }
··· 6 , pytestCheckHook 7 }: 8 9 + let 10 + self = buildPythonPackage rec { 11 + pname = "calver"; 12 + version = "2022.06.26"; 13 + format = "setuptools"; 14 15 + disabled = pythonOlder "3.5"; 16 17 + src = fetchFromGitHub { 18 + owner = "di"; 19 + repo = "calver"; 20 + rev = version; 21 + hash = "sha256-YaXTkeUazwzghCX96Wfx39hGvukWKtHMLLeyF9OeiZI="; 22 + }; 23 24 + postPatch = '' 25 + substituteInPlace setup.py \ 26 + --replace "version=calver_version(True)" 'version="${version}"' 27 + ''; 28 29 + doCheck = false; # avoid infinite recursion with hatchling 30 + 31 + nativeCheckInputs = [ 32 + pretend 33 + pytestCheckHook 34 + ]; 35 36 + pythonImportsCheck = [ "calver" ]; 37 38 + passthru.tests.calver = self.overridePythonAttrs { doCheck = true; }; 39 40 + meta = { 41 + description = "Setuptools extension for CalVer package versions"; 42 + homepage = "https://github.com/di/calver"; 43 + license = lib.licenses.asl20; 44 + maintainers = with lib.maintainers; [ dotlambda ]; 45 + }; 46 }; 47 + in 48 + self
+2 -2
pkgs/development/python-modules/celery/default.nix
··· 28 29 buildPythonPackage rec { 30 pname = "celery"; 31 - version = "5.3.0"; 32 format = "setuptools"; 33 34 disabled = pythonOlder "3.7"; 35 36 src = fetchPypi { 37 inherit pname version; 38 - hash = "sha256-Hqul7hTYyMC+2PYGPl4Q2r288jUDqGHPDhC3Ih2Zyw0="; 39 }; 40 41 propagatedBuildInputs = [
··· 28 29 buildPythonPackage rec { 30 pname = "celery"; 31 + version = "5.3.1"; 32 format = "setuptools"; 33 34 disabled = pythonOlder "3.7"; 35 36 src = fetchPypi { 37 inherit pname version; 38 + hash = "sha256-+E0cIaFSDBFsK30mWTkmWBGRQ1oDqnS3fJQbk8ocYhA="; 39 }; 40 41 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix
··· 17 18 let 19 pname = "chacha20poly1305-reuseable"; 20 - version = "0.2.5"; 21 in 22 23 buildPythonPackage { ··· 30 owner = "bdraco"; 31 repo = pname; 32 rev = "v${version}"; 33 - hash = "sha256-T5mmHUMNbdvexeSaIDZIm/3yQcDKnWdor9IK63FE0no="; 34 }; 35 36 nativeBuildInputs = [
··· 17 18 let 19 pname = "chacha20poly1305-reuseable"; 20 + version = "0.3.0"; 21 in 22 23 buildPythonPackage { ··· 30 owner = "bdraco"; 31 repo = pname; 32 rev = "v${version}"; 33 + hash = "sha256-/bXpwSBFr1IM04GNEczzsnsjdFV4miUAzJkvrQjfIq4="; 34 }; 35 36 nativeBuildInputs = [
+15 -1
pkgs/development/python-modules/cherrypy/default.nix
··· 27 version = "18.8.0"; 28 format = "setuptools"; 29 30 - disabled = pythonOlder "3.7" || pythonAtLeast "3.11"; 31 32 src = fetchPypi { 33 pname = "CherryPy"; ··· 86 "test_basic_request" 87 "test_3_Redirect" 88 "test_4_File_deletion" 89 ] ++ lib.optionals stdenv.isDarwin [ 90 "test_block" 91 ];
··· 27 version = "18.8.0"; 28 format = "setuptools"; 29 30 + disabled = pythonOlder "3.7"; 31 32 src = fetchPypi { 33 pname = "CherryPy"; ··· 86 "test_basic_request" 87 "test_3_Redirect" 88 "test_4_File_deletion" 89 + ] ++ lib.optionals (pythonAtLeast "3.11") [ 90 + "testErrorHandling" 91 + "testHookErrors" 92 + "test_HTTP10_KeepAlive" 93 + "test_No_Message_Body" 94 + "test_HTTP11_Timeout" 95 + "testGzip" 96 + "test_malformed_header" 97 + "test_no_content_length" 98 + "test_post_filename_with_special_characters" 99 + "test_post_multipart" 100 + "test_iterator" 101 + "test_1_Ram_Concurrency" 102 + "test_2_File_Concurrency" 103 ] ++ lib.optionals stdenv.isDarwin [ 104 "test_block" 105 ];
+2 -2
pkgs/development/python-modules/click/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "click"; 18 - version = "8.1.3"; 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-doLcivswKXABZ0V16gDRgU2AjWo2r0Fagr1IHTe6e44="; 24 }; 25 26 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
··· 15 16 buildPythonPackage rec { 17 pname = "click"; 18 + version = "8.1.6"; 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-SO6EmVGRlSegRb/jv3uqipWcQjE04aW5jAXCC6daHL0="; 24 }; 25 26 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
+1 -1
pkgs/development/python-modules/constantly/default.nix
··· 23 24 pythonImportsCheck = [ "constantly" ]; 25 26 - passthru.tests.constantly = self.overrideAttrs (_: { doInstallCheck = true; }); 27 28 meta = with lib; { 29 homepage = "https://github.com/twisted/constantly";
··· 23 24 pythonImportsCheck = [ "constantly" ]; 25 26 + passthru.tests.constantly = self.overridePythonAttrs { doCheck = true; }; 27 28 meta = with lib; { 29 homepage = "https://github.com/twisted/constantly";
-2
pkgs/development/python-modules/crownstone-cloud/default.nix
··· 1 { lib 2 , aiohttp 3 - , asynctest 4 , buildPythonPackage 5 , fetchFromGitHub 6 , fetchpatch ··· 34 35 propagatedBuildInputs = [ 36 aiohttp 37 - asynctest 38 certifi 39 ]; 40
··· 1 { lib 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 , fetchpatch ··· 33 34 propagatedBuildInputs = [ 35 aiohttp 36 certifi 37 ]; 38
+18 -20
pkgs/development/python-modules/cryptography/default.nix
··· 3 , callPackage 4 , buildPythonPackage 5 , fetchPypi 6 - , rustPlatform 7 , cargo 8 - , rustc 9 - , setuptools-rust 10 , openssl 11 - , Security 12 - , isPyPy 13 - , cffi 14 , pkg-config 15 , pytestCheckHook 16 , pytest-subtests 17 , pythonOlder 18 - , pretend 19 - , libiconv 20 - , libxcrypt 21 - , iso8601 22 - , py 23 , pytz 24 - , hypothesis 25 }: 26 27 let ··· 29 in 30 buildPythonPackage rec { 31 pname = "cryptography"; 32 - version = "40.0.1"; # Also update the hash in vectors.nix 33 - format = "setuptools"; 34 - disabled = pythonOlder "3.6"; 35 36 src = fetchPypi { 37 inherit pname version; 38 - hash = "sha256-KAPy+LHpX2FEGZJsfm9V2CivxhTKXtYVQ4d65mjMNHI="; 39 }; 40 41 cargoDeps = rustPlatform.fetchCargoTarball { 42 inherit src; 43 sourceRoot = "${pname}-${version}/${cargoRoot}"; 44 name = "${pname}-${version}"; 45 - hash = "sha256-gFfDTc2QWBWHBCycVH1dYlCsWQMVcRZfOBIau+njtDU="; 46 }; 47 48 postPatch = '' ··· 54 55 nativeBuildInputs = [ 56 rustPlatform.cargoSetupHook 57 - setuptools-rust 58 cargo 59 rustc 60 pkg-config ··· 100 Cryptography includes both high level recipes and low level interfaces to 101 common cryptographic algorithms such as symmetric ciphers, message 102 digests, and key derivation functions. 103 - Our goal is for it to be your "cryptographic standard library". It 104 - supports Python 2.7, Python 3.5+, and PyPy 5.4+. 105 ''; 106 homepage = "https://github.com/pyca/cryptography"; 107 changelog = "https://cryptography.io/en/latest/changelog/#v"
··· 3 , callPackage 4 , buildPythonPackage 5 , fetchPypi 6 , cargo 7 + , cffi 8 + , hypothesis 9 + , iso8601 10 + , isPyPy 11 + , libiconv 12 + , libxcrypt 13 , openssl 14 , pkg-config 15 + , pretend 16 + , py 17 , pytestCheckHook 18 , pytest-subtests 19 , pythonOlder 20 , pytz 21 + , rustc 22 + , rustPlatform 23 + , Security 24 + , setuptoolsRustBuildHook 25 }: 26 27 let ··· 29 in 30 buildPythonPackage rec { 31 pname = "cryptography"; 32 + version = "41.0.2"; # Also update the hash in vectors.nix 33 + format = "pyproject"; 34 + disabled = pythonOlder "3.7"; 35 36 src = fetchPypi { 37 inherit pname version; 38 + hash = "sha256-fSML+FYWTeFk7LYVzMFMf8beaQbd1bSR86+Q01FMklw="; 39 }; 40 41 cargoDeps = rustPlatform.fetchCargoTarball { 42 inherit src; 43 sourceRoot = "${pname}-${version}/${cargoRoot}"; 44 name = "${pname}-${version}"; 45 + hash = "sha256-hkuoICa/suMXlr4u95JbMlFzi27lJqJRmWnX3nZfzKU="; 46 }; 47 48 postPatch = '' ··· 54 55 nativeBuildInputs = [ 56 rustPlatform.cargoSetupHook 57 + setuptoolsRustBuildHook 58 cargo 59 rustc 60 pkg-config ··· 100 Cryptography includes both high level recipes and low level interfaces to 101 common cryptographic algorithms such as symmetric ciphers, message 102 digests, and key derivation functions. 103 ''; 104 homepage = "https://github.com/pyca/cryptography"; 105 changelog = "https://cryptography.io/en/latest/changelog/#v"
+6 -4
pkgs/development/python-modules/cryptography/vectors.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, cryptography }: 2 3 buildPythonPackage rec { 4 pname = "cryptography-vectors"; 5 # The test vectors must have the same version as the cryptography package 6 inherit (cryptography) version; 7 - format = "setuptools"; 8 9 src = fetchPypi { 10 pname = "cryptography_vectors"; 11 inherit version; 12 - hash = "sha256-hGBwa1tdDOSoVXHKM4nPiPcAu2oMYTPcn+D1ovW9oEE="; 13 }; 14 15 # No tests included 16 doCheck = false; ··· 20 meta = with lib; { 21 description = "Test vectors for the cryptography package"; 22 homepage = "https://cryptography.io/en/latest/development/test-vectors/"; 23 - # Source: https://github.com/pyca/cryptography/tree/master/vectors; 24 license = with licenses; [ asl20 bsd3 ]; 25 maintainers = with maintainers; [ SuperSandro2000 ]; 26 };
··· 1 + { buildPythonPackage, fetchPypi, lib, cryptography, setuptools }: 2 3 buildPythonPackage rec { 4 pname = "cryptography-vectors"; 5 # The test vectors must have the same version as the cryptography package 6 inherit (cryptography) version; 7 + format = "pyproject"; 8 9 src = fetchPypi { 10 pname = "cryptography_vectors"; 11 inherit version; 12 + hash = "sha256-Ao3/lKhSLKgYsRKV/xLfVfNI8zoZPAWX3f6COeU9FYI="; 13 }; 14 + 15 + nativeBuildInputs = [ setuptools ]; 16 17 # No tests included 18 doCheck = false; ··· 22 meta = with lib; { 23 description = "Test vectors for the cryptography package"; 24 homepage = "https://cryptography.io/en/latest/development/test-vectors/"; 25 + downloadPage = "https://github.com/pyca/cryptography/tree/master/vectors"; 26 license = with licenses; [ asl20 bsd3 ]; 27 maintainers = with maintainers; [ SuperSandro2000 ]; 28 };
+2 -2
pkgs/development/python-modules/cvxpy/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "cvxpy"; 19 - version = "1.3.1"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-8Hv+k2d6dVqFVMT9piLvAeIkes6Zs6eBB6qQcODQo8s="; 27 }; 28 29 propagatedBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "cvxpy"; 19 + version = "1.3.2"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-C2heUEDxmfPXA/MPXSLR+GVZdiNFUVPR3ddwJFrvCXU="; 27 }; 28 29 propagatedBuildInputs = [
+6 -4
pkgs/development/python-modules/dashing/default.nix
··· 1 { lib 2 - , python3 3 , fetchPypi 4 }: 5 6 - python3.pkgs.buildPythonPackage rec { 7 pname = "dashing"; 8 version = "0.1.0"; 9 format = "setuptools"; 10 11 - disabled = python3.pythonOlder "3.7"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-JRRgjg8pp3Xb0bERFWEhnOg9U8+kuqL+QQH6uE/Vbxs="; 16 }; 17 18 - propagatedBuildInputs = with python3.pkgs; [ 19 blessed 20 ]; 21
··· 1 { lib 2 + , buildPythonPackage 3 , fetchPypi 4 + , pythonOlder 5 + , blessed 6 }: 7 8 + buildPythonPackage rec { 9 pname = "dashing"; 10 version = "0.1.0"; 11 format = "setuptools"; 12 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-JRRgjg8pp3Xb0bERFWEhnOg9U8+kuqL+QQH6uE/Vbxs="; 18 }; 19 20 + propagatedBuildInputs = [ 21 blessed 22 ]; 23
+43 -33
pkgs/development/python-modules/dask/default.nix
··· 1 { lib 2 , stdenv 3 - , arrow-cpp 4 - , bokeh 5 , buildPythonPackage 6 , click 7 , cloudpickle 8 - , distributed 9 - , fastparquet 10 - , fetchFromGitHub 11 - , fetchpatch 12 , fsspec 13 , importlib-metadata 14 - , jinja2 15 - , numpy 16 , packaging 17 - , pandas 18 , partd 19 , pyarrow 20 , pytest-rerunfailures 21 , pytest-xdist 22 , pytestCheckHook 23 , pythonOlder 24 - , pyyaml 25 - , scipy 26 - , setuptools 27 - , toolz 28 - , versioneer 29 - , zarr 30 }: 31 32 buildPythonPackage rec { 33 pname = "dask"; 34 - version = "2023.4.1"; 35 - format = "setuptools"; 36 37 disabled = pythonOlder "3.8"; 38 39 src = fetchFromGitHub { 40 owner = "dask"; 41 - repo = pname; 42 rev = "refs/tags/${version}"; 43 - hash = "sha256-PkEFXF6OFZU+EMFBUopv84WniQghr5Q6757Qx6D5MyE="; 44 }; 45 46 nativeBuildInputs = [ ··· 59 toolz 60 ]; 61 62 - passthru.optional-dependencies = { 63 array = [ 64 numpy 65 ]; 66 complete = [ 67 - distributed 68 - ]; 69 dataframe = [ 70 numpy 71 pandas ··· 77 bokeh 78 jinja2 79 ]; 80 - }; 81 82 nativeCheckInputs = [ 83 pytestCheckHook 84 pytest-rerunfailures 85 pytest-xdist 86 - scipy 87 - zarr 88 ] ++ lib.optionals (!arrow-cpp.meta.broken) [ # support is sparse on aarch64 89 - fastparquet 90 pyarrow 91 ]; 92 ··· 103 substituteInPlace pyproject.toml \ 104 --replace " --durations=10" "" \ 105 --replace " --cov-config=pyproject.toml" "" \ 106 - --replace " -v" "" 107 ''; 108 109 pytestFlagsArray = [ ··· 120 # AttributeError: 'str' object has no attribute 'decode' 121 "test_read_dir_nometa" 122 ] ++ [ 123 - "test_chunksize_files" 124 - # TypeError: 'ArrowStringArray' with dtype string does not support reduction 'min' 125 - "test_set_index_string" 126 - # numpy 1.24 127 - # RuntimeWarning: invalid value encountered in cast 128 - "test_setitem_extended_API_2d_mask" 129 ]; 130 131 __darwinAllowLocalNetworking = true;
··· 1 { lib 2 , stdenv 3 , buildPythonPackage 4 + , fetchFromGitHub 5 + 6 + # build-syste 7 + , setuptools 8 + , versioneer 9 + 10 + # dependencies 11 , click 12 , cloudpickle 13 , fsspec 14 , importlib-metadata 15 , packaging 16 , partd 17 + , pyyaml 18 + , toolz 19 + 20 + # optional-dependencies 21 + , numpy 22 , pyarrow 23 + , lz4 24 + , pandas 25 + , distributed 26 + , bokeh 27 + , jinja2 28 + 29 + # tests 30 + , arrow-cpp 31 + , hypothesis 32 + , pytest-asyncio 33 , pytest-rerunfailures 34 , pytest-xdist 35 , pytestCheckHook 36 , pythonOlder 37 }: 38 39 buildPythonPackage rec { 40 pname = "dask"; 41 + version = "2023.7.1"; 42 + format = "pyproject"; 43 44 disabled = pythonOlder "3.8"; 45 46 src = fetchFromGitHub { 47 owner = "dask"; 48 + repo = "dask"; 49 rev = "refs/tags/${version}"; 50 + hash = "sha256-1KnvIMEWT1MwlvkdgH10xk+lGSsGWJMLBonTtWwKjog="; 51 }; 52 53 nativeBuildInputs = [ ··· 66 toolz 67 ]; 68 69 + passthru.optional-dependencies = lib.fix (self: { 70 array = [ 71 numpy 72 ]; 73 complete = [ 74 + pyarrow 75 + lz4 76 + ] 77 + ++ self.array 78 + ++ self.dataframe 79 + ++ self.distributed 80 + ++ self.diagnostics; 81 dataframe = [ 82 numpy 83 pandas ··· 89 bokeh 90 jinja2 91 ]; 92 + }); 93 94 nativeCheckInputs = [ 95 pytestCheckHook 96 pytest-rerunfailures 97 pytest-xdist 98 + # from panda[test] 99 + hypothesis 100 + pytest-asyncio 101 ] ++ lib.optionals (!arrow-cpp.meta.broken) [ # support is sparse on aarch64 102 pyarrow 103 ]; 104 ··· 115 substituteInPlace pyproject.toml \ 116 --replace " --durations=10" "" \ 117 --replace " --cov-config=pyproject.toml" "" \ 118 + --replace "\"-v" "\" " 119 ''; 120 121 pytestFlagsArray = [ ··· 132 # AttributeError: 'str' object has no attribute 'decode' 133 "test_read_dir_nometa" 134 ] ++ [ 135 + # AttributeError: 'ArrowStringArray' object has no attribute 'tobytes'. Did you mean: 'nbytes'? 136 + "test_dot" 137 + "test_dot_nan" 138 + "test_merge_column_with_nulls" 139 ]; 140 141 __darwinAllowLocalNetworking = true;
+11 -6
pkgs/development/python-modules/devtools/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "devtools"; 15 - version = "0.10.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 20 src = fetchFromGitHub { 21 owner = "samuelcolvin"; 22 repo = "python-${pname}"; 23 - rev = "v${version}"; 24 - hash = "sha256-x9dL/FE94OixMAmjnmfzZUcYJBqE5P2AAIFsNJF0Fxo="; 25 }; 26 27 nativeBuildInputs = [ ··· 47 disabledTests = [ 48 # Test for Windows32 49 "test_print_subprocess" 50 - # sensitive to timing 51 "test_multiple_not_verbose" 52 - # sensitive to interpreter output 53 - "test_simple_vars" 54 ]; 55 56 pythonImportsCheck = [
··· 12 13 buildPythonPackage rec { 14 pname = "devtools"; 15 + version = "0.11.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 20 src = fetchFromGitHub { 21 owner = "samuelcolvin"; 22 repo = "python-${pname}"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-ogogXZnuSFkWktCin+cyefjqIbGFRBVIeOrZJAa3hOE="; 25 }; 26 27 nativeBuildInputs = [ ··· 47 disabledTests = [ 48 # Test for Windows32 49 "test_print_subprocess" 50 + # Sensitive to timing 51 "test_multiple_not_verbose" 52 + # Sensitive to interpreter output 53 + "test_simple" 54 + ]; 55 + 56 + disabledTestPaths = [ 57 + # pytester_pretty is not available in Nixpkgs 58 + "tests/test_insert_assert.py" 59 ]; 60 61 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/dj-rest-auth/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "dj-rest-auth"; 15 - version = "3.0.0"; 16 17 src = fetchFromGitHub { 18 owner = "iMerica"; 19 repo = "dj-rest-auth"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-wkbFUrvKhdp2Hd4QkXAvhMiaqSXFD/fgIw03nLPaO5I="; 22 }; 23 24 postPatch = ''
··· 12 13 buildPythonPackage rec { 14 pname = "dj-rest-auth"; 15 + version = "4.0.1"; 16 17 src = fetchFromGitHub { 18 owner = "iMerica"; 19 repo = "dj-rest-auth"; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-+ladx0b/bvvUW8zLjtG8IiWWdfPTqqm/KYbEK9uiFaU="; 22 }; 23 24 postPatch = ''
+20 -8
pkgs/development/python-modules/django-bootstrap3/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchPypi 4 - , setuptools 5 , django 6 , pytest-django 7 , pytestCheckHook 8 }: 9 10 buildPythonPackage rec { 11 pname = "django-bootstrap3"; 12 - version = "23.1"; 13 format = "pyproject"; 14 15 - src = fetchPypi { 16 - inherit pname version; 17 - hash = "sha256-cJW3xmqJ87rreOoCh5nr15XSlzn8hgJGBCLnwqGUrTA="; 18 }; 19 20 nativeBuildInputs = [ 21 - setuptools 22 ]; 23 24 buildInputs = [ ··· 39 meta = with lib; { 40 description = "Bootstrap 3 integration for Django"; 41 homepage = "https://github.com/zostera/django-bootstrap3"; 42 - changelog = "https://github.com/zostera/django-bootstrap3/blob/${version}/CHANGELOG.md"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ hexa ]; 45 };
··· 1 { lib 2 , buildPythonPackage 3 + , fetchFromGitHub 4 + 5 + # build-system 6 + , hatchling 7 + 8 + # non-propagates 9 , django 10 + 11 + # tests 12 , pytest-django 13 , pytestCheckHook 14 }: 15 16 buildPythonPackage rec { 17 pname = "django-bootstrap3"; 18 + version = "23.4"; 19 format = "pyproject"; 20 21 + src = fetchFromGitHub { 22 + owner = "zostera"; 23 + repo = "django-bootstrap3"; 24 + rev = "refs/tags/v${version}"; 25 + hash = "sha256-1/JQ17GjBHH0JbY4EnHOS2B3KhEJdG2yL6O2nc1HNNc="; 26 }; 27 28 + postPatch = '' 29 + sed -i '/beautifulsoup4/d' pyproject.toml 30 + ''; 31 + 32 nativeBuildInputs = [ 33 + hatchling 34 ]; 35 36 buildInputs = [ ··· 51 meta = with lib; { 52 description = "Bootstrap 3 integration for Django"; 53 homepage = "https://github.com/zostera/django-bootstrap3"; 54 + changelog = "https://github.com/zostera/django-bootstrap3/blob/v${version}/CHANGELOG.md"; 55 license = licenses.bsd3; 56 maintainers = with maintainers; [ hexa ]; 57 };
+8 -6
pkgs/development/python-modules/django-bootstrap4/default.nix
··· 3 , fetchFromGitHub 4 5 # build-system 6 - , setuptools 7 8 # dependencies 9 , beautifulsoup4 10 11 # tests 12 - , django 13 , python 14 }: 15 16 buildPythonPackage rec { 17 pname = "django-bootstrap4"; 18 - version = "23.1"; 19 format = "pyproject"; 20 21 src = fetchFromGitHub { 22 owner = "zostera"; 23 repo = "django-bootstrap4"; 24 - rev = "v${version}"; 25 - hash = "sha256-55pfUPwxDzpDn4stMEPvrQAexs+goN5SKFvwSR3J4aM="; 26 }; 27 28 nativeBuildInputs = [ 29 - setuptools 30 ]; 31 32 propagatedBuildInputs = [
··· 3 , fetchFromGitHub 4 5 # build-system 6 + , hatchling 7 + 8 + # non-propagates 9 + , django 10 11 # dependencies 12 , beautifulsoup4 13 14 # tests 15 , python 16 }: 17 18 buildPythonPackage rec { 19 pname = "django-bootstrap4"; 20 + version = "23.2"; 21 format = "pyproject"; 22 23 src = fetchFromGitHub { 24 owner = "zostera"; 25 repo = "django-bootstrap4"; 26 + rev = "refs/tags/v${version}"; 27 + hash = "sha256-RYGwi+hRfTqPAikrv33w27v1/WLwRvXexSusJKdr2o8="; 28 }; 29 30 nativeBuildInputs = [ 31 + hatchling 32 ]; 33 34 propagatedBuildInputs = [
+8 -3
pkgs/development/python-modules/django-js-asset/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , django 5 , python 6 }: 7 8 buildPythonPackage rec { 9 pname = "django-js-asset"; 10 - version = "2.0"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "matthiask"; 15 repo = pname; 16 rev = "refs/tags/${version}"; 17 - hash = "sha256-YDOmbqB0xDBAlOSO1UBYJ8VfRjJ8Z6Hw1i24DNSrnjw="; 18 }; 19 20 propagatedBuildInputs = [ 21 django
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , hatchling 5 , django 6 , python 7 }: 8 9 buildPythonPackage rec { 10 pname = "django-js-asset"; 11 + version = "2.1"; 12 + format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "matthiask"; 16 repo = pname; 17 rev = "refs/tags/${version}"; 18 + hash = "sha256-rxJ9TgVBiJByiFSLTg/dtAR31Fs14D4sh2axyBcKGTU="; 19 }; 20 + 21 + nativeBuildInputs = [ 22 + hatchling 23 + ]; 24 25 propagatedBuildInputs = [ 26 django
+3 -1
pkgs/development/python-modules/django-oauth-toolkit/default.nix
··· 47 48 DJANGO_SETTINGS_MODULE = "tests.settings"; 49 50 nativeCheckInputs = [ 51 djangorestframework 52 pytest-django 53 - pytest-xdist 54 pytest-mock 55 pytestCheckHook 56 ];
··· 47 48 DJANGO_SETTINGS_MODULE = "tests.settings"; 49 50 + # xdist is disabled right now because it can cause race conditions on high core machines 51 + # https://github.com/jazzband/django-oauth-toolkit/issues/1300 52 nativeCheckInputs = [ 53 djangorestframework 54 pytest-django 55 + # pytest-xdist 56 pytest-mock 57 pytestCheckHook 58 ];
+5 -5
pkgs/development/python-modules/dnspython/default.nix
··· 9 , h2 10 , httpx 11 , idna 12 , pytestCheckHook 13 , pythonOlder 14 , requests 15 , requests-toolbelt 16 - , setuptools-scm 17 , sniffio 18 , trio 19 }: 20 21 buildPythonPackage rec { 22 pname = "dnspython"; 23 - version = "2.3.0"; 24 - format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; 27 28 src = fetchPypi { 29 inherit pname version; 30 - hash = "sha256-Ik4ysD60a+cOEu9tZOC+Ejpk5iGrTAgi/21FDVKlQLk="; 31 }; 32 33 nativeBuildInputs = [ 34 - setuptools-scm 35 ]; 36 37 passthru.optional-dependencies = {
··· 9 , h2 10 , httpx 11 , idna 12 + , poetry-core 13 , pytestCheckHook 14 , pythonOlder 15 , requests 16 , requests-toolbelt 17 , sniffio 18 , trio 19 }: 20 21 buildPythonPackage rec { 22 pname = "dnspython"; 23 + version = "2.4.1"; 24 + format = "pyproject"; 25 26 disabled = pythonOlder "3.7"; 27 28 src = fetchPypi { 29 inherit pname version; 30 + hash = "sha256-wzlxx5r1vpaLuJfpXCRI4RpkXuhNk7Jlzgt6q+Xf3Kg="; 31 }; 32 33 nativeBuildInputs = [ 34 + poetry-core 35 ]; 36 37 passthru.optional-dependencies = {
+2 -2
pkgs/development/python-modules/drf-spectacular/default.nix
··· 28 29 buildPythonPackage rec { 30 pname = "drf-spectacular"; 31 - version = "0.26.2"; 32 33 src = fetchFromGitHub { 34 owner = "tfranzel"; 35 repo = "drf-spectacular"; 36 rev = "refs/tags/${version}"; 37 - hash = "sha256-wwR7ZdbWFNRgxQubdgriDke5W6u7VNsNZV9xqQypSrY="; 38 }; 39 40 propagatedBuildInputs = [
··· 28 29 buildPythonPackage rec { 30 pname = "drf-spectacular"; 31 + version = "0.26.3"; 32 33 src = fetchFromGitHub { 34 owner = "tfranzel"; 35 repo = "drf-spectacular"; 36 rev = "refs/tags/${version}"; 37 + hash = "sha256-O47676BOuCx3wMpeuRATQOAWZQev+R+OxZi4boQABmc="; 38 }; 39 40 propagatedBuildInputs = [
+10 -1
pkgs/development/python-modules/dtschema/default.nix
··· 1 - { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , jsonschema ··· 54 changelog = "https://github.com/devicetree-org/dt-schema/releases/tag/v${version}"; 55 license = with licenses; [ bsd2 /* or */ gpl2Only ]; 56 maintainers = with maintainers; [ sorki ]; 57 }; 58 } 59
··· 1 + { stdenv 2 + , lib 3 , buildPythonPackage 4 , fetchFromGitHub 5 , jsonschema ··· 55 changelog = "https://github.com/devicetree-org/dt-schema/releases/tag/v${version}"; 56 license = with licenses; [ bsd2 /* or */ gpl2Only ]; 57 maintainers = with maintainers; [ sorki ]; 58 + 59 + broken = ( 60 + # Library not loaded: @rpath/libfdt.1.dylib 61 + stdenv.isDarwin || 62 + 63 + # see https://github.com/devicetree-org/dt-schema/issues/108 64 + versionAtLeast jsonschema.version "4.18" 65 + ); 66 }; 67 } 68
+12 -7
pkgs/development/python-modules/eigenpy/default.nix
··· 7 , numpy 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "eigenpy"; 12 - version = "3.0.0"; 13 14 src = fetchFromGitHub { 15 owner = "stack-of-tasks"; 16 - repo = pname; 17 - rev = "v${version}"; 18 fetchSubmodules = true; 19 - hash = "sha256-xaeMsn3G4x5DS6gXc6mbZvi96K1Yu8CuzjcGnYJYrvs="; 20 }; 21 22 strictDeps = true; ··· 34 numpy 35 ]; 36 37 meta = with lib; { 38 description = "Bindings between Numpy and Eigen using Boost.Python"; 39 homepage = "https://github.com/stack-of-tasks/eigenpy"; 40 changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; 41 license = licenses.bsd2; 42 - maintainers = with maintainers; [ wegank ]; 43 platforms = platforms.unix; 44 }; 45 - }
··· 7 , numpy 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "eigenpy"; 12 + version = "3.1.1"; 13 14 src = fetchFromGitHub { 15 owner = "stack-of-tasks"; 16 + repo = finalAttrs.pname; 17 + rev = "v${finalAttrs.version}"; 18 fetchSubmodules = true; 19 + hash = "sha256-mUwckBelFVRCXp3hspB8WRFFaLVyRsfp6XbqU8HeHvw="; 20 }; 21 22 strictDeps = true; ··· 34 numpy 35 ]; 36 37 + doCheck = true; 38 + pythonImportsCheck = [ 39 + "eigenpy" 40 + ]; 41 + 42 meta = with lib; { 43 description = "Bindings between Numpy and Eigen using Boost.Python"; 44 homepage = "https://github.com/stack-of-tasks/eigenpy"; 45 changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; 46 license = licenses.bsd2; 47 + maintainers = with maintainers; [ nim65s wegank ]; 48 platforms = platforms.unix; 49 }; 50 + })
+6 -3
pkgs/development/python-modules/eventlet/default.nix
··· 5 , pythonOlder 6 , dnspython 7 , greenlet 8 , monotonic 9 , six 10 - , nose 11 , iana-etc 12 , pytestCheckHook 13 , libredirect ··· 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 - nose 39 ]; 40 41 - doCheck = !stdenv.isDarwin; 42 43 preCheck = lib.optionalString doCheck '' 44 echo "nameserver 127.0.0.1" > resolv.conf
··· 5 , pythonOlder 6 , dnspython 7 , greenlet 8 + , isPyPy 9 , monotonic 10 , six 11 + , nose3 12 , iana-etc 13 , pytestCheckHook 14 , libredirect ··· 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 + nose3 40 ]; 41 42 + # libredirect is not available on darwin 43 + # tests hang on pypy indefinitely 44 + doCheck = !stdenv.isDarwin && !isPyPy; 45 46 preCheck = lib.optionalString doCheck '' 47 echo "nameserver 127.0.0.1" > resolv.conf
+13 -2
pkgs/development/python-modules/factory_boy/default.nix
··· 7 , flask-sqlalchemy 8 , mongoengine 9 , pytestCheckHook 10 , sqlalchemy 11 }: 12 13 buildPythonPackage rec { 14 pname = "factory-boy"; 15 - version = "3.2.1"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 pname = "factory_boy"; 20 inherit version; 21 - hash = "sha256-qY0newwEfHXrbkq4UIp/gfsD0sshmG9ieRNUbveipV4="; 22 }; 23 24 propagatedBuildInputs = [ 25 faker 26 ]; ··· 32 mongoengine 33 pytestCheckHook 34 sqlalchemy 35 ]; 36 37 # Checks for MongoDB requires an a running DB ··· 51 meta = with lib; { 52 description = "Python package to create factories for complex objects"; 53 homepage = "https://github.com/rbarrois/factory_boy"; 54 license = with licenses; [ mit ]; 55 maintainers = with maintainers; [ fab ]; 56 };
··· 7 , flask-sqlalchemy 8 , mongoengine 9 , pytestCheckHook 10 + , pythonOlder 11 , sqlalchemy 12 + , sqlalchemy-utils 13 }: 14 15 buildPythonPackage rec { 16 pname = "factory-boy"; 17 + version = "3.3.0"; 18 format = "setuptools"; 19 20 + disabled = pythonOlder "3.7"; 21 + 22 src = fetchPypi { 23 pname = "factory_boy"; 24 inherit version; 25 + hash = "sha256-vHbZfRplu9mEKm1yKIIJjrVJ7I7hCB+fsuj/KfDDAPE="; 26 }; 27 28 + postPatch = '' 29 + substituteInPlace tests/test_version.py \ 30 + --replace '"3.2.1.dev0")' '"${version}")' 31 + ''; 32 + 33 propagatedBuildInputs = [ 34 faker 35 ]; ··· 41 mongoengine 42 pytestCheckHook 43 sqlalchemy 44 + sqlalchemy-utils 45 ]; 46 47 # Checks for MongoDB requires an a running DB ··· 61 meta = with lib; { 62 description = "Python package to create factories for complex objects"; 63 homepage = "https://github.com/rbarrois/factory_boy"; 64 + changelog = "https://github.com/FactoryBoy/factory_boy/blob/${version}/docs/changelog.rst"; 65 license = with licenses; [ mit ]; 66 maintainers = with maintainers; [ fab ]; 67 };
+2 -2
pkgs/development/python-modules/filelock/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "filelock"; 13 - version = "3.12.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-/AOuQyiMAT0uqDyFlwAbESnbNRqtnFf+JAkyeRa45xg="; 21 }; 22 23 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "filelock"; 13 + version = "3.12.2"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-ACdAUY2KpZomsMduEPuMbhXq6CXTS2/fZwMz/XuTjYE="; 21 }; 22 23 nativeBuildInputs = [
+17 -23
pkgs/development/python-modules/fixtures/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , fetchpatch 5 - , pythonAtLeast 6 , pbr 7 , testtools 8 , mock 9 - , python 10 - , six 11 }: 12 13 buildPythonPackage rec { 14 pname = "fixtures"; 15 - version = "3.0.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "fcf0d60234f1544da717a9738325812de1f42c2fa085e2d9252d8fff5712b2ef"; 20 }; 21 - 22 - patches = lib.optionals (pythonAtLeast "3.9") [ 23 - # drop tests that try to monkeypatch a classmethod, which fails on python3.9 24 - # https://github.com/testing-cabal/fixtures/issues/44 25 - (fetchpatch { 26 - url = "https://salsa.debian.org/openstack-team/python/python-fixtures/-/raw/debian/victoria/debian/patches/remove-broken-monkey-patch-test.patch"; 27 - sha256 = "1s3hg2zmqc4shmnf90kscphzj5qlqpxghzw2a59p8f88zrbsj97r"; 28 - }) 29 - ]; 30 31 nativeBuildInputs = [ 32 pbr 33 ]; 34 35 propagatedBuildInputs = [ 36 - testtools 37 - six # not in install_requires, but used in fixture.py 38 ]; 39 40 nativeCheckInputs = [ 41 mock 42 - ]; 43 - 44 - checkPhase = '' 45 - ${python.interpreter} -m testtools.run fixtures.test_suite 46 - ''; 47 48 meta = { 49 description = "Reusable state for writing clean tests and more"; 50 - homepage = "https://pypi.python.org/pypi/fixtures"; 51 license = lib.licenses.asl20; 52 }; 53 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , pbr 5 + , setuptools 6 , testtools 7 , mock 8 + , pytestCheckHook 9 }: 10 11 buildPythonPackage rec { 12 pname = "fixtures"; 13 + version = "4.1.0"; 14 + format = "pyproject"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-grHF5p9hVSbvbAZxiKHmxgZ99/iDMlCcmfi4/buXdvM="; 19 }; 20 21 nativeBuildInputs = [ 22 pbr 23 + setuptools 24 ]; 25 26 propagatedBuildInputs = [ 27 + pbr 28 ]; 29 + 30 + passthru.optional-dependencies = { 31 + streams = [ 32 + testtools 33 + ]; 34 + }; 35 36 nativeCheckInputs = [ 37 mock 38 + pytestCheckHook 39 + ] ++ passthru.optional-dependencies.streams; 40 41 meta = { 42 description = "Reusable state for writing clean tests and more"; 43 + homepage = "https://pypi.org/project/fixtures/"; 44 + changelog = "https://github.com/testing-cabal/fixtures/blob/${version}/NEWS"; 45 license = lib.licenses.asl20; 46 }; 47 }
+14 -13
pkgs/development/python-modules/flask-limiter/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - 5 , flask 6 , limits 7 , ordered-set 8 - , rich 9 - , typing-extensions 10 - 11 - , asgiref 12 - , hiro 13 , pymemcache 14 , pytest-mock 15 , pytestCheckHook 16 , redis 17 - , pymongo 18 }: 19 20 buildPythonPackage rec { 21 pname = "flask-limiter"; 22 - version = "3.1.0"; 23 format = "setuptools"; 24 25 src = fetchFromGitHub { 26 owner = "alisaifee"; 27 repo = "flask-limiter"; 28 rev = "refs/tags/${version}"; 29 - hash = "sha256-eAJRqyAH1j1NHYfagRZM2fPE6hm9+tJHD8FMqvgvMBI="; 30 }; 31 32 postPatch = '' 33 - substituteInPlace requirements/main.txt \ 34 - --replace "rich>=12,<13" "rich" 35 - 36 sed -i "/--cov/d" pytest.ini 37 38 # flask-restful is unmaintained and breaks regularly, don't depend on it ··· 82 "tests/test_storage.py" 83 ]; 84 85 - pythonImportsCheck = [ "flask_limiter" ]; 86 87 meta = with lib; { 88 description = "Rate limiting for flask applications"; 89 homepage = "https://flask-limiter.readthedocs.org/"; 90 license = licenses.mit; 91 maintainers = with maintainers; [ ]; 92 };
··· 1 { lib 2 + , asgiref 3 , buildPythonPackage 4 , fetchFromGitHub 5 , flask 6 + , hiro 7 , limits 8 , ordered-set 9 , pymemcache 10 + , pymongo 11 , pytest-mock 12 , pytestCheckHook 13 + , pythonOlder 14 , redis 15 + , rich 16 + , typing-extensions 17 }: 18 19 buildPythonPackage rec { 20 pname = "flask-limiter"; 21 + version = "3.3.1"; 22 format = "setuptools"; 23 + 24 + disabled = pythonOlder "3.7"; 25 26 src = fetchFromGitHub { 27 owner = "alisaifee"; 28 repo = "flask-limiter"; 29 rev = "refs/tags/${version}"; 30 + hash = "sha256-YDVZ/dD+TRJEnJRTRmGEB6EIkK5eQ5MdXh8FideoVDQ="; 31 }; 32 33 postPatch = '' 34 sed -i "/--cov/d" pytest.ini 35 36 # flask-restful is unmaintained and breaks regularly, don't depend on it ··· 80 "tests/test_storage.py" 81 ]; 82 83 + pythonImportsCheck = [ 84 + "flask_limiter" 85 + ]; 86 87 meta = with lib; { 88 description = "Rate limiting for flask applications"; 89 homepage = "https://flask-limiter.readthedocs.org/"; 90 + changelog = "https://github.com/alisaifee/flask-limiter/blob/${version}/HISTORY.rst"; 91 license = licenses.mit; 92 maintainers = with maintainers; [ ]; 93 };
+10 -4
pkgs/development/python-modules/flet-core/default.nix
··· 1 { lib 2 - , python3 3 , buildPythonPackage 4 , fetchPypi 5 }: 6 7 buildPythonPackage rec { ··· 15 hash = "sha256-8WG7odYiGrew4GwD+MUuzQPmDn7V/GmocBproqsbCNw="; 16 }; 17 18 - nativeBuildInputs = with python3.pkgs; [ 19 poetry-core 20 ]; 21 22 - propagatedBuildInputs = with python3.pkgs; [ 23 typing-extensions 24 - repath 25 ]; 26 27 doCheck = false;
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + 5 + # build-system 6 + , poetry-core 7 + 8 + # propagates 9 + , typing-extensions 10 + , repath 11 }: 12 13 buildPythonPackage rec { ··· 21 hash = "sha256-8WG7odYiGrew4GwD+MUuzQPmDn7V/GmocBproqsbCNw="; 22 }; 23 24 + nativeBuildInputs = [ 25 poetry-core 26 ]; 27 28 + propagatedBuildInputs = [ 29 + repath 30 typing-extensions 31 ]; 32 33 doCheck = false;
+16 -3
pkgs/development/python-modules/flet/default.nix
··· 1 { lib 2 - , python3 3 , buildPythonPackage 4 , fetchPypi 5 }: 6 7 buildPythonPackage rec { ··· 20 --replace 'watchdog = "^2' 'watchdog = ">=2' 21 ''; 22 23 - nativeBuildInputs = with python3.pkgs; [ 24 poetry-core 25 ]; 26 27 - propagatedBuildInputs = with python3.pkgs; [ 28 flet-core 29 typing-extensions 30 websocket-client
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + 5 + # build-system 6 + , poetry-core 7 + 8 + # propagates 9 + , flet-core 10 + , httpx 11 + , oauthlib 12 + , packaging 13 + , typing-extensions 14 + , watchdog 15 + , websocket-client 16 + , websockets 17 + 18 }: 19 20 buildPythonPackage rec { ··· 33 --replace 'watchdog = "^2' 'watchdog = ">=2' 34 ''; 35 36 + nativeBuildInputs = [ 37 poetry-core 38 ]; 39 40 + propagatedBuildInputs = [ 41 flet-core 42 typing-extensions 43 websocket-client
+3 -2
pkgs/development/python-modules/flit/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "flit"; 20 - version = "3.8.0"; 21 format = "pyproject"; 22 23 src = fetchFromGitHub { 24 owner = "takluyver"; 25 repo = "flit"; 26 rev = version; 27 - hash = "sha256-iXf9K/xI4u+dDV0Zf6S08nbws4NqycrTEW0B8/qCjQc="; 28 }; 29 30 nativeBuildInputs = [ ··· 51 ]; 52 53 meta = with lib; { 54 description = "A simple packaging tool for simple packages"; 55 homepage = "https://github.com/pypa/flit"; 56 license = licenses.bsd3;
··· 17 18 buildPythonPackage rec { 19 pname = "flit"; 20 + version = "3.9.0"; 21 format = "pyproject"; 22 23 src = fetchFromGitHub { 24 owner = "takluyver"; 25 repo = "flit"; 26 rev = version; 27 + hash = "sha256-yl2+PcKr7xRW4oIBWl+gzh/nKhSNu5GH9fWKRGgaNHU="; 28 }; 29 30 nativeBuildInputs = [ ··· 51 ]; 52 53 meta = with lib; { 54 + changelog = "https://github.com/pypa/flit/blob/${version}/doc/history.rst"; 55 description = "A simple packaging tool for simple packages"; 56 homepage = "https://github.com/pypa/flit"; 57 license = licenses.bsd3;
+1 -1
pkgs/development/python-modules/gaphas/default.nix
··· 24 25 nativeBuildInputs = [ 26 poetry-core 27 ]; 28 29 buildInputs = [ 30 - gobject-introspection 31 gtk3 32 ]; 33
··· 24 25 nativeBuildInputs = [ 26 poetry-core 27 + gobject-introspection 28 ]; 29 30 buildInputs = [ 31 gtk3 32 ]; 33
+8 -4
pkgs/development/python-modules/glad2/default.nix
··· 1 { lib 2 - , python3 3 , fetchPypi 4 }: 5 6 - python3.pkgs.buildPythonPackage rec { 7 pname = "glad2"; 8 version = "2.0.4"; 9 format = "setuptools"; ··· 13 hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A="; 14 }; 15 16 - propagatedBuildInputs = with python3.pkgs; [ 17 jinja2 18 ]; 19 20 pythonImportsCheck = [ "glad" ]; 21 22 meta = with lib; { 23 description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications"; 24 - homepage = "https://pypi.org/project/glad2"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ kranzes ]; 27 };
··· 1 { lib 2 + , buildPythonPackage 3 , fetchPypi 4 + , jinja2 5 }: 6 7 + buildPythonPackage rec { 8 pname = "glad2"; 9 version = "2.0.4"; 10 format = "setuptools"; ··· 14 hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A="; 15 }; 16 17 + propagatedBuildInputs = [ 18 jinja2 19 ]; 20 21 + # no python tests 22 + doCheck = false; 23 + 24 pythonImportsCheck = [ "glad" ]; 25 26 meta = with lib; { 27 description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications"; 28 + homepage = "https://github.com/Dav1dde/glad"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ kranzes ]; 31 };
+2 -2
pkgs/development/python-modules/graphene-django/default.nix
··· 21 22 buildPythonPackage rec { 23 pname = "graphene-django"; 24 - version = "3.1.2"; 25 format = "setuptools"; 26 27 disabled = pythonOlder "3.6"; ··· 30 owner = "graphql-python"; 31 repo = pname; 32 rev = "refs/tags/v${version}"; 33 - hash = "sha256-VQwDK9FRbHy/AFbdZKmvl5e52smSCyWTrs00DvJqVmo="; 34 }; 35 36 postPatch = ''
··· 21 22 buildPythonPackage rec { 23 pname = "graphene-django"; 24 + version = "3.1.3"; 25 format = "setuptools"; 26 27 disabled = pythonOlder "3.6"; ··· 30 owner = "graphql-python"; 31 repo = pname; 32 rev = "refs/tags/v${version}"; 33 + hash = "sha256-33Z6W2dAsj5VXt3E7XJtUFiq7yFlCixnFnhbAUv+xgU="; 34 }; 35 36 postPatch = ''
+2 -2
pkgs/development/python-modules/gst-python/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "gst-python"; 17 - version = "1.22.4"; 18 19 format = "other"; 20 ··· 22 23 src = fetchurl { 24 url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz"; 25 - hash = "sha256-4TAtzA8kUbZDgNzA3TuCc1eV6JUdyBLZONi6kfOIFj4="; 26 }; 27 28 # Python 2.x is not supported.
··· 14 15 buildPythonPackage rec { 16 pname = "gst-python"; 17 + version = "1.22.5"; 18 19 format = "other"; 20 ··· 22 23 src = fetchurl { 24 url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz"; 25 + hash = "sha256-vwUjJBXPYBgUKuUd07iXu3NDJoe1zheGv0btximM5bA="; 26 }; 27 28 # Python 2.x is not supported.
+2 -2
pkgs/development/python-modules/gtimelog/default.nix
··· 15 sha256 = "0qv2kv7vc3qqlzxsisgg31cmrkkqgnmxspbj10c5fhdmwzzwi0i9"; 16 }; 17 18 - nativeBuildInputs = [ makeWrapper ]; 19 buildInputs = [ 20 - glibcLocales gobject-introspection gtk3 libsoup libsecret 21 ]; 22 23 propagatedBuildInputs = [
··· 15 sha256 = "0qv2kv7vc3qqlzxsisgg31cmrkkqgnmxspbj10c5fhdmwzzwi0i9"; 16 }; 17 18 + nativeBuildInputs = [ makeWrapper gobject-introspection ]; 19 buildInputs = [ 20 + glibcLocales gtk3 libsoup libsecret 21 ]; 22 23 propagatedBuildInputs = [
+5 -11
pkgs/development/python-modules/gunicorn/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , fetchpatch 5 , pythonOlder 6 , eventlet 7 , gevent ··· 11 12 buildPythonPackage rec { 13 pname = "gunicorn"; 14 - version = "20.1.0"; 15 disabled = pythonOlder "3.5"; 16 17 src = fetchFromGitHub { 18 owner = "benoitc"; 19 repo = "gunicorn"; 20 rev = version; 21 - hash = "sha256-xdNHm8NQWlAlflxof4cz37EoM74xbWrNaf6jlwwzHv4="; 22 }; 23 24 - patches = [ 25 - (fetchpatch { 26 - # fix eventlet 0.30.3+ compability 27 - url = "https://github.com/benoitc/gunicorn/commit/6a8ebb4844b2f28596ffe7421eb9f7d08c8dc4d8.patch"; 28 - hash = "sha256-+iApgohzPZ/cHTGBNb7XkqLaHOVVPF26BnPUsvISoZw="; 29 - }) 30 - ]; 31 - 32 postPatch = '' 33 substituteInPlace setup.cfg \ 34 --replace "--cov=gunicorn --cov-report=xml" "" ··· 36 37 propagatedBuildInputs = [ 38 setuptools 39 ]; 40 41 nativeCheckInputs = [
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , packaging 5 , pythonOlder 6 , eventlet 7 , gevent ··· 11 12 buildPythonPackage rec { 13 pname = "gunicorn"; 14 + version = "21.2.0"; 15 + format = "setuptools"; 16 disabled = pythonOlder "3.5"; 17 18 src = fetchFromGitHub { 19 owner = "benoitc"; 20 repo = "gunicorn"; 21 rev = version; 22 + hash = "sha256-xP7NNKtz3KNrhcAc00ovLZRx2h6ZqHbwiFOpCiuwf98="; 23 }; 24 25 postPatch = '' 26 substituteInPlace setup.cfg \ 27 --replace "--cov=gunicorn --cov-report=xml" "" ··· 29 30 propagatedBuildInputs = [ 31 setuptools 32 + packaging 33 ]; 34 35 nativeCheckInputs = [
+7 -11
pkgs/development/python-modules/hatchling/default.nix
··· 5 6 # runtime 7 , editables 8 - , importlib-metadata # < 3.8 9 , packaging 10 , pathspec 11 , pluggy 12 , tomli 13 14 # tests 15 , build ··· 18 , virtualenv 19 }: 20 21 - let 22 pname = "hatchling"; 23 - version = "1.13.0"; 24 - in 25 - buildPythonPackage { 26 - inherit pname version; 27 format = "pyproject"; 28 29 src = fetchPypi { 30 inherit pname version; 31 - hash = "sha256-+NJ1osxyBzUoa3wuK8NdoFdh5tNpXC+kFlUDlfEMU8c="; 32 }; 33 34 - # listed in backend/src/hatchling/ouroboros.py 35 propagatedBuildInputs = [ 36 editables 37 packaging 38 pathspec 39 pluggy 40 - ] ++ lib.optionals (pythonOlder "3.8") [ 41 - importlib-metadata 42 ] ++ lib.optionals (pythonOlder "3.11") [ 43 tomli 44 ]; ··· 54 # listed in /backend/tests/downstream/requirements.txt 55 nativeCheckInputs = [ 56 build 57 - packaging 58 requests 59 virtualenv 60 ];
··· 5 6 # runtime 7 , editables 8 , packaging 9 , pathspec 10 , pluggy 11 , tomli 12 + , trove-classifiers 13 14 # tests 15 , build ··· 18 , virtualenv 19 }: 20 21 + buildPythonPackage rec { 22 pname = "hatchling"; 23 + version = "1.18.0"; 24 format = "pyproject"; 25 + disabled = pythonOlder "3.8"; 26 27 src = fetchPypi { 28 inherit pname version; 29 + hash = "sha256-UOmcMRDOCvw/e9ut/xxxwXdY5HZzHCdgeUDPpmhkico="; 30 }; 31 32 + # listed in backend/pyproject.toml 33 propagatedBuildInputs = [ 34 editables 35 packaging 36 pathspec 37 pluggy 38 + trove-classifiers 39 ] ++ lib.optionals (pythonOlder "3.11") [ 40 tomli 41 ]; ··· 51 # listed in /backend/tests/downstream/requirements.txt 52 nativeCheckInputs = [ 53 build 54 requests 55 virtualenv 56 ];
+4
pkgs/development/python-modules/hologram/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , jsonschema 5 , pytestCheckHook 6 , python-dateutil ··· 11 pname = "hologram"; 12 version = "0.0.16"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "dbt-labs";
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , pythonAtLeast 5 , jsonschema 6 , pytestCheckHook 7 , python-dateutil ··· 12 pname = "hologram"; 13 version = "0.0.16"; 14 format = "pyproject"; 15 + 16 + # ValueError: mutable default <class 'tests.conftest.Point'> for field a is not allowed: use default_factory 17 + disabled = pythonAtLeast "3.11"; 18 19 src = fetchFromGitHub { 20 owner = "dbt-labs";
+38
pkgs/development/python-modules/html5tagger/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , setuptools-scm 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "html5tagger"; 9 + version = "1.3.0"; 10 + format = "setuptools"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "sanic-org"; 14 + repo = "html5tagger"; 15 + rev = "v${version}"; 16 + hash = "sha256-Or0EizZC9FMjTcbgecDvgGB09KNGyxHreSDojgB7ysg="; 17 + }; 18 + 19 + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 20 + 21 + nativeBuildInputs = [ 22 + setuptools-scm 23 + ]; 24 + 25 + # no tests 26 + doCheck = false; 27 + 28 + pythonImportsCheck = [ 29 + "html5tagger" 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "Create HTML documents from Python"; 34 + homepage = "https://github.com/sanic-org/html5tagger"; 35 + license = licenses.unlicense; 36 + maintainers = with maintainers; [ ]; 37 + }; 38 + }
+10 -2
pkgs/development/python-modules/httpcore/default.nix
··· 13 , pythonOlder 14 , sniffio 15 , socksio 16 }: 17 18 buildPythonPackage rec { 19 pname = "httpcore"; 20 - version = "0.16.3"; 21 format = "setuptools"; 22 23 disabled = pythonOlder "3.7"; ··· 26 owner = "encode"; 27 repo = pname; 28 rev = "refs/tags/${version}"; 29 - hash = "sha256-3bC97CTZi6An+owjoJF7Irtr7ONbP8RtNdTIGJRy0Ng="; 30 }; 31 32 propagatedBuildInputs = [ ··· 70 71 __darwinAllowLocalNetworking = true; 72 73 meta = with lib; { 74 description = "A minimal low-level HTTP client"; 75 homepage = "https://github.com/encode/httpcore"; 76 license = licenses.bsd3;
··· 13 , pythonOlder 14 , sniffio 15 , socksio 16 + # for passthru.tests 17 + , httpx 18 + , httpx-socks 19 }: 20 21 buildPythonPackage rec { 22 pname = "httpcore"; 23 + version = "0.17.2"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; ··· 29 owner = "encode"; 30 repo = pname; 31 rev = "refs/tags/${version}"; 32 + hash = "sha256-qAoORhzBbjXxgtzTqbAxWBxrohzfwDWm5mxxrgeXt48="; 33 }; 34 35 propagatedBuildInputs = [ ··· 73 74 __darwinAllowLocalNetworking = true; 75 76 + passthru.tests = { 77 + inherit httpx httpx-socks; 78 + }; 79 + 80 meta = with lib; { 81 + changelog = "https://github.com/encode/httpcore/releases/tag/${version}"; 82 description = "A minimal low-level HTTP client"; 83 homepage = "https://github.com/encode/httpcore"; 84 license = licenses.bsd3;
+2 -2
pkgs/development/python-modules/httpx/default.nix
··· 29 30 buildPythonPackage rec { 31 pname = "httpx"; 32 - version = "0.23.3"; 33 format = "pyproject"; 34 35 disabled = pythonOlder "3.7"; ··· 38 owner = "encode"; 39 repo = pname; 40 rev = "refs/tags/${version}"; 41 - hash = "sha256-ZLRzkyoFbAY2Xs1ORWBqvc2gpKovg9wRs/RtAryOcVg="; 42 }; 43 44 nativeBuildInputs = [
··· 29 30 buildPythonPackage rec { 31 pname = "httpx"; 32 + version = "0.24.1"; 33 format = "pyproject"; 34 35 disabled = pythonOlder "3.7"; ··· 38 owner = "encode"; 39 repo = pname; 40 rev = "refs/tags/${version}"; 41 + hash = "sha256-qG6fgijNgQKjpSG6sg0+0yqeAU6qV7czR8NgWe63LIg="; 42 }; 43 44 nativeBuildInputs = [
+33 -11
pkgs/development/python-modules/joblib/default.nix
··· 1 { lib 2 - , pythonAtLeast 3 , pythonOlder 4 - , buildPythonPackage 5 , fetchPypi 6 , stdenv 7 - , numpydoc 8 - , pytestCheckHook 9 - , lz4 10 , setuptools 11 - , sphinx 12 , psutil 13 }: 14 15 16 buildPythonPackage rec { 17 pname = "joblib"; 18 - version = "1.2.0"; 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-4c7kp55K8iiBFk8hjUMR9gB0GX+3B+CC6AO2H20TcBg="; 24 }; 25 26 - nativeCheckInputs = [ sphinx numpydoc pytestCheckHook psutil ]; 27 - propagatedBuildInputs = [ lz4 setuptools ]; 28 29 - pytestFlagsArray = [ "joblib/test" ]; 30 disabledTests = [ 31 "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 32 "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests ··· 36 ]; 37 38 meta = with lib; { 39 description = "Lightweight pipelining: using Python functions as pipeline jobs"; 40 homepage = "https://joblib.readthedocs.io/"; 41 license = licenses.bsd3;
··· 1 { lib 2 + , buildPythonPackage 3 , pythonOlder 4 , fetchPypi 5 , stdenv 6 + 7 + # build-system 8 , setuptools 9 + 10 + # propagates (optional, but unspecified) 11 + # https://github.com/joblib/joblib#dependencies 12 + , lz4 13 , psutil 14 + 15 + # tests 16 + , pytestCheckHook 17 + , threadpoolctl 18 }: 19 20 21 buildPythonPackage rec { 22 pname = "joblib"; 23 + version = "1.3.1"; 24 + format = "pyproject"; 25 + 26 disabled = pythonOlder "3.7"; 27 28 src = fetchPypi { 29 inherit pname version; 30 + hash = "sha256-H5N5Bt9lMpupgBPclpL+IqTF5KZIES3lAFCLGKIbQeM="; 31 }; 32 33 + nativeBuildInputs = [ 34 + setuptools 35 + ]; 36 37 + propagatedBuildInputs = [ 38 + lz4 39 + psutil 40 + ]; 41 + 42 + nativeCheckInputs = [ 43 + pytestCheckHook 44 + threadpoolctl 45 + ]; 46 + 47 + pytestFlagsArray = [ 48 + "joblib/test" 49 + ]; 50 + 51 disabledTests = [ 52 "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 53 "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests ··· 57 ]; 58 59 meta = with lib; { 60 + changelog = "https://github.com/joblib/joblib/releases/tag/${version}"; 61 description = "Lightweight pipelining: using Python functions as pipeline jobs"; 62 homepage = "https://joblib.readthedocs.io/"; 63 license = licenses.bsd3;
+20 -8
pkgs/development/python-modules/jsonschema-spec/default.nix
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pythonOlder 5 , poetry-core 6 - , jsonschema 7 , pathable 8 , pyyaml 9 - , typing-extensions 10 , pytestCheckHook 11 }: 12 13 buildPythonPackage rec { 14 pname = "jsonschema-spec"; 15 - version = "0.1.4"; 16 format = "pyproject"; 17 - disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "p1c2u"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-kLCV9WPWGrVgpbueafMVqtGmj3ifrBzTChE2kyxpyZk="; 24 }; 25 26 postPatch = '' 27 - sed -i "/--cov/d" pyproject.toml 28 ''; 29 30 nativeBuildInputs = [ ··· 32 ]; 33 34 propagatedBuildInputs = [ 35 - jsonschema 36 pathable 37 pyyaml 38 - typing-extensions 39 ]; 40 41 nativeCheckInputs = [ 42 pytestCheckHook 43 ]; 44 45 meta = with lib; {
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pythonOlder 5 + 6 + # build 7 , poetry-core 8 + 9 + # propagates 10 , pathable 11 , pyyaml 12 + , referencing 13 + , requests 14 + 15 + # tests 16 , pytestCheckHook 17 + , responses 18 }: 19 20 buildPythonPackage rec { 21 pname = "jsonschema-spec"; 22 + version = "0.2.3"; 23 format = "pyproject"; 24 + 25 + disabled = pythonOlder "3.8"; 26 27 src = fetchFromGitHub { 28 owner = "p1c2u"; 29 repo = pname; 30 rev = "refs/tags/${version}"; 31 + hash = "sha256-Sa97DwPnGMLmT00hVdkoGO7C0vrvtwxvUvv9lq4nCY4="; 32 }; 33 34 postPatch = '' 35 + sed -i "/^--cov/d" pyproject.toml 36 + 37 + substituteInPlace pyproject.toml \ 38 + --replace 'referencing = ">=0.28.0,<0.30.0"' 'referencing = ">=0.28.0"' 39 ''; 40 41 nativeBuildInputs = [ ··· 43 ]; 44 45 propagatedBuildInputs = [ 46 pathable 47 pyyaml 48 + referencing 49 + requests 50 ]; 51 52 nativeCheckInputs = [ 53 pytestCheckHook 54 + responses 55 ]; 56 57 meta = with lib; {
+50
pkgs/development/python-modules/jsonschema-specifications/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , hatch-vcs 5 + , hatchling 6 + , importlib-resources 7 + , pytestCheckHook 8 + , pythonOlder 9 + , referencing 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "jsonschema-specifications"; 14 + version = "2023.7.1"; 15 + format = "pyproject"; 16 + 17 + disabled = pythonOlder "3.8"; 18 + 19 + src = fetchPypi { 20 + pname = "jsonschema_specifications"; 21 + inherit version; 22 + hash = "sha256-yRpQQE6Iofa6QGNneOLuCPbiTFYT/kxTrCRXilp/crs="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + hatch-vcs 27 + hatchling 28 + ]; 29 + 30 + propagatedBuildInputs = [ 31 + referencing 32 + ] ++ lib.optionals (pythonOlder "3.9") [ 33 + importlib-resources 34 + ]; 35 + 36 + nativeCheckInputs = [ 37 + pytestCheckHook 38 + ]; 39 + 40 + pythonImportsCheck = [ 41 + "jsonschema_specifications" 42 + ]; 43 + 44 + meta = with lib; { 45 + description = "Support files exposing JSON from the JSON Schema specifications"; 46 + homepage = "https://github.com/python-jsonschema/jsonschema-specifications"; 47 + license = licenses.mit; 48 + maintainers = with maintainers; [ SuperSandro2000 ]; 49 + }; 50 + }
+12 -18
pkgs/development/python-modules/jsonschema/default.nix
··· 5 , hatch-fancy-pypi-readme 6 , hatch-vcs 7 , hatchling 8 - , importlib-metadata 9 , importlib-resources 10 , pkgutil-resolve-name 11 - , pyrsistent 12 , pythonOlder 13 - , twisted 14 - , typing-extensions 15 16 # optionals 17 , fqdn ··· 27 28 buildPythonPackage rec { 29 pname = "jsonschema"; 30 - version = "4.17.3"; 31 format = "pyproject"; 32 33 - disabled = pythonOlder "3.7"; 34 35 src = fetchPypi { 36 inherit pname version; 37 - hash = "sha256-D4ZEN6uLYHa6ZwdFPvj5imoNUSqA6T+KvbZ29zfstg0="; 38 }; 39 40 postPatch = '' ··· 49 50 propagatedBuildInputs = [ 51 attrs 52 - pyrsistent 53 - ] ++ lib.optionals (pythonOlder "3.8") [ 54 - importlib-metadata 55 - typing-extensions 56 ] ++ lib.optionals (pythonOlder "3.9") [ 57 importlib-resources 58 pkgutil-resolve-name ··· 82 }; 83 84 nativeCheckInputs = [ 85 - twisted 86 ]; 87 88 - checkPhase = '' 89 - export JSON_SCHEMA_TEST_SUITE=json 90 - trial jsonschema 91 - ''; 92 - 93 pythonImportsCheck = [ 94 "jsonschema" 95 ]; 96 97 meta = with lib; { 98 - description = "An implementation of JSON Schema validation for Python"; 99 homepage = "https://github.com/python-jsonschema/jsonschema"; 100 license = licenses.mit; 101 maintainers = with maintainers; [ domenkozar ];
··· 5 , hatch-fancy-pypi-readme 6 , hatch-vcs 7 , hatchling 8 , importlib-resources 9 + , jsonschema-specifications 10 , pkgutil-resolve-name 11 + , pytestCheckHook 12 , pythonOlder 13 + , referencing 14 + , rpds-py 15 16 # optionals 17 , fqdn ··· 27 28 buildPythonPackage rec { 29 pname = "jsonschema"; 30 + version = "4.18.4"; 31 format = "pyproject"; 32 33 + disabled = pythonOlder "3.8"; 34 35 src = fetchPypi { 36 inherit pname version; 37 + hash = "sha256-+zZCc1OZ+pWMDSqtcFeQFVRZbGM0n09rKDxJPPaSol0="; 38 }; 39 40 postPatch = '' ··· 49 50 propagatedBuildInputs = [ 51 attrs 52 + jsonschema-specifications 53 + referencing 54 + rpds-py 55 ] ++ lib.optionals (pythonOlder "3.9") [ 56 importlib-resources 57 pkgutil-resolve-name ··· 81 }; 82 83 nativeCheckInputs = [ 84 + pytestCheckHook 85 ]; 86 87 pythonImportsCheck = [ 88 "jsonschema" 89 ]; 90 91 meta = with lib; { 92 + description = "An implementation of JSON Schema validation"; 93 homepage = "https://github.com/python-jsonschema/jsonschema"; 94 license = licenses.mit; 95 maintainers = with maintainers; [ domenkozar ];
+4
pkgs/development/python-modules/jupyter-collaboration/default.nix
··· 61 pytestCheckHook 62 ]; 63 64 preCheck = '' 65 export HOME=$TEMP 66 '';
··· 61 pytestCheckHook 62 ]; 63 64 + pytestFlagsArray = [ 65 + "-W" "ignore::DeprecationWarning" 66 + ]; 67 + 68 preCheck = '' 69 export HOME=$TEMP 70 '';
+2
pkgs/development/python-modules/jupyter-contrib-nbextensions/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , jupyter-contrib-core 5 , jupyter-highlight-selected-word 6 , jupyter-nbextensions-configurator ··· 19 }; 20 21 propagatedBuildInputs = [ 22 jupyter-contrib-core 23 jupyter-highlight-selected-word 24 jupyter-nbextensions-configurator
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , ipython_genutils 5 , jupyter-contrib-core 6 , jupyter-highlight-selected-word 7 , jupyter-nbextensions-configurator ··· 20 }; 21 22 propagatedBuildInputs = [ 23 + ipython_genutils 24 jupyter-contrib-core 25 jupyter-highlight-selected-word 26 jupyter-nbextensions-configurator
+5
pkgs/development/python-modules/jupyter-server/default.nix
··· 82 flaky 83 ]; 84 85 preCheck = '' 86 export HOME=$(mktemp -d) 87 export PATH=$out/bin:$PATH 88 ''; 89 90 disabledTests = [ 91 "test_cull_idle" 92 "test_server_extension_list" 93 ] ++ lib.optionals stdenv.isDarwin [
··· 82 flaky 83 ]; 84 85 + pytestFlagsArray = [ 86 + "-W" "ignore::DeprecationWarning" 87 + ]; 88 + 89 preCheck = '' 90 export HOME=$(mktemp -d) 91 export PATH=$out/bin:$PATH 92 ''; 93 94 disabledTests = [ 95 + "test_server_extension_list" 96 "test_cull_idle" 97 "test_server_extension_list" 98 ] ++ lib.optionals stdenv.isDarwin [
+4 -4
pkgs/development/python-modules/keyring/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "keyring"; 17 - version = "23.13.1"; 18 format = "pyproject"; 19 - disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-ui4VqbNeIZCNCq9OCkesxS1q4zRE3w2itJ1BpG721ng="; 24 }; 25 26 nativeBuildInputs = [ ··· 54 meta = with lib; { 55 description = "Store and access your passwords safely"; 56 homepage = "https://github.com/jaraco/keyring"; 57 - changelog = "https://github.com/jaraco/keyring/blob/v${version}/CHANGES.rst"; 58 license = licenses.mit; 59 maintainers = with maintainers; [ lovek323 dotlambda ]; 60 platforms = platforms.unix;
··· 14 15 buildPythonPackage rec { 16 pname = "keyring"; 17 + version = "24.2.0"; 18 format = "pyproject"; 19 + disabled = pythonOlder "3.8"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-ygdGoZ7EISGfTXE/hI+il6ZhqKjBUEhn5Vv7XgkJFQk="; 24 }; 25 26 nativeBuildInputs = [ ··· 54 meta = with lib; { 55 description = "Store and access your passwords safely"; 56 homepage = "https://github.com/jaraco/keyring"; 57 + changelog = "https://github.com/jaraco/keyring/blob/v${version}/NEWS.rst"; 58 license = licenses.mit; 59 maintainers = with maintainers; [ lovek323 dotlambda ]; 60 platforms = platforms.unix;
+7 -13
pkgs/development/python-modules/kombu/default.nix
··· 4 , azure-servicebus 5 , backports-zoneinfo 6 , buildPythonPackage 7 - , cached-property 8 , case 9 , fetchPypi 10 , hypothesis 11 - , importlib-metadata 12 , pyro4 13 , pytestCheckHook 14 , pythonOlder 15 , pytz 16 , vine 17 }: 18 19 buildPythonPackage rec { 20 pname = "kombu"; 21 - version = "5.3.0"; 22 format = "setuptools"; 23 24 - disabled = pythonOlder "3.7"; 25 26 src = fetchPypi { 27 inherit pname version; 28 - hash = "sha256-0ITsH5b3p8N7qegWgjvbwI8Px92zpb5VWAXmkhAil9g="; 29 }; 30 31 - postPatch = '' 32 - substituteInPlace requirements/test.txt \ 33 - --replace "pytz>dev" "pytz" 34 - ''; 35 - 36 propagatedBuildInputs = [ 37 amqp 38 vine 39 ] ++ lib.optionals (pythonOlder "3.9") [ 40 backports-zoneinfo 41 - ] ++ lib.optionals (pythonOlder "3.8") [ 42 - cached-property 43 - importlib-metadata 44 ]; 45 46 nativeCheckInputs = [ ··· 58 ]; 59 60 meta = with lib; { 61 description = "Messaging library for Python"; 62 homepage = "https://github.com/celery/kombu"; 63 license = licenses.bsd3;
··· 4 , azure-servicebus 5 , backports-zoneinfo 6 , buildPythonPackage 7 , case 8 , fetchPypi 9 , hypothesis 10 , pyro4 11 , pytestCheckHook 12 , pythonOlder 13 , pytz 14 , vine 15 + , typing-extensions 16 }: 17 18 buildPythonPackage rec { 19 pname = "kombu"; 20 + version = "5.3.1"; 21 format = "setuptools"; 22 23 + disabled = pythonOlder "3.8"; 24 25 src = fetchPypi { 26 inherit pname version; 27 + hash = "sha256-+9dXLZLAv3HBEqa0UWMVPepae2pwHsFrVown0P0jcPI="; 28 }; 29 30 propagatedBuildInputs = [ 31 amqp 32 vine 33 + ] ++ lib.optionals (pythonOlder "3.10") [ 34 + typing-extensions 35 ] ++ lib.optionals (pythonOlder "3.9") [ 36 backports-zoneinfo 37 ]; 38 39 nativeCheckInputs = [ ··· 51 ]; 52 53 meta = with lib; { 54 + changelog = "https://github.com/celery/kombu/releases/tag/v${version}"; 55 description = "Messaging library for Python"; 56 homepage = "https://github.com/celery/kombu"; 57 license = licenses.bsd3;
+12 -3
pkgs/development/python-modules/ldappool/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , pbr, python-ldap, prettytable, fixtures, testresources, testtools }: 3 4 buildPythonPackage rec { 5 pname = "ldappool"; ··· 20 21 nativeBuildInputs = [ pbr ]; 22 23 - propagatedBuildInputs = [ python-ldap prettytable ]; 24 25 nativeCheckInputs = [ fixtures testresources testtools ]; 26
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pbr 5 + , python-ldap 6 + , prettytable 7 + , six 8 + , fixtures 9 + , testresources 10 + , testtools 11 + }: 12 13 buildPythonPackage rec { 14 pname = "ldappool"; ··· 29 30 nativeBuildInputs = [ pbr ]; 31 32 + propagatedBuildInputs = [ python-ldap prettytable six ]; 33 34 nativeCheckInputs = [ fixtures testresources testtools ]; 35
+2 -2
pkgs/development/python-modules/levenshtein/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "levenshtein"; 16 - version = "0.21.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.6"; ··· 22 owner = "maxbachmann"; 23 repo = "Levenshtein"; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-j28OQkJymkh6tIGYLoZLad7OUUImjZqXdqM2zU3haac="; 26 }; 27 28 nativeBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "levenshtein"; 16 + version = "0.21.1"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.6"; ··· 22 owner = "maxbachmann"; 23 repo = "Levenshtein"; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-I1kVGbZI1hQRNv0e44giWiMqmeqaqFZks20IyFQ9VIU="; 26 }; 27 28 nativeBuildInputs = [
+11 -5
pkgs/development/python-modules/llvmlite/default.nix
··· 1 { lib 2 , stdenv 3 - , fetchPypi 4 , buildPythonPackage 5 , python 6 , llvm ··· 12 13 buildPythonPackage rec { 14 pname = "llvmlite"; 15 - version = "0.39.1"; 16 17 disabled = isPyPy || !isPy3k; 18 19 - src = fetchPypi { 20 - inherit pname version; 21 - hash = "sha256-tDq9fILoBSYcQl1QM1vppsT4QmTjTW1uR1IHMAAF1XI="; 22 }; 23 24 nativeBuildInputs = [ llvm ];
··· 1 { lib 2 , stdenv 3 + , fetchFromGitHub 4 , buildPythonPackage 5 , python 6 , llvm ··· 12 13 buildPythonPackage rec { 14 pname = "llvmlite"; 15 + # The main dependency of llvmlite is numba, which we currently package an 16 + # untagged version of it (for numpy>1.25 support). That numba version 17 + # requires at least this version of llvmlite (also not yet officially 18 + # released, but at least tagged). 19 + version = "0.41.0dev0"; 20 21 disabled = isPyPy || !isPy3k; 22 23 + src = fetchFromGitHub { 24 + owner = "numba"; 25 + repo = "llvmlite"; 26 + rev = "v${version}"; 27 + hash = "sha256-fsH+rqouweNENU+YlWr7m0bC0YdreQLNp1n2rwrOiFw="; 28 }; 29 30 nativeBuildInputs = [ llvm ];
+2 -2
pkgs/development/python-modules/lxml/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "lxml"; 11 - version = "4.9.2"; 12 13 src = fetchFromGitHub { 14 owner = pname; 15 repo = pname; 16 rev = "refs/tags/lxml-${version}"; 17 - hash = "sha256-IHuTlcDbrZHvS6Gtx48IkznVU+9WxZT9XHUZf8M1WOE="; 18 }; 19 20 # setuptoolsBuildPhase needs dependencies to be passed through nativeBuildInputs
··· 8 9 buildPythonPackage rec { 10 pname = "lxml"; 11 + version = "4.9.3-3"; 12 13 src = fetchFromGitHub { 14 owner = pname; 15 repo = pname; 16 rev = "refs/tags/lxml-${version}"; 17 + hash = "sha256-Vrizi+6jUUEx7qODU4PAH5ZmvBIyT9H18+QpYB0m1f4="; 18 }; 19 20 # setuptoolsBuildPhase needs dependencies to be passed through nativeBuildInputs
+2 -2
pkgs/development/python-modules/markdown/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "markdown"; 14 - version = "3.4.3"; 15 16 disabled = pythonOlder "3.7"; 17 ··· 21 owner = "Python-Markdown"; 22 repo = "markdown"; 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-o2MDsrSkR0fMA5I8AoQcJrpwNGO5lXJn8O47tQN7U6o="; 25 }; 26 27 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "markdown"; 14 + version = "3.4.4"; 15 16 disabled = pythonOlder "3.7"; 17 ··· 21 owner = "Python-Markdown"; 22 repo = "markdown"; 23 rev = "refs/tags/${version}"; 24 + hash = "sha256-5PIIhbJVsotGwZ3BQ4x0I7WjgnGF3opNrn8J+xZCflg="; 25 }; 26 27 nativeBuildInputs = [
+8 -1
pkgs/development/python-modules/material-color-utilities/default.nix
··· 1 - { stdenv, lib, buildPythonPackage, fetchPypi, pillow, regex }: 2 3 buildPythonPackage rec { 4 pname = "material-color-utilities-python"; ··· 8 inherit pname version; 9 sha256 = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64="; 10 }; 11 12 propagatedBuildInputs = [ 13 pillow
··· 1 + { stdenv, lib, buildPythonPackage, fetchPypi, pythonRelaxDepsHook, pillow, regex }: 2 3 buildPythonPackage rec { 4 pname = "material-color-utilities-python"; ··· 8 inherit pname version; 9 sha256 = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64="; 10 }; 11 + 12 + nativeBuildInputs = [ 13 + pythonRelaxDepsHook 14 + ]; 15 + pythonRelaxDeps = [ 16 + "Pillow" 17 + ]; 18 19 propagatedBuildInputs = [ 20 pillow
+4 -3
pkgs/development/python-modules/matplotlib/default.nix
··· 76 in 77 78 buildPythonPackage rec { 79 - version = "3.7.1"; 80 pname = "matplotlib"; 81 format = "pyproject"; 82 ··· 84 85 src = fetchPypi { 86 inherit pname version; 87 - hash = "sha256-e3MwXyXqtFQb1+4Llth+U66cnxgjvlZZuAbNhXhv6II="; 88 }; 89 90 env.XDG_RUNTIME_DIR = "/tmp"; ··· 121 setuptools 122 setuptools-scm 123 numpy 124 ]; 125 126 buildInputs = [ ··· 131 ghostscript 132 ] ++ lib.optionals enableGtk3 [ 133 cairo 134 - gobject-introspection 135 gtk3 136 ] ++ lib.optionals enableTk [ 137 libX11
··· 76 in 77 78 buildPythonPackage rec { 79 + version = "3.7.2"; 80 pname = "matplotlib"; 81 format = "pyproject"; 82 ··· 84 85 src = fetchPypi { 86 inherit pname version; 87 + hash = "sha256-qM25Hd2wRDa9LwmLj99LgTUuaM9NLGdW/MQUeRB2Vps="; 88 }; 89 90 env.XDG_RUNTIME_DIR = "/tmp"; ··· 121 setuptools 122 setuptools-scm 123 numpy 124 + ] ++ lib.optionals enableGtk3 [ 125 + gobject-introspection 126 ]; 127 128 buildInputs = [ ··· 133 ghostscript 134 ] ++ lib.optionals enableGtk3 [ 135 cairo 136 gtk3 137 ] ++ lib.optionals enableTk [ 138 libX11
+6
pkgs/development/python-modules/meson-python/add-build-flags.sh
···
··· 1 + # Add all of mesonFlags to -Csetup-args for pypa builds 2 + for f in $mesonFlags; do 3 + pypaBuildFlags+=" -Csetup-args=$f" 4 + # This requires pip>23.0.1, see: https://meson-python.readthedocs.io/en/latest/how-to-guides/config-settings.html 5 + pipBuildFlags+=" --config-settings=setup-args=$f" 6 + done
+5 -2
pkgs/development/python-modules/meson-python/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "meson-python"; 16 - version = "0.12.1"; 17 format = "pyproject"; 18 19 src = fetchPypi { 20 inherit version; 21 pname = "meson_python"; 22 - hash = "sha256-PVs+WB1wpYqXucEWp16Xp2zEtMfnX6Blj8g5I3Hi8sI="; 23 }; 24 25 nativeBuildInputs = [ ··· 38 tomli 39 ] ++ lib.optionals (pythonOlder "3.10") [ 40 typing-extensions 41 ]; 42 43 # Ugly work-around. Drop ninja dependency.
··· 13 14 buildPythonPackage rec { 15 pname = "meson-python"; 16 + version = "0.13.1"; 17 format = "pyproject"; 18 19 src = fetchPypi { 20 inherit version; 21 pname = "meson_python"; 22 + hash = "sha256-Y7MXAAFCXEL6TP7a25BRy9KJJf+O7XxA02ugCZ48dhg="; 23 }; 24 25 nativeBuildInputs = [ ··· 38 tomli 39 ] ++ lib.optionals (pythonOlder "3.10") [ 40 typing-extensions 41 + ]; 42 + setupHooks = [ 43 + ./add-build-flags.sh 44 ]; 45 46 # Ugly work-around. Drop ninja dependency.
+7 -2
pkgs/development/python-modules/mlflow/default.nix
··· 38 39 buildPythonPackage rec { 40 pname = "mlflow"; 41 - version = "2.4.2"; 42 format = "setuptools"; 43 44 disabled = pythonOlder "3.7"; 45 46 src = fetchPypi { 47 inherit pname version; 48 - hash = "sha256-CxpxsP9Gedzo/yrpcz6ZbsC2wQbbk0EuDfhgb3kYZ8g="; 49 }; 50 51 # Remove currently broken dependency `shap`, a model explainability package. 52 # This seems quite unprincipled especially with tests not being enabled,
··· 38 39 buildPythonPackage rec { 40 pname = "mlflow"; 41 + version = "2.5.0"; 42 format = "setuptools"; 43 44 disabled = pythonOlder "3.7"; 45 46 src = fetchPypi { 47 inherit pname version; 48 + hash = "sha256-+ZKujqnHNQI0S69IxOxEeqnvv6iWW8CQho5hYyNPTrA="; 49 }; 50 + 51 + postPatch = '' 52 + substituteInPlace requirements/core-requirements.txt \ 53 + --replace "gunicorn<21" "gunicorn" 54 + ''; 55 56 # Remove currently broken dependency `shap`, a model explainability package. 57 # This seems quite unprincipled especially with tests not being enabled,
+1 -1
pkgs/development/python-modules/msgspec/default.nix
··· 17 owner = "jcrist"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-hxXywlDZoQ1DUL/03UngIdlHke8Ey4rDbEV4JKxiGps="; 21 }; 22 23 # Requires libasan to be accessible
··· 17 owner = "jcrist"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-IDu+Yu9BKk4/ITkNY6YLVmJ5zNR6F4LF1vj8QIEW108="; 21 }; 22 23 # Requires libasan to be accessible
+13 -2
pkgs/development/python-modules/mypy/default.nix
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchFromGitHub 5 , pythonOlder 6 7 # build-system ··· 31 32 buildPythonPackage rec { 33 pname = "mypy"; 34 - version = "1.3.0"; 35 format = "pyproject"; 36 37 disabled = pythonOlder "3.7"; ··· 40 owner = "python"; 41 repo = "mypy"; 42 rev = "refs/tags/v${version}"; 43 - hash = "sha256-dfKuIyzgZo5hAZHighpXH78dHJ1PMbyCakyxF34CnMQ="; 44 }; 45 46 nativeBuildInputs = [ 47 mypy-extensions ··· 108 "mypy/test/testdaemon.py" 109 # fails to find setuptools 110 "mypyc/test/test_commandline.py" 111 ]; 112 113 meta = with lib; {
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , fetchpatch 6 , pythonOlder 7 8 # build-system ··· 32 33 buildPythonPackage rec { 34 pname = "mypy"; 35 + version = "1.4.1"; 36 format = "pyproject"; 37 38 disabled = pythonOlder "3.7"; ··· 41 owner = "python"; 42 repo = "mypy"; 43 rev = "refs/tags/v${version}"; 44 + hash = "sha256-2PeE/L9J6J0IuUpHZasemM8xxefNJrdzYnutgJjevWQ="; 45 }; 46 + 47 + patches = [ 48 + (fetchpatch { 49 + # pytest 7.4 compat 50 + url = "https://github.com/python/mypy/commit/0a020fa73cf5339a80d81c5b44e17116a5c5307e.patch"; 51 + hash = "sha256-3HQPo+V7T8Gr92clXAt5QJUJPmhjnGjQgFq0qR0whfw="; 52 + }) 53 + ]; 54 55 nativeBuildInputs = [ 56 mypy-extensions ··· 117 "mypy/test/testdaemon.py" 118 # fails to find setuptools 119 "mypyc/test/test_commandline.py" 120 + # fails to find hatchling 121 + "mypy/test/testpep561.py" 122 ]; 123 124 meta = with lib; {
+3 -5
pkgs/development/python-modules/nbformat/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "nbformat"; 18 - version = "5.7.3"; 19 - 20 - disabled = pythonOlder "3.7"; 21 - 22 format = "pyproject"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-SwIfyiTTp0e/TmJmlAM9eS1ZRwWCnl41sU7jNp+fZHc="; 27 }; 28 29 nativeBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "nbformat"; 18 + version = "5.9.1"; 19 format = "pyproject"; 20 + disabled = pythonOlder "3.8"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-On9S0EBjnL2KOJAhjIsP+5MhFYjFdEbJAJXjK6WIG10="; 25 }; 26 27 nativeBuildInputs = [
+4
pkgs/development/python-modules/notebook/default.nix
··· 50 pytestCheckHook 51 ]; 52 53 env = { 54 JUPYTER_PLATFORM_DIRS = 1; 55 };
··· 50 pytestCheckHook 51 ]; 52 53 + pytestFlagsArray = [ 54 + "-W" "ignore::DeprecationWarning" 55 + ]; 56 + 57 env = { 58 JUPYTER_PLATFORM_DIRS = 1; 59 };
+9
pkgs/development/python-modules/notus-scanner/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , paho-mqtt 5 , poetry-core 6 , psutil ··· 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-h+jZWjDvTfW9XjoGhWYX08hgJ/Qp64MEaqHHwnahnC4="; 27 }; 28 29 pythonRelaxDeps = [ 30 "python-gnupg"
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , fetchpatch 5 , paho-mqtt 6 , poetry-core 7 , psutil ··· 26 rev = "refs/tags/v${version}"; 27 hash = "sha256-h+jZWjDvTfW9XjoGhWYX08hgJ/Qp64MEaqHHwnahnC4="; 28 }; 29 + 30 + patches = [ 31 + (fetchpatch { 32 + name = "update-packaging-dependency.patch"; 33 + url = "https://github.com/greenbone/notus-scanner/commit/bfa7d3d2e63e250ff25a66c60b782eb9da0e89e7.patch"; 34 + hash = "sha256-hzS8TYBXDEq+cgWlp6fSOtSbyeX9EX2rURmnFMF5jN0="; 35 + }) 36 + ]; 37 38 pythonRelaxDeps = [ 39 "python-gnupg"
+6 -6
pkgs/development/python-modules/numba-scipy/default.nix
··· 6 , numba 7 , pytestCheckHook 8 , pythonOlder 9 }: 10 11 buildPythonPackage rec { ··· 25 numba 26 ]; 27 28 - postPatch = '' 29 - # https://github.com/numba/numba-scipy/pull/76 30 - substituteInPlace setup.py \ 31 - --replace "scipy>=0.16,<=1.7.3" "scipy>=0.16" 32 - ''; 33 - 34 nativeCheckInputs = [ 35 pytestCheckHook 36 ]; 37 38 pythonImportsCheck = [
··· 6 , numba 7 , pytestCheckHook 8 , pythonOlder 9 + , pythonRelaxDepsHook 10 }: 11 12 buildPythonPackage rec { ··· 26 numba 27 ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 + pythonRelaxDepsHook 32 + ]; 33 + pythonRelaxDeps = [ 34 + "scipy" 35 + "numba" 36 ]; 37 38 pythonImportsCheck = [
+21 -24
pkgs/development/python-modules/numba/default.nix
··· 2 , stdenv 3 , pythonAtLeast 4 , pythonOlder 5 - , fetchPypi 6 , python 7 , buildPythonPackage 8 , setuptools ··· 27 let 28 inherit (cudaPackages) cudatoolkit; 29 in buildPythonPackage rec { 30 - version = "0.56.4"; 31 pname = "numba"; 32 format = "setuptools"; 33 disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; 34 35 - src = fetchPypi { 36 - inherit pname version; 37 - hash = "sha256-Mtn+9BLIFIPX7+DOts9NMxD96LYkqc7MoA95BXOslu4="; 38 }; 39 - 40 - postPatch = '' 41 - substituteInPlace setup.py \ 42 - --replace 'max_numpy_run_version = "1.24"' 'max_numpy_run_version = "1.25"' 43 - substituteInPlace numba/__init__.py \ 44 - --replace "elif numpy_version > (1, 23):" "elif numpy_version > (1, 24):" 45 - ''; 46 - 47 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; 48 49 nativeBuildInputs = [ ··· 63 cudatoolkit.lib 64 ]; 65 66 - patches = [ 67 - # fix failure in test_cache_invalidate (numba.tests.test_caching.TestCache) 68 - # remove when upgrading past version 0.56 69 - (fetchpatch { 70 - name = "fix-test-cache-invalidate-readonly.patch"; 71 - url = "https://github.com/numba/numba/commit/993e8c424055a7677b2755b184fc9e07549713b9.patch"; 72 - hash = "sha256-IhIqRLmP8gazx+KWIyCxZrNLMT4jZT8CWD3KcH4KjOo="; 73 - }) 74 - # Backport numpy 1.24 support from https://github.com/numba/numba/pull/8691 75 - ./numpy-1.24.patch 76 - ] ++ lib.optionals cudaSupport [ 77 (substituteAll { 78 src = ./cuda_path.patch; 79 cuda_toolkit_path = cudatoolkit;
··· 2 , stdenv 3 , pythonAtLeast 4 , pythonOlder 5 + , fetchFromGitHub 6 , python 7 , buildPythonPackage 8 , setuptools ··· 27 let 28 inherit (cudaPackages) cudatoolkit; 29 in buildPythonPackage rec { 30 + # Using an untagged version, with numpy 1.25 support 31 + version = "unstable-2023-08-02"; 32 pname = "numba"; 33 format = "setuptools"; 34 disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; 35 36 + src = fetchFromGitHub { 37 + owner = "numba"; 38 + repo = "numba"; 39 + rev = "fcf94205335dcc6135d2e19c07bbef968d13610d"; 40 + # Upstream uses .gitattributes to inject information about the revision 41 + # hash and the refname into `numba/_version.py`, see: 42 + # 43 + # - https://git-scm.com/docs/gitattributes#_export_subst and 44 + # - https://github.com/numba/numba/blame/5ef7c86f76a6e8cc90e9486487294e0c34024797/numba/_version.py#L25-L31 45 + # 46 + # Hence this hash may change if GitHub / Git will change it's behavior. 47 + # Hopefully this will not happen until the next release. We are fairly sure 48 + # that upstream relies on those strings to be valid, that's why we don't 49 + # use `forceFetchGit = true;`.` If in the future we'll observe the hash 50 + # changes too often, we can always use forceFetchGit, and inject the 51 + # relevant strings ourselves, using `sed` commands, in extraPostFetch. 52 + hash = "sha256-Wm1sV4uS/Xkz1BkT2xNmwgBZS0X8YziC6jlbfolXGB8="; 53 }; 54 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; 55 56 nativeBuildInputs = [ ··· 70 cudatoolkit.lib 71 ]; 72 73 + patches = lib.optionals cudaSupport [ 74 (substituteAll { 75 src = ./cuda_path.patch; 76 cuda_toolkit_path = cudatoolkit;
+15 -24
pkgs/development/python-modules/numpy/default.nix
··· 39 }; 40 }; 41 }; 42 - in buildPythonPackage (rec { 43 pname = "numpy"; 44 - version = "1.24.2"; 45 format = "setuptools"; 46 disabled = pythonOlder "3.7"; 47 48 src = fetchPypi { 49 inherit pname version; 50 extension = "tar.gz"; 51 - hash = "sha256-ADqfUw6IDLLNF3y6GvciC5qkLe+cSvwqL8Pua+frKyI="; 52 }; 53 54 - patches = lib.optionals python.hasDistutilsCxxPatch [ 55 - # We patch cpython/distutils to fix https://bugs.python.org/issue1222585 56 - # Patching of numpy.distutils is needed to prevent it from undoing the 57 - # patch to distutils. 58 - ./numpy-distutils-C++.patch 59 - ] 60 - ++ lib.optionals stdenv.cc.isClang [ 61 # f2py.f90mod_rules generates code with invalid function pointer conversions, which are 62 # clang 16 makes an error by default. 63 (fetchpatch { 64 url = "https://github.com/numpy/numpy/commit/609fee4324f3521d81a3454f5fcc33abb0d3761e.patch"; 65 hash = "sha256-6Dbmf/RWvQJPTIjvchVaywHGcKCsgap/0wAp5WswuCo="; 66 }) 67 - ] 68 - ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ 69 - # Backport from 1.25. `platform.machine` returns `arm64` on aarch64-darwin, which causes 70 - # differing results between `_selected_real_kind_func` and Fortran’s `selected_real_kind`. 71 - (fetchpatch { 72 - url = "https://github.com/numpy/numpy/commit/afcedf4b63f4a94187e6995c2adea0da3bb18e83.patch"; 73 - hash = "sha256-cxBoimX5a9wC2qUIGAo5o/M2E9+eV63bV2/wLmfDYKg="; 74 - }) 75 - ] 76 - ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ 77 # Disable `numpy/core/tests/test_umath.py::TestComplexFunctions::test_loss_of_precision[complex256]` 78 # on x86_64-darwin because it fails under Rosetta 2 due to issues with trig functions and 79 # 80-bit long double complex numbers. 80 ./disable-failing-long-double-test-Rosetta-2.patch 81 ]; 82 83 postPatch = '' ··· 90 91 nativeBuildInputs = [ gfortran cython ]; 92 buildInputs = [ blas lapack ]; 93 94 # we default openblas to build with 64 threads 95 # if a machine has more than 64 threads, it will segfault ··· 137 license = lib.licenses.bsd3; 138 maintainers = with lib.maintainers; [ fridh ]; 139 }; 140 - } // lib.optionalAttrs stdenv.cc.isClang { 141 - # Causes `error: argument unused during compilation: '-fno-strict-overflow'` due to `-Werror`. 142 - hardeningDisable = [ "strictoverflow" ]; 143 - })
··· 39 }; 40 }; 41 }; 42 + in buildPythonPackage rec { 43 pname = "numpy"; 44 + version = "1.25.1"; 45 format = "setuptools"; 46 disabled = pythonOlder "3.7"; 47 48 src = fetchPypi { 49 inherit pname version; 50 extension = "tar.gz"; 51 + hash = "sha256-mjqfOmFIDMCGEXtCaovYaGnCE/xAcuYG8BxOS2brkr8="; 52 }; 53 54 + patches = [ 55 # f2py.f90mod_rules generates code with invalid function pointer conversions, which are 56 # clang 16 makes an error by default. 57 (fetchpatch { 58 url = "https://github.com/numpy/numpy/commit/609fee4324f3521d81a3454f5fcc33abb0d3761e.patch"; 59 hash = "sha256-6Dbmf/RWvQJPTIjvchVaywHGcKCsgap/0wAp5WswuCo="; 60 }) 61 + 62 # Disable `numpy/core/tests/test_umath.py::TestComplexFunctions::test_loss_of_precision[complex256]` 63 # on x86_64-darwin because it fails under Rosetta 2 due to issues with trig functions and 64 # 80-bit long double complex numbers. 65 ./disable-failing-long-double-test-Rosetta-2.patch 66 + ] 67 + # We patch cpython/distutils to fix https://bugs.python.org/issue1222585 68 + # Patching of numpy.distutils is needed to prevent it from undoing the 69 + # patch to distutils. 70 + ++ lib.optionals python.hasDistutilsCxxPatch [ 71 + ./numpy-distutils-C++.patch 72 ]; 73 74 postPatch = '' ··· 81 82 nativeBuildInputs = [ gfortran cython ]; 83 buildInputs = [ blas lapack ]; 84 + 85 + # Causes `error: argument unused during compilation: '-fno-strict-overflow'` due to `-Werror`. 86 + hardeningDisable = lib.optionals stdenv.cc.isClang [ "strictoverflow" ]; 87 88 # we default openblas to build with 64 threads 89 # if a machine has more than 64 threads, it will segfault ··· 131 license = lib.licenses.bsd3; 132 maintainers = with lib.maintainers; [ fridh ]; 133 }; 134 + }
+13 -13
pkgs/development/python-modules/objgraph/default.nix
··· 4 , graphviz 5 , graphvizPkgs 6 , isPyPy 7 - , pytestCheckHook 8 , pythonOlder 9 , substituteAll 10 }: ··· 14 version = "3.6.0"; 15 format = "setuptools"; 16 17 - disabled = pythonOlder "3.5" || isPyPy; 18 19 src = fetchPypi { 20 inherit pname version; ··· 28 }) 29 ]; 30 31 - propagatedBuildInputs = [ 32 - graphviz 33 - ]; 34 - 35 - nativeCheckInputs = [ 36 - pytestCheckHook 37 - ]; 38 39 pythonImportsCheck = [ 40 "objgraph" 41 ]; 42 43 - pytestFlagsArray = [ 44 - "tests.py" 45 - ]; 46 47 meta = with lib; { 48 description = "Draws Python object reference graphs with graphviz"; 49 homepage = "https://mg.pov.lt/objgraph/"; 50 changelog = "https://github.com/mgedmin/objgraph/blob/${version}/CHANGES.rst"; 51 license = licenses.mit; 52 - maintainers = with maintainers; [ ]; 53 }; 54 }
··· 4 , graphviz 5 , graphvizPkgs 6 , isPyPy 7 + , python 8 , pythonOlder 9 , substituteAll 10 }: ··· 14 version = "3.6.0"; 15 format = "setuptools"; 16 17 + disabled = pythonOlder "3.7" || isPyPy; 18 19 src = fetchPypi { 20 inherit pname version; ··· 28 }) 29 ]; 30 31 + passthru.optional-dependencies = { 32 + ipython = [ 33 + graphviz 34 + ]; 35 + }; 36 37 pythonImportsCheck = [ 38 "objgraph" 39 ]; 40 41 + checkPhase = '' 42 + runHook preCheck 43 + ${python.interpreter} tests.py 44 + runHook postCheck 45 + ''; 46 47 meta = with lib; { 48 description = "Draws Python object reference graphs with graphviz"; 49 homepage = "https://mg.pov.lt/objgraph/"; 50 changelog = "https://github.com/mgedmin/objgraph/blob/${version}/CHANGES.rst"; 51 license = licenses.mit; 52 + maintainers = with maintainers; [ dotlambda ]; 53 }; 54 }
+15 -12
pkgs/development/python-modules/openapi-core/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , django 4 , djangorestframework ··· 7 , flask 8 , httpx 9 , isodate 10 , jsonschema-spec 11 - , mock 12 , more-itertools 13 , openapi-schema-validator 14 , openapi-spec-validator 15 , parse 16 - , pathable 17 , poetry-core 18 , pytestCheckHook 19 , pythonOlder 20 , responses 21 , requests 22 , starlette 23 - , typing-extensions 24 , webob 25 , werkzeug 26 }: 27 28 buildPythonPackage rec { 29 pname = "openapi-core"; 30 - version = "0.17.1"; 31 format = "pyproject"; 32 33 - disabled = pythonOlder "3.7"; 34 35 src = fetchFromGitHub { 36 owner = "p1c2u"; 37 repo = "openapi-core"; 38 rev = "refs/tags/${version}"; 39 - hash = "sha256-xlrG2FF55qDsrkdSqCBLu3/QLtZs48ZUB90B2CemY64="; 40 }; 41 42 postPatch = '' ··· 50 propagatedBuildInputs = [ 51 isodate 52 more-itertools 53 - pathable 54 - more-itertools 55 openapi-schema-validator 56 - jsonschema-spec 57 openapi-spec-validator 58 - typing-extensions 59 - parse 60 werkzeug 61 ]; 62 63 passthru.optional-dependencies = { 64 django = [ 65 django 66 ]; ··· 80 }; 81 82 nativeCheckInputs = [ 83 - mock 84 pytestCheckHook 85 responses 86 webob
··· 1 { lib 2 + , aiohttp 3 + , asgiref 4 , buildPythonPackage 5 , django 6 , djangorestframework ··· 9 , flask 10 , httpx 11 , isodate 12 + , jsonschema 13 , jsonschema-spec 14 , more-itertools 15 , openapi-schema-validator 16 , openapi-spec-validator 17 , parse 18 , poetry-core 19 + , pytest-aiohttp 20 , pytestCheckHook 21 , pythonOlder 22 , responses 23 , requests 24 , starlette 25 , webob 26 , werkzeug 27 }: 28 29 buildPythonPackage rec { 30 pname = "openapi-core"; 31 + version = "0.18.0"; 32 format = "pyproject"; 33 34 + disabled = pythonOlder "3.8"; 35 36 src = fetchFromGitHub { 37 owner = "p1c2u"; 38 repo = "openapi-core"; 39 rev = "refs/tags/${version}"; 40 + hash = "sha256-2OcGaZQwzgxcwrXinmJjFc91620Ri0O79c8WZWfDdlQ="; 41 }; 42 43 postPatch = '' ··· 51 propagatedBuildInputs = [ 52 isodate 53 more-itertools 54 + parse 55 openapi-schema-validator 56 openapi-spec-validator 57 werkzeug 58 + jsonschema-spec 59 + asgiref 60 + jsonschema 61 ]; 62 63 passthru.optional-dependencies = { 64 + aiohttp = [ 65 + aiohttp 66 + ]; 67 django = [ 68 django 69 ]; ··· 83 }; 84 85 nativeCheckInputs = [ 86 + pytest-aiohttp 87 pytestCheckHook 88 responses 89 webob
+15 -4
pkgs/development/python-modules/openapi-schema-validator/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , poetry-core 5 - , pytestCheckHook 6 - , isodate 7 , jsonschema 8 , rfc3339-validator 9 }: 10 11 buildPythonPackage rec { 12 pname = "openapi-schema-validator"; 13 - version = "0.4.4"; 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "p1c2u"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-2XTCdp9dfzhNKCpq71pt7yEZm9abiEmFHD/114W+jOQ="; 21 }; 22 23 postPatch = '' ··· 30 31 propagatedBuildInputs = [ 32 jsonschema 33 rfc3339-validator 34 ]; 35 ··· 40 pythonImportsCheck = [ "openapi_schema_validator" ]; 41 42 meta = with lib; { 43 description = "Validates OpenAPI schema against the OpenAPI Schema Specification v3.0"; 44 homepage = "https://github.com/p1c2u/openapi-schema-validator"; 45 license = licenses.bsd3;
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , pythonOlder 5 + 6 + # build-system 7 , poetry-core 8 + 9 + # propagates 10 , jsonschema 11 + , jsonschema-specifications 12 , rfc3339-validator 13 + 14 + # tests 15 + , pytestCheckHook 16 }: 17 18 buildPythonPackage rec { 19 pname = "openapi-schema-validator"; 20 + version = "0.6.0"; 21 format = "pyproject"; 22 + 23 + disabled = pythonOlder "3.8"; 24 25 src = fetchFromGitHub { 26 owner = "p1c2u"; 27 repo = pname; 28 rev = "refs/tags/${version}"; 29 + hash = "sha256-859v6KqIRfUq4d/KbkvGnGqlxz6BXTl+tKQHPhtkTH0="; 30 }; 31 32 postPatch = '' ··· 39 40 propagatedBuildInputs = [ 41 jsonschema 42 + jsonschema-specifications 43 rfc3339-validator 44 ]; 45 ··· 50 pythonImportsCheck = [ "openapi_schema_validator" ]; 51 52 meta = with lib; { 53 + changelog = "https://github.com/python-openapi/openapi-schema-validator/releases/tag/${version}"; 54 description = "Validates OpenAPI schema against the OpenAPI Schema Specification v3.0"; 55 homepage = "https://github.com/p1c2u/openapi-schema-validator"; 56 license = licenses.bsd3;
+10 -17
pkgs/development/python-modules/openapi-spec-validator/default.nix
··· 2 , buildPythonPackage 3 , pythonOlder 4 , fetchFromGitHub 5 , poetry-core 6 7 # propagates ··· 10 , jsonschema-spec 11 , lazy-object-proxy 12 , openapi-schema-validator 13 - , pyyaml 14 - 15 - # optional 16 - , requests 17 18 # tests 19 - , mock 20 , pytestCheckHook 21 }: 22 23 buildPythonPackage rec { 24 pname = "openapi-spec-validator"; 25 - version = "0.5.6"; 26 format = "pyproject"; 27 28 - disabled = pythonOlder "3.7"; 29 30 # no tests via pypi sdist 31 src = fetchFromGitHub { 32 owner = "p1c2u"; 33 - repo = pname; 34 rev = "refs/tags/${version}"; 35 - hash = "sha256-BIGHaZhrEc7wcIesBIXdVRzozllCNOz67V+LmQfZ8oY="; 36 }; 37 38 nativeBuildInputs = [ 39 poetry-core ··· 47 ] ++ lib.optionals (pythonOlder "3.9") [ 48 importlib-resources 49 ]; 50 - 51 - passthru.optional-dependencies.requests = [ 52 - requests 53 - ]; 54 - 55 - preCheck = '' 56 - sed -i '/--cov/d' pyproject.toml 57 - ''; 58 59 nativeCheckInputs = [ 60 pytestCheckHook
··· 2 , buildPythonPackage 3 , pythonOlder 4 , fetchFromGitHub 5 + 6 + # build-system 7 , poetry-core 8 9 # propagates ··· 12 , jsonschema-spec 13 , lazy-object-proxy 14 , openapi-schema-validator 15 16 # tests 17 , pytestCheckHook 18 }: 19 20 buildPythonPackage rec { 21 pname = "openapi-spec-validator"; 22 + version = "0.6.0"; 23 format = "pyproject"; 24 25 + disabled = pythonOlder "3.8"; 26 27 # no tests via pypi sdist 28 src = fetchFromGitHub { 29 owner = "p1c2u"; 30 + repo = "openapi-spec-validator"; 31 rev = "refs/tags/${version}"; 32 + hash = "sha256-sGr4dH6Twyi4OeCAXZiboN75dYZ6wJ0pWMzV9zOfee0="; 33 }; 34 + 35 + postPatch = '' 36 + sed -i '/--cov/d' pyproject.toml 37 + ''; 38 39 nativeBuildInputs = [ 40 poetry-core ··· 48 ] ++ lib.optionals (pythonOlder "3.9") [ 49 importlib-resources 50 ]; 51 52 nativeCheckInputs = [ 53 pytestCheckHook
+3
pkgs/development/python-modules/oslotest/default.nix
··· 3 , fetchPypi 4 , fixtures 5 , pbr 6 , subunit 7 , callPackage 8 }: ··· 10 buildPythonPackage rec { 11 pname = "oslotest"; 12 version = "4.5.0"; 13 14 src = fetchPypi { 15 inherit pname version; ··· 20 21 propagatedBuildInputs = [ 22 fixtures 23 subunit 24 ]; 25
··· 3 , fetchPypi 4 , fixtures 5 , pbr 6 + , six 7 , subunit 8 , callPackage 9 }: ··· 11 buildPythonPackage rec { 12 pname = "oslotest"; 13 version = "4.5.0"; 14 + format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; ··· 22 23 propagatedBuildInputs = [ 24 fixtures 25 + six 26 subunit 27 ]; 28
+2 -2
pkgs/development/python-modules/packaging/default.nix
··· 10 let 11 packaging = buildPythonPackage rec { 12 pname = "packaging"; 13 - version = "23.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-tq0pf4kH3g+i/hzL0m/a84f19Hxydf7fjM6J+ZRGz5c="; 21 }; 22 23 nativeBuildInputs = [
··· 10 let 11 packaging = buildPythonPackage rec { 12 pname = "packaging"; 13 + version = "23.1"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-o5KYDSts/6ZEQxiYvlSwBFFRMZ0efsNPDP7Uh2fdM08="; 21 }; 22 23 nativeBuildInputs = [
+168 -59
pkgs/development/python-modules/pandas/default.nix
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchPypi 5 - , python 6 , pythonOlder 7 , cython 8 , numpy 9 , python-dateutil 10 , pytz 11 - # Test inputs 12 , glibcLocales 13 , hypothesis 14 - , jinja2 15 , pytestCheckHook 16 , pytest-xdist 17 , pytest-asyncio 18 - , xlsxwriter 19 - # Darwin inputs 20 , runtimeShell 21 - , libcxx 22 }: 23 24 buildPythonPackage rec { 25 pname = "pandas"; 26 - version = "1.5.3"; 27 - format = "setuptools"; 28 disabled = pythonOlder "3.8"; 29 30 src = fetchPypi { 31 inherit pname version; 32 - hash = "sha256-dKP9flp+wFLxgyc9x7Cs06hj7fdSD106F2XAT/2zsLE="; 33 }; 34 35 - nativeBuildInputs = [ cython ]; 36 37 - buildInputs = lib.optional stdenv.isDarwin libcxx; 38 39 propagatedBuildInputs = [ 40 numpy 41 python-dateutil 42 pytz 43 ]; 44 45 nativeCheckInputs = [ 46 glibcLocales 47 hypothesis 48 - jinja2 49 pytest-asyncio 50 pytest-xdist 51 pytestCheckHook 52 - xlsxwriter 53 ]; 54 55 - # Doesn't work with -Werror,-Wunused-command-line-argument 56 - # https://github.com/NixOS/nixpkgs/issues/39687 57 - hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 58 - 59 - doCheck = !stdenv.isAarch32 && !stdenv.isAarch64; # upstream doesn't test this architecture 60 - 61 # don't max out build cores, it breaks tests 62 dontUsePytestXdist = true; 63 64 pytestFlagsArray = [ 65 # https://github.com/pandas-dev/pandas/blob/main/test_fast.sh 66 "--skip-db" 67 "--skip-slow" 68 "--skip-network" 69 - "-m" "'not single_cpu'" 70 "--numprocesses" "4" 71 ]; 72 73 disabledTests = [ 74 - # Locale-related 75 - "test_names" 76 - "test_dt_accessor_datetime_name_accessors" 77 - "test_datetime_name_accessors" 78 - # Disable IO related tests because IO data is no longer distributed 79 - "io" 80 - # Tries to import from pandas.tests post install 81 - "util_in_top_level" 82 - # Tries to import compiled C extension locally 83 - "test_missing_required_dependency" 84 - # AssertionError with 1.2.3 85 - "test_from_coo" 86 - # AssertionError: No common DType exists for the given inputs 87 - "test_comparison_invalid" 88 - # AssertionError: Regex pattern '"quotechar" must be string, not int' 89 - "python-kwargs2" 90 - # Tests for rounding errors and fails if we have better precision 91 - # than expected, e.g. on amd64 with FMA or on arm64 92 - # https://github.com/pandas-dev/pandas/issues/38921 93 - "test_rolling_var_numerical_issues" 94 - # Requires mathplotlib 95 - "test_subset_for_boolean_cols" 96 - # DeprecationWarning from numpy 97 - "test_sort_values_sparse_no_warning" 98 - ] ++ lib.optionals stdenv.isDarwin [ 99 - "test_locale" 100 - "test_clipboard" 101 - # ValueError: cannot reindex on an axis with duplicate labels 102 - # 103 - # Attempts to reproduce this problem outside of Hydra failed. 104 - "test_reindex_timestamp_with_fold" 105 ]; 106 107 # Tests have relative paths, and need to reference compiled C extensions 108 # so change directory where `import .test` is able to be resolved 109 preCheck = '' 110 - cd $out/${python.sitePackages}/pandas 111 export LC_ALL="en_US.UTF-8" 112 - PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH 113 '' 114 # TODO: Get locale and clipboard support working on darwin. 115 # Until then we disable the tests. ··· 121 export PATH=$(pwd):$PATH 122 ''; 123 124 - enableParallelBuilding = true; 125 - 126 - pythonImportsCheck = [ "pandas" ]; 127 128 meta = with lib; { 129 # https://github.com/pandas-dev/pandas/issues/14866 130 # pandas devs are no longer testing i686 so safer to assume it's broken 131 broken = stdenv.isi686; 132 - homepage = "https://pandas.pydata.org/"; 133 changelog = "https://pandas.pydata.org/docs/whatsnew/index.html"; 134 - description = "Python Data Analysis Library"; 135 license = licenses.bsd3; 136 maintainers = with maintainers; [ raskin fridh knedlsepp ]; 137 - platforms = platforms.unix; 138 }; 139 }
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchPypi 5 , pythonOlder 6 + 7 + # build-system 8 , cython 9 + , setuptools 10 + , versioneer 11 + 12 + # propagates 13 , numpy 14 , python-dateutil 15 , pytz 16 + , tzdata 17 + 18 + # optionals 19 + , beautifulsoup4 20 + , bottleneck 21 + , blosc2 22 + , brotlipy 23 + , fsspec 24 + , gcsfs 25 + , html5lib 26 + , jinja2 27 + , lxml 28 + , matplotlib 29 + , numba 30 + , numexpr 31 + , odfpy 32 + , openpyxl 33 + , psycopg2 34 + , pyarrow 35 + , pymysql 36 + , pyqt5 37 + , pyreadstat 38 + , python-snappy 39 + , qtpy 40 + , s3fs 41 + , scipy 42 + , sqlalchemy 43 + , tables 44 + , tabulate 45 + , xarray 46 + , xlrd 47 + , xlsxwriter 48 + , zstandard 49 + 50 + # tests 51 + , adv_cmds 52 + , glibc 53 , glibcLocales 54 , hypothesis 55 , pytestCheckHook 56 , pytest-xdist 57 , pytest-asyncio 58 + , python 59 , runtimeShell 60 }: 61 62 buildPythonPackage rec { 63 pname = "pandas"; 64 + version = "2.0.3"; 65 + format = "pyproject"; 66 + 67 disabled = pythonOlder "3.8"; 68 69 src = fetchPypi { 70 inherit pname version; 71 + hash = "sha256-wC83Kojg0X820wk6ZExzz8F4jodqfEvLQCCndRLiBDw="; 72 }; 73 74 + nativeBuildInputs = [ 75 + setuptools 76 + cython 77 + numpy 78 + versioneer 79 + ] ++ versioneer.optional-dependencies.toml; 80 81 + enableParallelBuilding = true; 82 83 propagatedBuildInputs = [ 84 numpy 85 python-dateutil 86 pytz 87 + tzdata 88 ]; 89 90 + passthru.optional-dependencies = let 91 + extras = { 92 + aws = [ 93 + s3fs 94 + ]; 95 + clipboard = [ 96 + pyqt5 97 + qtpy 98 + ]; 99 + compression = [ 100 + brotlipy 101 + python-snappy 102 + zstandard 103 + ]; 104 + computation = [ 105 + scipy 106 + xarray 107 + ]; 108 + excel = [ 109 + odfpy 110 + openpyxl 111 + # TODO: pyxlsb 112 + xlrd 113 + xlsxwriter 114 + ]; 115 + feather = [ 116 + pyarrow 117 + ]; 118 + fss = [ 119 + fsspec 120 + ]; 121 + gcp = [ 122 + gcsfs 123 + # TODO: pandas-gqb 124 + ]; 125 + hdf5 = [ 126 + blosc2 127 + tables 128 + ]; 129 + html = [ 130 + beautifulsoup4 131 + html5lib 132 + lxml 133 + ]; 134 + mysql = [ 135 + sqlalchemy 136 + pymysql 137 + ]; 138 + output_formatting = [ 139 + jinja2 140 + tabulate 141 + ]; 142 + parquet = [ 143 + pyarrow 144 + ]; 145 + performance = [ 146 + bottleneck 147 + numba 148 + numexpr 149 + ]; 150 + plot = [ 151 + matplotlib 152 + ]; 153 + postgresql = [ 154 + sqlalchemy 155 + psycopg2 156 + ]; 157 + spss = [ 158 + pyreadstat 159 + ]; 160 + sql-other = [ 161 + sqlalchemy 162 + ]; 163 + xml = [ 164 + lxml 165 + ]; 166 + }; 167 + in extras // { 168 + all = lib.concatLists (lib.attrValues extras); 169 + }; 170 + 171 + # Doesn't work with -Werror,-Wunused-command-line-argument 172 + # https://github.com/NixOS/nixpkgs/issues/39687 173 + hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 174 + 175 nativeCheckInputs = [ 176 glibcLocales 177 hypothesis 178 pytest-asyncio 179 pytest-xdist 180 pytestCheckHook 181 + ] ++ lib.optionals (stdenv.isLinux) [ 182 + # for locale executable 183 + glibc 184 + ] ++ lib.optionals (stdenv.isDarwin) [ 185 + # for locale executable 186 + adv_cmds 187 ]; 188 189 # don't max out build cores, it breaks tests 190 dontUsePytestXdist = true; 191 + 192 + __darwinAllowLocalNetworking = true; 193 194 pytestFlagsArray = [ 195 # https://github.com/pandas-dev/pandas/blob/main/test_fast.sh 196 "--skip-db" 197 "--skip-slow" 198 "--skip-network" 199 + "-m" "'not single_cpu and not slow_arm'" 200 "--numprocesses" "4" 201 ]; 202 203 disabledTests = [ 204 + # AssertionError: Did not see expected warning of class 'FutureWarning' 205 + "test_parsing_tzlocal_deprecated" 206 + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ 207 + # tests/generic/test_finalize.py::test_binops[and_-args4-right] - AssertionError: assert {} == {'a': 1} 208 + "test_binops" 209 ]; 210 211 # Tests have relative paths, and need to reference compiled C extensions 212 # so change directory where `import .test` is able to be resolved 213 preCheck = '' 214 + export HOME=$TMPDIR 215 export LC_ALL="en_US.UTF-8" 216 + cd $out/${python.sitePackages}/pandas 217 '' 218 # TODO: Get locale and clipboard support working on darwin. 219 # Until then we disable the tests. ··· 225 export PATH=$(pwd):$PATH 226 ''; 227 228 + pythonImportsCheck = [ 229 + "pandas" 230 + ]; 231 232 meta = with lib; { 233 # https://github.com/pandas-dev/pandas/issues/14866 234 # pandas devs are no longer testing i686 so safer to assume it's broken 235 broken = stdenv.isi686; 236 changelog = "https://pandas.pydata.org/docs/whatsnew/index.html"; 237 + description = "Powerful data structures for data analysis, time series, and statistics"; 238 + downloadPage = "https://github.com/pandas-dev/pandas"; 239 + homepage = "https://pandas.pydata.org"; 240 license = licenses.bsd3; 241 + longDescription = '' 242 + Flexible and powerful data analysis / manipulation library for 243 + Python, providing labeled data structures similar to R data.frame 244 + objects, statistical functions, and much more. 245 + ''; 246 maintainers = with maintainers; [ raskin fridh knedlsepp ]; 247 }; 248 }
+2 -2
pkgs/development/python-modules/pdm-backend/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "pdm-backend"; 18 - version = "2.1.1"; 19 format = "pyproject"; 20 21 src = fetchFromGitHub { 22 owner = "pdm-project"; 23 repo = "pdm-backend"; 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-g8VL5nO180XplMgbbeeJIp6lmbWcMKdY/IftlkL6e5U="; 26 }; 27 28 env.PDM_BUILD_SCM_VERSION = version;
··· 15 16 buildPythonPackage rec { 17 pname = "pdm-backend"; 18 + version = "2.1.4"; 19 format = "pyproject"; 20 21 src = fetchFromGitHub { 22 owner = "pdm-project"; 23 repo = "pdm-backend"; 24 rev = "refs/tags/${version}"; 25 + hash = "sha256-46HTamiy+8fiGVeviYqXsjwu+PEBE38y19cBVRc+zm0="; 26 }; 27 28 env.PDM_BUILD_SCM_VERSION = version;
+2 -2
pkgs/development/python-modules/pdm-pep517/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "pdm-pep517"; 12 - version = "1.1.2"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-1PpzWmRffpWmvrNKK19+jgDZPdBDnXPzHMguQLW4/c4="; 18 }; 19 20 preCheck = ''
··· 9 10 buildPythonPackage rec { 11 pname = "pdm-pep517"; 12 + version = "1.1.4"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-f0kSHnC0Lcopb6yWIhDdLaB6OVdfxWcxN61mFjOyzz8="; 18 }; 19 20 preCheck = ''
+2 -9
pkgs/development/python-modules/pikepdf/default.nix
··· 4 , fetchFromGitHub 5 , hypothesis 6 , pythonOlder 7 - , importlib-metadata 8 , jbig2dec 9 , deprecation 10 , lxml ··· 19 , python-xmp-toolkit 20 , qpdf 21 , setuptools 22 - , setuptools-scm 23 , substituteAll 24 , wheel 25 }: 26 27 buildPythonPackage rec { 28 pname = "pikepdf"; 29 - version = "7.2.0"; 30 format = "pyproject"; 31 32 disabled = pythonOlder "3.8"; ··· 41 postFetch = '' 42 rm "$out/.git_archival.txt" 43 ''; 44 - hash = "sha256-acGIhIWC1nUQiN0iwb1kLKxz+ytIqYIW4VXF45Tx50g="; 45 }; 46 47 patches = [ ··· 57 --replace "shims_enabled = not cflags_defined" "shims_enabled = False" 58 ''; 59 60 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 61 - 62 buildInputs = [ 63 qpdf 64 ]; ··· 66 nativeBuildInputs = [ 67 pybind11 68 setuptools 69 - setuptools-scm 70 wheel 71 ]; 72 ··· 85 lxml 86 packaging 87 pillow 88 - ] ++ lib.optionals (pythonOlder "3.8") [ 89 - importlib-metadata 90 ]; 91 92 pythonImportsCheck = [ "pikepdf" ];
··· 4 , fetchFromGitHub 5 , hypothesis 6 , pythonOlder 7 , jbig2dec 8 , deprecation 9 , lxml ··· 18 , python-xmp-toolkit 19 , qpdf 20 , setuptools 21 , substituteAll 22 , wheel 23 }: 24 25 buildPythonPackage rec { 26 pname = "pikepdf"; 27 + version = "8.2.1"; 28 format = "pyproject"; 29 30 disabled = pythonOlder "3.8"; ··· 39 postFetch = '' 40 rm "$out/.git_archival.txt" 41 ''; 42 + hash = "sha256-8uPPEoLxoMRq/tkpThatwjPHZIMYQ8lNL6fLcG+nsnw="; 43 }; 44 45 patches = [ ··· 55 --replace "shims_enabled = not cflags_defined" "shims_enabled = False" 56 ''; 57 58 buildInputs = [ 59 qpdf 60 ]; ··· 62 nativeBuildInputs = [ 63 pybind11 64 setuptools 65 wheel 66 ]; 67 ··· 80 lxml 81 packaging 82 pillow 83 ]; 84 85 pythonImportsCheck = [ "pikepdf" ];
+2
pkgs/development/python-modules/pilkit/default.nix
··· 33 postPatch = '' 34 substituteInPlace tox.ini \ 35 --replace " --cov --cov-report term-missing:skip-covered" "" 36 ''; 37 38 pythonImportsCheck = [
··· 33 postPatch = '' 34 substituteInPlace tox.ini \ 35 --replace " --cov --cov-report term-missing:skip-covered" "" 36 + substituteInPlace pilkit/processors/resize.py \ 37 + --replace "Image.ANTIALIAS" "Image.Resampling.LANCZOS" 38 ''; 39 40 pythonImportsCheck = [
+4 -12
pkgs/development/python-modules/pillow/default.nix
··· 13 14 import ./generic.nix (rec { 15 pname = "pillow"; 16 - version = "9.5.0"; 17 - format = "setuptools"; 18 19 - disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 pname = "Pillow"; 23 inherit version; 24 - hash = "sha256-v1SEedM2cm16Ds6252fhefveN4M65CeUYCYxoHDWMPE="; 25 }; 26 - 27 - patches = [ 28 - (fetchpatch { 29 - # Fixed type handling for include and lib directories; Remove with 10.0.0 30 - url = "https://github.com/python-pillow/Pillow/commit/0ec0a89ead648793812e11739e2a5d70738c6be5.patch"; 31 - hash = "sha256-m5R5fLflnbJXbRxFlTjT2X3nKdC05tippMoJUDsJmy0="; 32 - }) 33 - ]; 34 35 passthru.tests = { 36 inherit imageio matplotlib pilkit pydicom reportlab;
··· 13 14 import ./generic.nix (rec { 15 pname = "pillow"; 16 + version = "10.0.0"; 17 + format = "pyproject"; 18 19 + disabled = pythonOlder "3.8"; 20 21 src = fetchPypi { 22 pname = "Pillow"; 23 inherit version; 24 + hash = "sha256-nIK1s+BDx68NlXktDSDM9o9hof7Gs1MOcYtohCJyc5Y="; 25 }; 26 27 passthru.tests = { 28 inherit imageio matplotlib pilkit pydicom reportlab;
+24 -10
pkgs/development/python-modules/pint/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 , setuptools-scm 6 - , importlib-metadata 7 - , packaging 8 - # Check Inputs 9 , pytestCheckHook 10 , pytest-subtests 11 , numpy ··· 15 16 buildPythonPackage rec { 17 pname = "pint"; 18 - version = "0.20.1"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit version; 24 pname = "Pint"; 25 - hash = "sha256-OHzwQHjcff5KcIAzuq1Uq2HYKrBsTuPUkiseRdViYGc="; 26 }; 27 28 - nativeBuildInputs = [ setuptools-scm ]; 29 30 - propagatedBuildInputs = [ packaging ] 31 - ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook ··· 38 uncertainties 39 ]; 40 41 - dontUseSetuptoolsCheck = true; 42 - 43 preCheck = '' 44 export HOME=$(mktemp -d) 45 ''; 46 47 meta = with lib; { 48 description = "Physical quantities module"; 49 license = licenses.bsd3; 50 homepage = "https://github.com/hgrecco/pint/";
··· 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 + 6 + # build-system 7 + , setuptools 8 , setuptools-scm 9 + 10 + # propagates 11 + , typing-extensions 12 + 13 + # tests 14 , pytestCheckHook 15 , pytest-subtests 16 , numpy ··· 20 21 buildPythonPackage rec { 22 pname = "pint"; 23 + version = "0.22"; 24 + format = "pyproject"; 25 26 disabled = pythonOlder "3.6"; 27 28 src = fetchPypi { 29 inherit version; 30 pname = "Pint"; 31 + hash = "sha256-LROfarvPMBbK19POwFcH/pCKxPmc9Zrt/W7mZ7emRDM="; 32 }; 33 34 + nativeBuildInputs = [ 35 + setuptools 36 + setuptools-scm 37 + ]; 38 39 + propagatedBuildInputs = [ 40 + typing-extensions 41 + ]; 42 43 nativeCheckInputs = [ 44 pytestCheckHook ··· 48 uncertainties 49 ]; 50 51 preCheck = '' 52 export HOME=$(mktemp -d) 53 ''; 54 55 + disabledTests = [ 56 + # https://github.com/hgrecco/pint/issues/1825 57 + "test_equal_zero_nan_NP" 58 + ]; 59 + 60 meta = with lib; { 61 + changelog = "https://github.com/hgrecco/pint/blob/${version}/CHANGES"; 62 description = "Physical quantities module"; 63 license = licenses.bsd3; 64 homepage = "https://github.com/hgrecco/pint/";
+2 -2
pkgs/development/python-modules/platformdirs/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "platformdirs"; 14 - version = "3.5.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = pname; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-/qi22jiF+P7XcG/D+dxoOrHk89amdBoGewrTqZZOsoM="; 24 }; 25 26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 11 12 buildPythonPackage rec { 13 pname = "platformdirs"; 14 + version = "3.9.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = pname; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 + hash = "sha256-gBiXdnBWp0SlpE6TQPONTXEsQ2XFGCANGdNM/gv7V5s="; 24 }; 25 26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+14 -5
pkgs/development/python-modules/pluggy/default.nix
··· 1 { buildPythonPackage 2 , lib 3 - , fetchPypi 4 , setuptools-scm 5 , pythonOlder 6 , importlib-metadata 7 }: 8 9 buildPythonPackage rec { 10 pname = "pluggy"; 11 - version = "1.0.0"; 12 format = "pyproject"; 13 14 - src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"; 17 }; 18 19 nativeBuildInputs = [ setuptools-scm ]; 20 21 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ 22 importlib-metadata ··· 24 25 # To prevent infinite recursion with pytest 26 doCheck = false; 27 28 meta = { 29 description = "Plugin and hook calling mechanisms for Python"; 30 homepage = "https://github.com/pytest-dev/pluggy"; 31 license = lib.licenses.mit;
··· 1 { buildPythonPackage 2 , lib 3 + , fetchFromGitHub 4 , setuptools-scm 5 , pythonOlder 6 , importlib-metadata 7 + , callPackage 8 }: 9 10 buildPythonPackage rec { 11 pname = "pluggy"; 12 + version = "1.2.0"; 13 format = "pyproject"; 14 15 + src = fetchFromGitHub { 16 + owner = "pytest-dev"; 17 + repo = "pluggy"; 18 + rev = "refs/tags/${version}"; 19 + hash = "sha256-SzJu7ITdmUgusn8sz6fRBpxTMQncWIViP5NCAj4q4GM="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 + 24 + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 26 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ 27 importlib-metadata ··· 29 30 # To prevent infinite recursion with pytest 31 doCheck = false; 32 + passthru.tests = { 33 + pytest = callPackage ./tests.nix { }; 34 + }; 35 36 meta = { 37 + changelog = "https://github.com/pytest-dev/pluggy/blob/${src.rev}/CHANGELOG.rst"; 38 description = "Plugin and hook calling mechanisms for Python"; 39 homepage = "https://github.com/pytest-dev/pluggy"; 40 license = lib.licenses.mit;
+20
pkgs/development/python-modules/pluggy/tests.nix
···
··· 1 + { buildPythonPackage 2 + , pluggy 3 + , pytestCheckHook 4 + }: 5 + 6 + buildPythonPackage { 7 + pname = "pluggy-tests"; 8 + inherit (pluggy) version; 9 + format = "other"; 10 + 11 + inherit (pluggy) src; 12 + 13 + dontBuild = true; 14 + dontInstall = true; 15 + 16 + nativeCheckInputs = [ 17 + pluggy 18 + pytestCheckHook 19 + ]; 20 + }
-2
pkgs/development/python-modules/poetry-core/default.nix
··· 11 , pytest-mock 12 , pytestCheckHook 13 , setuptools 14 - , tomlkit 15 , virtualenv 16 }: 17 ··· 54 pytest-mock 55 pytestCheckHook 56 setuptools 57 - tomlkit 58 virtualenv 59 ]; 60
··· 11 , pytest-mock 12 , pytestCheckHook 13 , setuptools 14 , virtualenv 15 }: 16 ··· 53 pytest-mock 54 pytestCheckHook 55 setuptools 56 virtualenv 57 ]; 58
+3 -2
pkgs/development/python-modules/prance/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "prance"; 21 - version = "0.22.02.22.0"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.8"; ··· 28 repo = pname; 29 rev = "v${version}"; 30 fetchSubmodules = true; 31 - hash = "sha256-NtIbZp34IcMYJzaNQVL9GLdNS3NYOCRoWS1wGg/gLVA="; 32 }; 33 34 postPatch = '' ··· 70 "test_convert_defaults" 71 "test_convert_output" 72 "test_fetch_url_http" 73 ]; 74 pythonImportsCheck = [ "prance" ]; 75
··· 18 19 buildPythonPackage rec { 20 pname = "prance"; 21 + version = "23.06.21.0"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.8"; ··· 28 repo = pname; 29 rev = "v${version}"; 30 fetchSubmodules = true; 31 + hash = "sha256-p+LZbQal4DPeMp+eJ2O83rCaL+QIUDcU34pZhYdN4bE="; 32 }; 33 34 postPatch = '' ··· 70 "test_convert_defaults" 71 "test_convert_output" 72 "test_fetch_url_http" 73 + "test_openapi_spec_validator_validate_failure" 74 ]; 75 pythonImportsCheck = [ "prance" ]; 76
+3 -3
pkgs/development/python-modules/pybind11/default.nix
··· 24 } ./setup-hook.sh; 25 in buildPythonPackage rec { 26 pname = "pybind11"; 27 - version = "2.10.4"; 28 29 src = fetchFromGitHub { 30 owner = "pybind"; 31 repo = pname; 32 rev = "v${version}"; 33 - hash = "sha256-n7nLEG2+sSR9wnxM+C8FWc2B+Mx74Pan1+IQf+h2bGU="; 34 }; 35 36 postPatch = '' ··· 87 "tests/extra_setuptools/test_setuphelper.py" 88 ]; 89 90 - disabledTests = lib.optionals (stdenv.isDarwin) [ 91 # expects KeyError, gets RuntimeError 92 # https://github.com/pybind/pybind11/issues/4243 93 "test_cross_module_exception_translator"
··· 24 } ./setup-hook.sh; 25 in buildPythonPackage rec { 26 pname = "pybind11"; 27 + version = "2.11.1"; 28 29 src = fetchFromGitHub { 30 owner = "pybind"; 31 repo = pname; 32 rev = "v${version}"; 33 + hash = "sha256-sO/Fa+QrAKyq2EYyYMcjPrYI+bdJIrDoj6L3JHoDo3E="; 34 }; 35 36 postPatch = '' ··· 87 "tests/extra_setuptools/test_setuphelper.py" 88 ]; 89 90 + disabledTests = lib.optionals stdenv.isDarwin [ 91 # expects KeyError, gets RuntimeError 92 # https://github.com/pybind/pybind11/issues/4243 93 "test_cross_module_exception_translator"
+4 -3
pkgs/development/python-modules/pycryptodome/default.nix
··· 10 in 11 buildPythonPackage rec { 12 pname = "pycryptodome"; 13 - version = "3.17.0"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "Legrandin"; 18 repo = "pycryptodome"; 19 - rev = "v${version}"; 20 - hash = "sha256-xsfd+dbaNOPuD0ulvpLPBPtcFgmJqX1VuunwNMcqh+Q="; 21 }; 22 23 postPatch = '' ··· 36 meta = with lib; { 37 description = "Self-contained cryptographic library"; 38 homepage = "https://github.com/Legrandin/pycryptodome"; 39 license = with licenses; [ bsd2 /* and */ asl20 ]; 40 maintainers = with maintainers; [ fab ]; 41 };
··· 10 in 11 buildPythonPackage rec { 12 pname = "pycryptodome"; 13 + version = "3.18.0"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "Legrandin"; 18 repo = "pycryptodome"; 19 + rev = "refs/tags/v${version}"; 20 + hash = "sha256-6oXXy18KlSjfyZhfMnIgnu34u/9sG0TPYvPJ8ovTqMA="; 21 }; 22 23 postPatch = '' ··· 36 meta = with lib; { 37 description = "Self-contained cryptographic library"; 38 homepage = "https://github.com/Legrandin/pycryptodome"; 39 + changelog = "https://github.com/Legrandin/pycryptodome/blob/v${version}/Changelog.rst"; 40 license = with licenses; [ bsd2 /* and */ asl20 ]; 41 maintainers = with maintainers; [ fab ]; 42 };
+18
pkgs/development/python-modules/pydantic-core/01-remove-benchmark-flags.patch
···
··· 1 + diff --git a/pyproject.toml b/pyproject.toml 2 + index 1602e32..507048d 100644 3 + --- a/pyproject.toml 4 + +++ b/pyproject.toml 5 + @@ -72,13 +72,6 @@ filterwarnings = [ 6 + ] 7 + timeout = 30 8 + xfail_strict = true 9 + -# min, max, mean, stddev, median, iqr, outliers, ops, rounds, iterations 10 + -addopts = [ 11 + - '--benchmark-columns', 'min,mean,stddev,outliers,rounds,iterations', 12 + - '--benchmark-group-by', 'group', 13 + - '--benchmark-warmup', 'on', 14 + - '--benchmark-disable', # this is enable by `make benchmark` when you actually want to run benchmarks 15 + -] 16 + 17 + [tool.coverage.run] 18 + source = ['pydantic_core']
+662
pkgs/development/python-modules/pydantic-core/Cargo.lock
···
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "ahash" 7 + version = "0.8.3" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" 10 + dependencies = [ 11 + "cfg-if", 12 + "getrandom", 13 + "once_cell", 14 + "version_check", 15 + ] 16 + 17 + [[package]] 18 + name = "aho-corasick" 19 + version = "1.0.2" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" 22 + dependencies = [ 23 + "memchr", 24 + ] 25 + 26 + [[package]] 27 + name = "autocfg" 28 + version = "1.1.0" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 31 + 32 + [[package]] 33 + name = "base64" 34 + version = "0.13.1" 35 + source = "registry+https://github.com/rust-lang/crates.io-index" 36 + checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 37 + 38 + [[package]] 39 + name = "bitflags" 40 + version = "1.3.2" 41 + source = "registry+https://github.com/rust-lang/crates.io-index" 42 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 43 + 44 + [[package]] 45 + name = "cc" 46 + version = "1.0.79" 47 + source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 49 + 50 + [[package]] 51 + name = "cfg-if" 52 + version = "1.0.0" 53 + source = "registry+https://github.com/rust-lang/crates.io-index" 54 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 55 + 56 + [[package]] 57 + name = "enum_dispatch" 58 + version = "0.3.12" 59 + source = "registry+https://github.com/rust-lang/crates.io-index" 60 + checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" 61 + dependencies = [ 62 + "once_cell", 63 + "proc-macro2", 64 + "quote", 65 + "syn 2.0.25", 66 + ] 67 + 68 + [[package]] 69 + name = "equivalent" 70 + version = "1.0.1" 71 + source = "registry+https://github.com/rust-lang/crates.io-index" 72 + checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 73 + 74 + [[package]] 75 + name = "form_urlencoded" 76 + version = "1.2.0" 77 + source = "registry+https://github.com/rust-lang/crates.io-index" 78 + checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" 79 + dependencies = [ 80 + "percent-encoding", 81 + ] 82 + 83 + [[package]] 84 + name = "getrandom" 85 + version = "0.2.10" 86 + source = "registry+https://github.com/rust-lang/crates.io-index" 87 + checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" 88 + dependencies = [ 89 + "cfg-if", 90 + "libc", 91 + "wasi", 92 + ] 93 + 94 + [[package]] 95 + name = "hashbrown" 96 + version = "0.14.0" 97 + source = "registry+https://github.com/rust-lang/crates.io-index" 98 + checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" 99 + 100 + [[package]] 101 + name = "heck" 102 + version = "0.4.1" 103 + source = "registry+https://github.com/rust-lang/crates.io-index" 104 + checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 105 + 106 + [[package]] 107 + name = "idna" 108 + version = "0.3.0" 109 + source = "registry+https://github.com/rust-lang/crates.io-index" 110 + checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" 111 + dependencies = [ 112 + "unicode-bidi", 113 + "unicode-normalization", 114 + ] 115 + 116 + [[package]] 117 + name = "idna" 118 + version = "0.4.0" 119 + source = "registry+https://github.com/rust-lang/crates.io-index" 120 + checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" 121 + dependencies = [ 122 + "unicode-bidi", 123 + "unicode-normalization", 124 + ] 125 + 126 + [[package]] 127 + name = "indexmap" 128 + version = "2.0.0" 129 + source = "registry+https://github.com/rust-lang/crates.io-index" 130 + checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" 131 + dependencies = [ 132 + "equivalent", 133 + "hashbrown", 134 + ] 135 + 136 + [[package]] 137 + name = "indoc" 138 + version = "1.0.9" 139 + source = "registry+https://github.com/rust-lang/crates.io-index" 140 + checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" 141 + 142 + [[package]] 143 + name = "itoa" 144 + version = "1.0.8" 145 + source = "registry+https://github.com/rust-lang/crates.io-index" 146 + checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" 147 + 148 + [[package]] 149 + name = "libc" 150 + version = "0.2.147" 151 + source = "registry+https://github.com/rust-lang/crates.io-index" 152 + checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" 153 + 154 + [[package]] 155 + name = "libmimalloc-sys" 156 + version = "0.1.33" 157 + source = "registry+https://github.com/rust-lang/crates.io-index" 158 + checksum = "f4ac0e912c8ef1b735e92369695618dc5b1819f5a7bf3f167301a3ba1cea515e" 159 + dependencies = [ 160 + "cc", 161 + "libc", 162 + ] 163 + 164 + [[package]] 165 + name = "lock_api" 166 + version = "0.4.10" 167 + source = "registry+https://github.com/rust-lang/crates.io-index" 168 + checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" 169 + dependencies = [ 170 + "autocfg", 171 + "scopeguard", 172 + ] 173 + 174 + [[package]] 175 + name = "memchr" 176 + version = "2.5.0" 177 + source = "registry+https://github.com/rust-lang/crates.io-index" 178 + checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 179 + 180 + [[package]] 181 + name = "memoffset" 182 + version = "0.9.0" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 185 + dependencies = [ 186 + "autocfg", 187 + ] 188 + 189 + [[package]] 190 + name = "mimalloc" 191 + version = "0.1.37" 192 + source = "registry+https://github.com/rust-lang/crates.io-index" 193 + checksum = "4e2894987a3459f3ffb755608bd82188f8ed00d0ae077f1edea29c068d639d98" 194 + dependencies = [ 195 + "libmimalloc-sys", 196 + ] 197 + 198 + [[package]] 199 + name = "num-bigint" 200 + version = "0.4.3" 201 + source = "registry+https://github.com/rust-lang/crates.io-index" 202 + checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" 203 + dependencies = [ 204 + "autocfg", 205 + "num-integer", 206 + "num-traits", 207 + ] 208 + 209 + [[package]] 210 + name = "num-integer" 211 + version = "0.1.45" 212 + source = "registry+https://github.com/rust-lang/crates.io-index" 213 + checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 214 + dependencies = [ 215 + "autocfg", 216 + "num-traits", 217 + ] 218 + 219 + [[package]] 220 + name = "num-traits" 221 + version = "0.2.15" 222 + source = "registry+https://github.com/rust-lang/crates.io-index" 223 + checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 224 + dependencies = [ 225 + "autocfg", 226 + ] 227 + 228 + [[package]] 229 + name = "once_cell" 230 + version = "1.18.0" 231 + source = "registry+https://github.com/rust-lang/crates.io-index" 232 + checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 233 + 234 + [[package]] 235 + name = "parking_lot" 236 + version = "0.12.1" 237 + source = "registry+https://github.com/rust-lang/crates.io-index" 238 + checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 239 + dependencies = [ 240 + "lock_api", 241 + "parking_lot_core", 242 + ] 243 + 244 + [[package]] 245 + name = "parking_lot_core" 246 + version = "0.9.8" 247 + source = "registry+https://github.com/rust-lang/crates.io-index" 248 + checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" 249 + dependencies = [ 250 + "cfg-if", 251 + "libc", 252 + "redox_syscall", 253 + "smallvec", 254 + "windows-targets", 255 + ] 256 + 257 + [[package]] 258 + name = "percent-encoding" 259 + version = "2.3.0" 260 + source = "registry+https://github.com/rust-lang/crates.io-index" 261 + checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" 262 + 263 + [[package]] 264 + name = "proc-macro2" 265 + version = "1.0.64" 266 + source = "registry+https://github.com/rust-lang/crates.io-index" 267 + checksum = "78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da" 268 + dependencies = [ 269 + "unicode-ident", 270 + ] 271 + 272 + [[package]] 273 + name = "pydantic-core" 274 + version = "2.3.0" 275 + dependencies = [ 276 + "ahash", 277 + "base64", 278 + "enum_dispatch", 279 + "idna 0.3.0", 280 + "mimalloc", 281 + "num-bigint", 282 + "pyo3", 283 + "pyo3-build-config", 284 + "python3-dll-a", 285 + "regex", 286 + "serde", 287 + "serde_json", 288 + "speedate", 289 + "strum", 290 + "strum_macros 0.24.3", 291 + "url", 292 + "version_check", 293 + ] 294 + 295 + [[package]] 296 + name = "pyo3" 297 + version = "0.19.1" 298 + source = "registry+https://github.com/rust-lang/crates.io-index" 299 + checksum = "ffb88ae05f306b4bfcde40ac4a51dc0b05936a9207a4b75b798c7729c4258a59" 300 + dependencies = [ 301 + "cfg-if", 302 + "indoc", 303 + "libc", 304 + "memoffset", 305 + "num-bigint", 306 + "parking_lot", 307 + "pyo3-build-config", 308 + "pyo3-ffi", 309 + "pyo3-macros", 310 + "unindent", 311 + ] 312 + 313 + [[package]] 314 + name = "pyo3-build-config" 315 + version = "0.19.1" 316 + source = "registry+https://github.com/rust-lang/crates.io-index" 317 + checksum = "554db24f0b3c180a9c0b1268f91287ab3f17c162e15b54caaae5a6b3773396b0" 318 + dependencies = [ 319 + "once_cell", 320 + "python3-dll-a", 321 + "target-lexicon", 322 + ] 323 + 324 + [[package]] 325 + name = "pyo3-ffi" 326 + version = "0.19.1" 327 + source = "registry+https://github.com/rust-lang/crates.io-index" 328 + checksum = "922ede8759e8600ad4da3195ae41259654b9c55da4f7eec84a0ccc7d067a70a4" 329 + dependencies = [ 330 + "libc", 331 + "pyo3-build-config", 332 + ] 333 + 334 + [[package]] 335 + name = "pyo3-macros" 336 + version = "0.19.1" 337 + source = "registry+https://github.com/rust-lang/crates.io-index" 338 + checksum = "8a5caec6a1dd355964a841fcbeeb1b89fe4146c87295573f94228911af3cc5a2" 339 + dependencies = [ 340 + "proc-macro2", 341 + "pyo3-macros-backend", 342 + "quote", 343 + "syn 1.0.109", 344 + ] 345 + 346 + [[package]] 347 + name = "pyo3-macros-backend" 348 + version = "0.19.1" 349 + source = "registry+https://github.com/rust-lang/crates.io-index" 350 + checksum = "e0b78ccbb160db1556cdb6fd96c50334c5d4ec44dc5e0a968d0a1208fa0efa8b" 351 + dependencies = [ 352 + "proc-macro2", 353 + "quote", 354 + "syn 1.0.109", 355 + ] 356 + 357 + [[package]] 358 + name = "python3-dll-a" 359 + version = "0.2.9" 360 + source = "registry+https://github.com/rust-lang/crates.io-index" 361 + checksum = "d5f07cd4412be8fa09a721d40007c483981bbe072cd6a21f2e83e04ec8f8343f" 362 + dependencies = [ 363 + "cc", 364 + ] 365 + 366 + [[package]] 367 + name = "quote" 368 + version = "1.0.29" 369 + source = "registry+https://github.com/rust-lang/crates.io-index" 370 + checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" 371 + dependencies = [ 372 + "proc-macro2", 373 + ] 374 + 375 + [[package]] 376 + name = "redox_syscall" 377 + version = "0.3.5" 378 + source = "registry+https://github.com/rust-lang/crates.io-index" 379 + checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 380 + dependencies = [ 381 + "bitflags", 382 + ] 383 + 384 + [[package]] 385 + name = "regex" 386 + version = "1.9.1" 387 + source = "registry+https://github.com/rust-lang/crates.io-index" 388 + checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" 389 + dependencies = [ 390 + "aho-corasick", 391 + "memchr", 392 + "regex-automata", 393 + "regex-syntax", 394 + ] 395 + 396 + [[package]] 397 + name = "regex-automata" 398 + version = "0.3.2" 399 + source = "registry+https://github.com/rust-lang/crates.io-index" 400 + checksum = "83d3daa6976cffb758ec878f108ba0e062a45b2d6ca3a2cca965338855476caf" 401 + dependencies = [ 402 + "aho-corasick", 403 + "memchr", 404 + "regex-syntax", 405 + ] 406 + 407 + [[package]] 408 + name = "regex-syntax" 409 + version = "0.7.4" 410 + source = "registry+https://github.com/rust-lang/crates.io-index" 411 + checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" 412 + 413 + [[package]] 414 + name = "rustversion" 415 + version = "1.0.13" 416 + source = "registry+https://github.com/rust-lang/crates.io-index" 417 + checksum = "dc31bd9b61a32c31f9650d18add92aa83a49ba979c143eefd27fe7177b05bd5f" 418 + 419 + [[package]] 420 + name = "ryu" 421 + version = "1.0.14" 422 + source = "registry+https://github.com/rust-lang/crates.io-index" 423 + checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" 424 + 425 + [[package]] 426 + name = "scopeguard" 427 + version = "1.1.0" 428 + source = "registry+https://github.com/rust-lang/crates.io-index" 429 + checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 430 + 431 + [[package]] 432 + name = "serde" 433 + version = "1.0.171" 434 + source = "registry+https://github.com/rust-lang/crates.io-index" 435 + checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" 436 + dependencies = [ 437 + "serde_derive", 438 + ] 439 + 440 + [[package]] 441 + name = "serde_derive" 442 + version = "1.0.171" 443 + source = "registry+https://github.com/rust-lang/crates.io-index" 444 + checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682" 445 + dependencies = [ 446 + "proc-macro2", 447 + "quote", 448 + "syn 2.0.25", 449 + ] 450 + 451 + [[package]] 452 + name = "serde_json" 453 + version = "1.0.100" 454 + source = "registry+https://github.com/rust-lang/crates.io-index" 455 + checksum = "0f1e14e89be7aa4c4b78bdbdc9eb5bf8517829a600ae8eaa39a6e1d960b5185c" 456 + dependencies = [ 457 + "indexmap", 458 + "itoa", 459 + "ryu", 460 + "serde", 461 + ] 462 + 463 + [[package]] 464 + name = "smallvec" 465 + version = "1.11.0" 466 + source = "registry+https://github.com/rust-lang/crates.io-index" 467 + checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" 468 + 469 + [[package]] 470 + name = "speedate" 471 + version = "0.11.0" 472 + source = "registry+https://github.com/rust-lang/crates.io-index" 473 + checksum = "e54e4ea42510cf6cb46223f6974670faf58ef49e82040e924a295aa3f0c8eaa2" 474 + dependencies = [ 475 + "strum", 476 + "strum_macros 0.25.1", 477 + ] 478 + 479 + [[package]] 480 + name = "strum" 481 + version = "0.25.0" 482 + source = "registry+https://github.com/rust-lang/crates.io-index" 483 + checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" 484 + dependencies = [ 485 + "strum_macros 0.25.1", 486 + ] 487 + 488 + [[package]] 489 + name = "strum_macros" 490 + version = "0.24.3" 491 + source = "registry+https://github.com/rust-lang/crates.io-index" 492 + checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" 493 + dependencies = [ 494 + "heck", 495 + "proc-macro2", 496 + "quote", 497 + "rustversion", 498 + "syn 1.0.109", 499 + ] 500 + 501 + [[package]] 502 + name = "strum_macros" 503 + version = "0.25.1" 504 + source = "registry+https://github.com/rust-lang/crates.io-index" 505 + checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232" 506 + dependencies = [ 507 + "heck", 508 + "proc-macro2", 509 + "quote", 510 + "rustversion", 511 + "syn 2.0.25", 512 + ] 513 + 514 + [[package]] 515 + name = "syn" 516 + version = "1.0.109" 517 + source = "registry+https://github.com/rust-lang/crates.io-index" 518 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 519 + dependencies = [ 520 + "proc-macro2", 521 + "quote", 522 + "unicode-ident", 523 + ] 524 + 525 + [[package]] 526 + name = "syn" 527 + version = "2.0.25" 528 + source = "registry+https://github.com/rust-lang/crates.io-index" 529 + checksum = "15e3fc8c0c74267e2df136e5e5fb656a464158aa57624053375eb9c8c6e25ae2" 530 + dependencies = [ 531 + "proc-macro2", 532 + "quote", 533 + "unicode-ident", 534 + ] 535 + 536 + [[package]] 537 + name = "target-lexicon" 538 + version = "0.12.9" 539 + source = "registry+https://github.com/rust-lang/crates.io-index" 540 + checksum = "df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0" 541 + 542 + [[package]] 543 + name = "tinyvec" 544 + version = "1.6.0" 545 + source = "registry+https://github.com/rust-lang/crates.io-index" 546 + checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 547 + dependencies = [ 548 + "tinyvec_macros", 549 + ] 550 + 551 + [[package]] 552 + name = "tinyvec_macros" 553 + version = "0.1.1" 554 + source = "registry+https://github.com/rust-lang/crates.io-index" 555 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 556 + 557 + [[package]] 558 + name = "unicode-bidi" 559 + version = "0.3.13" 560 + source = "registry+https://github.com/rust-lang/crates.io-index" 561 + checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 562 + 563 + [[package]] 564 + name = "unicode-ident" 565 + version = "1.0.10" 566 + source = "registry+https://github.com/rust-lang/crates.io-index" 567 + checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" 568 + 569 + [[package]] 570 + name = "unicode-normalization" 571 + version = "0.1.22" 572 + source = "registry+https://github.com/rust-lang/crates.io-index" 573 + checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 574 + dependencies = [ 575 + "tinyvec", 576 + ] 577 + 578 + [[package]] 579 + name = "unindent" 580 + version = "0.1.11" 581 + source = "registry+https://github.com/rust-lang/crates.io-index" 582 + checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c" 583 + 584 + [[package]] 585 + name = "url" 586 + version = "2.4.0" 587 + source = "registry+https://github.com/rust-lang/crates.io-index" 588 + checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" 589 + dependencies = [ 590 + "form_urlencoded", 591 + "idna 0.4.0", 592 + "percent-encoding", 593 + ] 594 + 595 + [[package]] 596 + name = "version_check" 597 + version = "0.9.4" 598 + source = "registry+https://github.com/rust-lang/crates.io-index" 599 + checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 600 + 601 + [[package]] 602 + name = "wasi" 603 + version = "0.11.0+wasi-snapshot-preview1" 604 + source = "registry+https://github.com/rust-lang/crates.io-index" 605 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 606 + 607 + [[package]] 608 + name = "windows-targets" 609 + version = "0.48.1" 610 + source = "registry+https://github.com/rust-lang/crates.io-index" 611 + checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" 612 + dependencies = [ 613 + "windows_aarch64_gnullvm", 614 + "windows_aarch64_msvc", 615 + "windows_i686_gnu", 616 + "windows_i686_msvc", 617 + "windows_x86_64_gnu", 618 + "windows_x86_64_gnullvm", 619 + "windows_x86_64_msvc", 620 + ] 621 + 622 + [[package]] 623 + name = "windows_aarch64_gnullvm" 624 + version = "0.48.0" 625 + source = "registry+https://github.com/rust-lang/crates.io-index" 626 + checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 627 + 628 + [[package]] 629 + name = "windows_aarch64_msvc" 630 + version = "0.48.0" 631 + source = "registry+https://github.com/rust-lang/crates.io-index" 632 + checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 633 + 634 + [[package]] 635 + name = "windows_i686_gnu" 636 + version = "0.48.0" 637 + source = "registry+https://github.com/rust-lang/crates.io-index" 638 + checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 639 + 640 + [[package]] 641 + name = "windows_i686_msvc" 642 + version = "0.48.0" 643 + source = "registry+https://github.com/rust-lang/crates.io-index" 644 + checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 645 + 646 + [[package]] 647 + name = "windows_x86_64_gnu" 648 + version = "0.48.0" 649 + source = "registry+https://github.com/rust-lang/crates.io-index" 650 + checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 651 + 652 + [[package]] 653 + name = "windows_x86_64_gnullvm" 654 + version = "0.48.0" 655 + source = "registry+https://github.com/rust-lang/crates.io-index" 656 + checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 657 + 658 + [[package]] 659 + name = "windows_x86_64_msvc" 660 + version = "0.48.0" 661 + source = "registry+https://github.com/rust-lang/crates.io-index" 662 + checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
+71
pkgs/development/python-modules/pydantic-core/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , cargo 5 + , rustPlatform 6 + , rustc 7 + , typing-extensions 8 + , pytestCheckHook 9 + , hypothesis 10 + , pytest-timeout 11 + , pytest-mock 12 + , dirty-equals 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "pydantic-core"; 17 + version = "2.3.0"; 18 + format = "pyproject"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "pydantic"; 22 + repo = "pydantic-core"; 23 + rev = "v${version}"; 24 + hash = "sha256-Wi+b+xiJtVi3KIy6bzT29kyHFSI7mbMNrLa/Iu3cTEY="; 25 + }; 26 + 27 + patches = [ 28 + ./01-remove-benchmark-flags.patch 29 + ]; 30 + 31 + cargoDeps = rustPlatform.importCargoLock { 32 + lockFile = ./Cargo.lock; 33 + }; 34 + 35 + nativeBuildInputs = [ 36 + cargo 37 + rustPlatform.cargoSetupHook 38 + rustPlatform.maturinBuildHook 39 + rustc 40 + typing-extensions 41 + ]; 42 + 43 + propagatedBuildInputs = [ 44 + typing-extensions 45 + ]; 46 + 47 + pythonImportsCheck = [ "pydantic_core" ]; 48 + 49 + nativeCheckInputs = [ 50 + pytestCheckHook 51 + hypothesis 52 + pytest-timeout 53 + dirty-equals 54 + pytest-mock 55 + ]; 56 + disabledTests = [ 57 + # RecursionError: maximum recursion depth exceeded while calling a Python object 58 + "test_recursive" 59 + ]; 60 + disabledTestPaths = [ 61 + # no point in benchmarking in nixpkgs build farm 62 + "tests/benchmarks" 63 + ]; 64 + 65 + meta = with lib; { 66 + description = "Core validation logic for pydantic written in rust"; 67 + homepage = "https://github.com/pydantic/pydantic-core"; 68 + license = licenses.mit; 69 + maintainers = with maintainers; [ blaggacao ]; 70 + }; 71 + }
+12
pkgs/development/python-modules/pydevd/default.nix
··· 2 , lib 3 , buildPythonPackage 4 , fetchFromGitHub 5 , numpy 6 , psutil 7 , pytestCheckHook ··· 23 rev = "pydev_debugger_${lib.replaceStrings ["."] ["_"] version}"; 24 hash = "sha256-TDU/V7kY7zVxiP4OVjGqpsRVYplpkgCly2qAOqhZONo="; 25 }; 26 27 nativeCheckInputs = [ 28 numpy
··· 2 , lib 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , fetchpatch 6 , numpy 7 , psutil 8 , pytestCheckHook ··· 24 rev = "pydev_debugger_${lib.replaceStrings ["."] ["_"] version}"; 25 hash = "sha256-TDU/V7kY7zVxiP4OVjGqpsRVYplpkgCly2qAOqhZONo="; 26 }; 27 + 28 + patches = [ 29 + # https://github.com/fabioz/PyDev.Debugger/pull/258 30 + (fetchpatch { 31 + name = "numpy-1.25-test-compatibility.patch"; 32 + url = "https://github.com/fabioz/PyDev.Debugger/commit/6f637d951cda62dc2202a2c7b6af526c4d1e8a00.patch"; 33 + hash = "sha256-DLzZZwQHtqGZGA8nsBLNQqamuI4xUfQ89Gd21sJa9/s="; 34 + }) 35 + ]; 36 + 37 + __darwinAllowLocalNetworking = true; 38 39 nativeCheckInputs = [ 40 numpy
+3 -11
pkgs/development/python-modules/pygit2/default.nix
··· 6 , cffi 7 , fetchPypi 8 , isPyPy 9 - , libgit2 10 , pycparser 11 , pytestCheckHook 12 , pythonOlder ··· 25 }; 26 27 preConfigure = lib.optionalString stdenv.isDarwin '' 28 - export DYLD_LIBRARY_PATH="${libgit2}/lib" 29 ''; 30 31 buildInputs = [ 32 - libgit2 33 ]; 34 35 propagatedBuildInputs = [ ··· 57 # Tests require certificates 58 # https://github.com/NixOS/nixpkgs/pull/72544#issuecomment-582674047 59 SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; 60 - 61 - # setup.py check is broken 62 - # https://github.com/libgit2/pygit2/issues/868 63 - dontUseSetuptoolsCheck = true; 64 - 65 - # TODO: Test collection is failing 66 - # https://github.com/NixOS/nixpkgs/pull/72544#issuecomment-582681068 67 - doCheck = false; 68 69 pythonImportsCheck = [ 70 "pygit2"
··· 6 , cffi 7 , fetchPypi 8 , isPyPy 9 + , libgit2_1_6 10 , pycparser 11 , pytestCheckHook 12 , pythonOlder ··· 25 }; 26 27 preConfigure = lib.optionalString stdenv.isDarwin '' 28 + export DYLD_LIBRARY_PATH="${libgit2_1_6}/lib" 29 ''; 30 31 buildInputs = [ 32 + libgit2_1_6 33 ]; 34 35 propagatedBuildInputs = [ ··· 57 # Tests require certificates 58 # https://github.com/NixOS/nixpkgs/pull/72544#issuecomment-582674047 59 SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; 60 61 pythonImportsCheck = [ 62 "pygit2"
+2 -2
pkgs/development/python-modules/pygments-better-html/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "pygments_better_html"; 10 - version = "0.1.4"; 11 disabled = ! isPy3k; 12 13 src = fetchPypi { 14 inherit pname version; 15 - sha256 = "028szd3k295yhz943bj19i4kx6f0pfh1fd2q14id0g84dl4i49dm"; 16 }; 17 18 propagatedBuildInputs = [ pygments ];
··· 7 8 buildPythonPackage rec { 9 pname = "pygments_better_html"; 10 + version = "0.1.5"; 11 disabled = ! isPy3k; 12 13 src = fetchPypi { 14 inherit pname version; 15 + sha256 = "sha256-SLAe5ubIGEchUNoHCct6CWisBja3WNEfpE48v9CTzPQ="; 16 }; 17 18 propagatedBuildInputs = [ pygments ];
+15 -8
pkgs/development/python-modules/pygments/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , docutils 5 - , lxml 6 , pytestCheckHook 7 , wcag-contrast-ratio 8 }: ··· 10 let pygments = buildPythonPackage 11 rec { 12 pname = "pygments"; 13 - version = "2.14.0"; 14 15 src = fetchPypi { 16 pname = "Pygments"; 17 inherit version; 18 - hash = "sha256-s+0GqeismpquWm9dvniopYZV0XtDuTwHjwlN3Edq4pc="; 19 }; 20 21 - propagatedBuildInputs = [ 22 - docutils 23 ]; 24 25 # circular dependencies if enabled by default 26 doCheck = false; 27 nativeCheckInputs = [ 28 - lxml 29 pytestCheckHook 30 wcag-contrast-ratio 31 ]; ··· 35 "tests/examplefiles/bash/ltmain.sh" 36 ]; 37 38 - pythonImportsCheck = [ "pygments" ]; 39 40 passthru.tests = { 41 check = pygments.overridePythonAttrs (_: { doCheck = true; }); 42 }; 43 44 meta = with lib; { 45 homepage = "https://pygments.org/"; 46 description = "A generic syntax highlighter"; 47 mainProgram = "pygmentize";
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + 5 + # build-system 6 + , setuptools 7 + 8 + # tests 9 , pytestCheckHook 10 , wcag-contrast-ratio 11 }: ··· 13 let pygments = buildPythonPackage 14 rec { 15 pname = "pygments"; 16 + version = "2.15.1"; 17 + format = "pyproject"; 18 19 src = fetchPypi { 20 pname = "Pygments"; 21 inherit version; 22 + hash = "sha256-is5NPB3UgYlLIAX1YOrQ+fGe5k/pgzZr4aIeFx0Sd1w="; 23 }; 24 25 + nativeBuildInputs = [ 26 + setuptools 27 ]; 28 29 # circular dependencies if enabled by default 30 doCheck = false; 31 + 32 nativeCheckInputs = [ 33 pytestCheckHook 34 wcag-contrast-ratio 35 ]; ··· 39 "tests/examplefiles/bash/ltmain.sh" 40 ]; 41 42 + pythonImportsCheck = [ 43 + "pygments" 44 + ]; 45 46 passthru.tests = { 47 check = pygments.overridePythonAttrs (_: { doCheck = true; }); 48 }; 49 50 meta = with lib; { 51 + changelog = "https://github.com/pygments/pygments/releases/tag/${version}"; 52 homepage = "https://pygments.org/"; 53 description = "A generic syntax highlighter"; 54 mainProgram = "pygmentize";
+7 -2
pkgs/development/python-modules/pyjwt/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "pyjwt"; 14 - version = "2.7.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 19 src = fetchPypi { 20 pname = "PyJWT"; 21 inherit version; 22 - hash = "sha256-vWyko8QoXBotQ0nloDX9+PuU4EzND8vmuiidrpzD4HQ="; 23 }; 24 25 postPatch = '' ··· 44 nativeCheckInputs = [ 45 pytestCheckHook 46 ] ++ (lib.flatten (lib.attrValues passthru.optional-dependencies)); 47 48 pythonImportsCheck = [ "jwt" ]; 49
··· 11 12 buildPythonPackage rec { 13 pname = "pyjwt"; 14 + version = "2.8.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 19 src = fetchPypi { 20 pname = "PyJWT"; 21 inherit version; 22 + hash = "sha256-V+KNFW49XBAIjgxoq7kL+sPfgrQKcb0NqiDGXM1cI94="; 23 }; 24 25 postPatch = '' ··· 44 nativeCheckInputs = [ 45 pytestCheckHook 46 ] ++ (lib.flatten (lib.attrValues passthru.optional-dependencies)); 47 + 48 + disabledTests = [ 49 + # requires internet connection 50 + "test_get_jwt_set_sslcontext_default" 51 + ]; 52 53 pythonImportsCheck = [ "jwt" ]; 54
+3 -2
pkgs/development/python-modules/pylint/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "pylint"; 25 - version = "2.16.2"; 26 format = "pyproject"; 27 28 disabled = pythonOlder "3.7.2"; ··· 31 owner = "PyCQA"; 32 repo = pname; 33 rev = "v${version}"; 34 - hash = "sha256-xNCGf4CsxEKScIn6dl2Ka31P6bhMo5fTs9TIQz+vPiM="; 35 }; 36 37 nativeBuildInputs = [ ··· 68 # implementation relies on the '__implements__' attribute proposed 69 # in PEP 245, which was rejected in 2006. 70 "-W" "ignore::DeprecationWarning" 71 ]; 72 73 dontUseSetuptoolsCheck = true;
··· 22 23 buildPythonPackage rec { 24 pname = "pylint"; 25 + version = "2.17.5"; 26 format = "pyproject"; 27 28 disabled = pythonOlder "3.7.2"; ··· 31 owner = "PyCQA"; 32 repo = pname; 33 rev = "v${version}"; 34 + hash = "sha256-cmH6Q6/XJXx8EXDIsik1Aheu9hYGvvlNvWBUCdmC3P8="; 35 }; 36 37 nativeBuildInputs = [ ··· 68 # implementation relies on the '__implements__' attribute proposed 69 # in PEP 245, which was rejected in 2006. 70 "-W" "ignore::DeprecationWarning" 71 + "-v" 72 ]; 73 74 dontUseSetuptoolsCheck = true;
+2 -2
pkgs/development/python-modules/pyopenssl/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "pyopenssl"; 16 - version = "23.1.1"; 17 format = "setuptools"; 18 19 src = fetchPypi { 20 pname = "pyOpenSSL"; 21 inherit version; 22 - hash = "sha256-hBSYub7GFiOxtsR+u8AjZ8B9YODhlfGXkIF/EMyNsLc="; 23 }; 24 25 outputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "pyopenssl"; 16 + version = "23.2.0"; 17 format = "setuptools"; 18 19 src = fetchPypi { 20 pname = "pyOpenSSL"; 21 inherit version; 22 + hash = "sha256-J2+TH1WkUufeppxxc+mE6ypEB85BPJGKo0tV+C+bi6w="; 23 }; 24 25 outputs = [
+2 -2
pkgs/development/python-modules/pyopnsense/default.nix
··· 4 , fixtures 5 , mock 6 , pbr 7 - , pytest-cov 8 , pytestCheckHook 9 , pythonOlder 10 , requests 11 }: 12 13 buildPythonPackage rec { ··· 29 nativeCheckInputs = [ 30 fixtures 31 mock 32 - pytest-cov 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [
··· 4 , fixtures 5 , mock 6 , pbr 7 , pytestCheckHook 8 , pythonOlder 9 , requests 10 + , testtools 11 }: 12 13 buildPythonPackage rec { ··· 29 nativeCheckInputs = [ 30 fixtures 31 mock 32 pytestCheckHook 33 + testtools 34 ]; 35 36 pythonImportsCheck = [
+3 -3
pkgs/development/python-modules/pytest-asyncio/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "pytest-asyncio"; 15 - version = "0.20.3"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 21 owner = "pytest-dev"; 22 repo = pname; 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-oq28wJ/Tq4yuQ/98tdzYKDyatpliS0Xcbc6T46ZTP7I="; 25 }; 26 27 outputs = [ ··· 54 meta = with lib; { 55 description = "Library for testing asyncio code with pytest"; 56 homepage = "https://github.com/pytest-dev/pytest-asyncio"; 57 - changelog = "https://github.com/pytest-dev/pytest-asyncio/blob/v${version}/CHANGELOG.rst"; 58 license = licenses.asl20; 59 maintainers = with maintainers; [ dotlambda ]; 60 };
··· 12 13 buildPythonPackage rec { 14 pname = "pytest-asyncio"; 15 + version = "0.21.1"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 21 owner = "pytest-dev"; 22 repo = pname; 23 rev = "refs/tags/v${version}"; 24 + hash = "sha256-Wpo8MpCPGiXrckT2x5/yBYtGlzso/L2urG7yGc7SPkA="; 25 }; 26 27 outputs = [ ··· 54 meta = with lib; { 55 description = "Library for testing asyncio code with pytest"; 56 homepage = "https://github.com/pytest-dev/pytest-asyncio"; 57 + changelog = "https://github.com/pytest-dev/pytest-asyncio/blob/v${version}/docs/source/reference/changelog.rst"; 58 license = licenses.asl20; 59 maintainers = with maintainers; [ dotlambda ]; 60 };
+2
pkgs/development/python-modules/pytest-asyncio/tests.nix
··· 10 pname = "pytest-asyncio-tests"; 11 inherit (pytest-asyncio) version; 12 13 src = pytest-asyncio.testout; 14 15 dontBuild = true;
··· 10 pname = "pytest-asyncio-tests"; 11 inherit (pytest-asyncio) version; 12 13 + format = "other"; 14 + 15 src = pytest-asyncio.testout; 16 17 dontBuild = true;
+2 -2
pkgs/development/python-modules/pytest-cov/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "pytest-cov"; 12 - version = "4.0.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-mWt5795kM829AIiHLbxfs+1/4VeLaM27pjTxS7jdBHA="; 17 }; 18 19 buildInputs = [ pytest ];
··· 9 10 buildPythonPackage rec { 11 pname = "pytest-cov"; 12 + version = "4.1.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + hash = "sha256-OQSxPfv+xH8AO453/VtYnNEZBKId3xqzimTyBNahDvY="; 17 }; 18 19 buildInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/pytest-env/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "pytest-env"; 12 - version = "0.8.1"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 pname = "pytest_env"; 17 inherit version; 18 - hash = "sha256-17L1Jz7G0eIhdXmYvC9Q0kdO19C5MxuSVWAR+txOmr8="; 19 }; 20 21 nativeBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "pytest-env"; 12 + version = "0.8.2"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 pname = "pytest_env"; 17 inherit version; 18 + hash = "sha256-uu2bO2uud711uSOODtHuaQOkKAaunWrv+4dUzVWE1P8="; 19 }; 20 21 nativeBuildInputs = [
+30 -13
pkgs/development/python-modules/pytest-factoryboy/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , factory_boy 4 , fetchFromGitHub 5 - , inflection 6 - , mock 7 , pytest 8 - , pytestcache 9 , pytestCheckHook 10 - , pytest-cov 11 }: 12 13 buildPythonPackage rec { 14 pname = "pytest-factoryboy"; 15 - version = "2.1.0"; 16 17 src = fetchFromGitHub { 18 owner = "pytest-dev"; 19 repo = "pytest-factoryboy"; 20 rev = version; 21 - sha256 = "0v6b4ly0p8nknpnp3f4dbslfsifzzjx2vv27rfylx04kzdhg4m9p"; 22 }; 23 24 - buildInputs = [ pytest ]; 25 26 propagatedBuildInputs = [ 27 factory_boy 28 inflection 29 ]; 30 31 nativeCheckInputs = [ 32 - mock 33 pytestCheckHook 34 - pytestcache 35 - pytest-cov 36 ]; 37 38 - pytestFlagsArray = [ "--ignore=docs" ]; 39 - pythonImportsCheck = [ "pytest_factoryboy" ]; 40 41 meta = with lib; { 42 description = "Integration of factory_boy into the pytest runner";
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + 5 + # build-system 6 + , poetry-core 7 + 8 + # unpropagated 9 , pytest 10 + 11 + # propagated 12 + , inflection 13 + , factory_boy 14 + , typing-extensions 15 + 16 + # tests 17 , pytestCheckHook 18 }: 19 20 buildPythonPackage rec { 21 pname = "pytest-factoryboy"; 22 + version = "2.5.1"; 23 + format = "pyproject"; 24 25 src = fetchFromGitHub { 26 owner = "pytest-dev"; 27 repo = "pytest-factoryboy"; 28 rev = version; 29 + sha256 = "sha256-zxgezo2PRBKs0mps0qdKWtBygunzlaxg8s9BoBaU1Ig="; 30 }; 31 32 + nativeBuildInputs = [ 33 + poetry-core 34 + ]; 35 + 36 + buildInputs = [ 37 + pytest 38 + ]; 39 40 propagatedBuildInputs = [ 41 factory_boy 42 inflection 43 + typing-extensions 44 + ]; 45 + 46 + pythonImportsCheck = [ 47 + "pytest_factoryboy" 48 ]; 49 50 nativeCheckInputs = [ 51 pytestCheckHook 52 ]; 53 54 + pytestFlagsArray = [ 55 + "--ignore=docs" 56 + ]; 57 58 meta = with lib; { 59 description = "Integration of factory_boy into the pytest runner";
+2 -2
pkgs/development/python-modules/pytest-httpserver/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "pytest-httpserver"; 14 - version = "1.0.6"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "csernazs"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-LY5Ur0cIcsNrgvyQlY2E479ZzRcuwqTuiT2MtRupVcs="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "pytest-httpserver"; 14 + version = "1.0.7"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "csernazs"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 + hash = "sha256-bjysG+7niSUBl8YMWR8pr7oOz9GDbSfq3PeloYBkq3s="; 24 }; 25 26 nativeBuildInputs = [
+6 -6
pkgs/development/python-modules/pytest-metadata/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , poetry-core 5 , pytest 6 , pytestCheckHook 7 , pythonOlder 8 - , setuptools-scm 9 }: 10 11 buildPythonPackage rec { 12 pname = "pytest-metadata"; 13 - version = "2.0.4"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; ··· 18 src = fetchPypi { 19 pname = "pytest_metadata"; 20 inherit version; 21 - hash = "sha256-/MZT9l/jA1tHiCC1KE+/D1KANiLuP2Ci+u16fTuh9B4="; 22 }; 23 24 nativeBuildInputs = [ 25 - poetry-core 26 - setuptools-scm 27 ]; 28 29 buildInputs = [
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , hatch-vcs 5 + , hatchling 6 , pytest 7 , pytestCheckHook 8 , pythonOlder 9 }: 10 11 buildPythonPackage rec { 12 pname = "pytest-metadata"; 13 + version = "3.0.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; ··· 18 src = fetchPypi { 19 pname = "pytest_metadata"; 20 inherit version; 21 + hash = "sha256-dpqcZdKIS9WDvGJrCs53rRXb4C3ZGpEG1H/UbZwlaco="; 22 }; 23 24 nativeBuildInputs = [ 25 + hatchling 26 + hatch-vcs 27 ]; 28 29 buildInputs = [
+2 -10
pkgs/development/python-modules/pytest-mock/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "pytest-mock"; 14 - version = "3.10.0"; 15 16 disabled = pythonOlder "3.7"; 17 ··· 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-+72whe98JSoyb9jNysCqOxMz2IEfExvcxwEALhvn7U8="; 23 }; 24 - 25 - patches = [ 26 - (fetchpatch { 27 - # Remove unnecessary py.code import 28 - url = "https://github.com/pytest-dev/pytest-mock/pull/328/commits/e2016928db1147a2a46de6ee9fa878ca0e9d8fc8.patch"; 29 - hash = "sha256-5Gpzi7h7Io1CMykmBCZR/upM8E9isc3jEItYgwjEOWA="; 30 - }) 31 - ]; 32 33 nativeBuildInputs = [ setuptools-scm ]; 34
··· 11 12 buildPythonPackage rec { 13 pname = "pytest-mock"; 14 + version = "3.11.1"; 15 16 disabled = pythonOlder "3.7"; 17 ··· 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-f2sSVgKsbXQ+Ujrgv6ceGml6L1U0BkUoxv+EwvfC/H8="; 23 }; 24 25 nativeBuildInputs = [ setuptools-scm ]; 26
+10 -4
pkgs/development/python-modules/pytest-randomly/default.nix
··· 8 , pytest-xdist 9 , pytestCheckHook 10 , pythonOlder 11 }: 12 13 buildPythonPackage rec { 14 pname = "pytest-randomly"; 15 - version = "3.12.0"; 16 - format = "setuptools"; 17 18 - disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 repo = pname; 22 owner = "pytest-dev"; 23 rev = version; 24 - hash = "sha256-n/Xp/HghqcQUreez+QbR3Mi5hE1U4zoOJCdFqD+pVBk="; 25 }; 26 27 propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ 28 importlib-metadata ··· 47 ]; 48 49 meta = with lib; { 50 description = "Pytest plugin to randomly order tests and control random.seed"; 51 homepage = "https://github.com/pytest-dev/pytest-randomly"; 52 license = licenses.mit;
··· 8 , pytest-xdist 9 , pytestCheckHook 10 , pythonOlder 11 + , setuptools 12 }: 13 14 buildPythonPackage rec { 15 pname = "pytest-randomly"; 16 + version = "3.13.0"; 17 + format = "pyproject"; 18 19 + disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 repo = pname; 23 owner = "pytest-dev"; 24 rev = version; 25 + hash = "sha256-bxbW22Nf/0hfJYSiz3xdrNCzrb7vZwuVvSIrWl0Bkv4="; 26 }; 27 + 28 + nativeBuildInputs = [ 29 + setuptools 30 + ]; 31 32 propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ 33 importlib-metadata ··· 52 ]; 53 54 meta = with lib; { 55 + changelog = "https://github.com/pytest-dev/pytest-randomly/blob/${version}/CHANGELOG.rst"; 56 description = "Pytest plugin to randomly order tests and control random.seed"; 57 homepage = "https://github.com/pytest-dev/pytest-randomly"; 58 license = licenses.mit;
+2 -2
pkgs/development/python-modules/pytest-rerunfailures/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pytest-rerunfailures"; 13 - version = "11.1.2"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-VWEWYehz8cr6OEyC8I0HiDlU9LdkNfS4pbRwwZVFc94="; 21 }; 22 23 nativeBuildInputs = [ setuptools ];
··· 10 11 buildPythonPackage rec { 12 pname = "pytest-rerunfailures"; 13 + version = "12.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-eE9GL6h/6b33gdACfYVrR6S/5sEq8Qj2vYhwV6kXtI4="; 21 }; 22 23 nativeBuildInputs = [ setuptools ];
+5 -3
pkgs/development/python-modules/pytest-subtests/default.nix
··· 3 , fetchPypi 4 , pytestCheckHook 5 , pythonOlder 6 , setuptools-scm 7 }: 8 9 buildPythonPackage rec { 10 pname = "pytest-subtests"; 11 - version = "0.10.0"; 12 - format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-2ZYaZ8F5HoweMtznpw7R5U87HmQQh/IJTy03CHq3+xc="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools-scm 23 ]; 24
··· 3 , fetchPypi 4 , pytestCheckHook 5 , pythonOlder 6 + , setuptools 7 , setuptools-scm 8 }: 9 10 buildPythonPackage rec { 11 pname = "pytest-subtests"; 12 + version = "0.11.0"; 13 + format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-UYZciEV1RfUftyARlC8KPGkB7p4ky/ttG53BNIuvvjc="; 20 }; 21 22 nativeBuildInputs = [ 23 + setuptools 24 setuptools-scm 25 ]; 26
+2 -2
pkgs/development/python-modules/pytest-xdist/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "pytest-xdist"; 16 - version = "3.2.1"; 17 disabled = pythonOlder "3.7"; 18 19 format = "pyproject"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-GEm9mNiyQrlI5HLbdHjgkL8zYZEqj+2HmS7ZQIX1Ryc="; 24 }; 25 26 nativeBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "pytest-xdist"; 16 + version = "3.3.1"; 17 disabled = pythonOlder "3.7"; 18 19 format = "pyproject"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-1e4FIOsbe8ylCmClGKt6dweZKBLFeBmPi0T9+seOjJM="; 24 }; 25 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pytest/default.nix
··· 21 22 buildPythonPackage rec { 23 pname = "pytest"; 24 - version = "7.2.1"; 25 format = "pyproject"; 26 27 src = fetchPypi { 28 inherit pname version; 29 - hash = "sha256-1F4JUvNyckGRi4/Q83b1/2swHMB3fG+aVWk1yS2KfUI="; 30 }; 31 32 outputs = [
··· 21 22 buildPythonPackage rec { 23 pname = "pytest"; 24 + version = "7.4.0"; 25 format = "pyproject"; 26 27 src = fetchPypi { 28 inherit pname version; 29 + hash = "sha256-tL+MRb1Zk07YQAGtUeEbTuQNQKEinSx5+cWSsKP2vYo="; 30 }; 31 32 outputs = [
+28 -15
pkgs/development/python-modules/python-rtmidi/default.nix
··· 1 { lib 2 , stdenv 3 , buildPythonPackage 4 - , fetchPypi 5 - , pythonOlder 6 - , pythonAtLeast 7 - , pkg-config 8 - , alsa-lib 9 - , libjack2 10 - , tox 11 - , flake8 12 - , alabaster 13 , CoreAudio 14 , CoreMIDI 15 , CoreServices 16 }: 17 18 buildPythonPackage rec { 19 pname = "python-rtmidi"; 20 - version = "1.4.9"; 21 22 - # https://github.com/SpotlightKid/python-rtmidi/issues/115 23 - disabled = pythonOlder "3.6" || pythonAtLeast "3.11"; 24 25 src = fetchPypi { 26 - inherit pname version; 27 - sha256 = "bfeb4ed99d0cccf6fa2837566907652ded7adc1c03b69f2160c9de4082301302"; 28 }; 29 30 - nativeBuildInputs = [ pkg-config ]; 31 buildInputs = [ 32 libjack2 33 ] ++ lib.optionals stdenv.isLinux [ ··· 37 CoreMIDI 38 CoreServices 39 ]; 40 nativeCheckInputs = [ 41 tox 42 flake8 43 alabaster 44 ]; 45 46 meta = with lib; { 47 description = "A Python binding for the RtMidi C++ library implemented using Cython"; 48 homepage = "https://github.com/SpotlightKid/python-rtmidi"; 49 license = licenses.mit; 50 maintainers = with maintainers; [ hexa ]; 51 };
··· 1 { lib 2 , stdenv 3 + , alabaster 4 + , alsa-lib 5 , buildPythonPackage 6 , CoreAudio 7 , CoreMIDI 8 , CoreServices 9 + , fetchPypi 10 + , flake8 11 + , libjack2 12 + , meson-python 13 + , pkg-config 14 + , pythonOlder 15 + , setuptools 16 + , tox 17 }: 18 19 buildPythonPackage rec { 20 pname = "python-rtmidi"; 21 + version = "1.5.4"; 22 + format = "pyproject"; 23 24 + disabled = pythonOlder "3.7"; 25 26 src = fetchPypi { 27 + pname = "python_rtmidi"; 28 + inherit version; 29 + hash = "sha256-sLUGQoDba3iiYvqUFwMbIktSdZBb0OLhccfQ++FFRP0="; 30 }; 31 32 + nativeBuildInputs = [ 33 + meson-python 34 + pkg-config 35 + setuptools 36 + ]; 37 + 38 buildInputs = [ 39 libjack2 40 ] ++ lib.optionals stdenv.isLinux [ ··· 44 CoreMIDI 45 CoreServices 46 ]; 47 + 48 nativeCheckInputs = [ 49 tox 50 flake8 51 alabaster 52 ]; 53 54 + pythonImportsCheck = [ 55 + "rtmidi" 56 + ]; 57 + 58 meta = with lib; { 59 description = "A Python binding for the RtMidi C++ library implemented using Cython"; 60 homepage = "https://github.com/SpotlightKid/python-rtmidi"; 61 + changelog = "https://github.com/SpotlightKid/python-rtmidi/blob/${version}/CHANGELOG.md"; 62 license = licenses.mit; 63 maintainers = with maintainers; [ hexa ]; 64 };
+9 -8
pkgs/development/python-modules/pythran/default.nix
··· 4 , fetchFromGitHub 5 , openmp 6 , ply 7 - , networkx 8 - , decorator 9 , gast 10 - , six 11 , numpy 12 , beniget 13 , isPy3k 14 , substituteAll 15 }: ··· 19 20 in buildPythonPackage rec { 21 pname = "pythran"; 22 - version = "0.11.0"; 23 24 src = fetchFromGitHub { 25 owner = "serge-sans-paille"; 26 repo = "pythran"; 27 rev = version; 28 - hash = "sha256-F9gUZOTSuiqvfGoN4yQqwUg9mnCeBntw5eHO7ZnjpzI="; 29 }; 30 31 patches = [ ··· 36 }) 37 ]; 38 39 propagatedBuildInputs = [ 40 ply 41 - networkx 42 - decorator 43 gast 44 - six 45 numpy 46 beniget 47 ];
··· 4 , fetchFromGitHub 5 , openmp 6 , ply 7 , gast 8 , numpy 9 , beniget 10 + , xsimd 11 , isPy3k 12 , substituteAll 13 }: ··· 17 18 in buildPythonPackage rec { 19 pname = "pythran"; 20 + version = "0.13.1"; 21 22 src = fetchFromGitHub { 23 owner = "serge-sans-paille"; 24 repo = "pythran"; 25 rev = version; 26 + hash = "sha256-baDrReJgQXbaKA8KNhHiFjr0X34yb8WK/nUJmiM9EZs="; 27 }; 28 29 patches = [ ··· 34 }) 35 ]; 36 37 + # xsimd: unvendor this header-only C++ lib 38 + postPatch = '' 39 + rm -r third_party/xsimd 40 + ln -s '${lib.getDev xsimd}'/include/xsimd third_party/ 41 + ''; 42 + 43 propagatedBuildInputs = [ 44 ply 45 gast 46 numpy 47 beniget 48 ];
+9 -3
pkgs/development/python-modules/pyyaml/default.nix
··· 3 , pythonOlder 4 , fetchFromGitHub 5 , cython 6 , libyaml 7 , python 8 }: 9 10 buildPythonPackage rec { 11 pname = "pyyaml"; 12 - version = "6.0"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "yaml"; 18 repo = "pyyaml"; 19 rev = version; 20 - hash = "sha256-wcII32mRgRRmAgojntyxBMQkjvxU2jylCgVzlHAj2Xc="; 21 }; 22 23 - nativeBuildInputs = [ cython ]; 24 25 buildInputs = [ libyaml ]; 26
··· 3 , pythonOlder 4 , fetchFromGitHub 5 , cython 6 + , setuptools 7 , libyaml 8 , python 9 }: 10 11 buildPythonPackage rec { 12 pname = "pyyaml"; 13 + version = "6.0.1"; 14 15 disabled = pythonOlder "3.6"; 16 17 + format = "pyproject"; 18 + 19 src = fetchFromGitHub { 20 owner = "yaml"; 21 repo = "pyyaml"; 22 rev = version; 23 + hash = "sha256-YjWMyMVDByLsN5vEecaYjHpR1sbBey1L/khn4oH9SPA="; 24 }; 25 26 + nativeBuildInputs = [ 27 + cython 28 + setuptools 29 + ]; 30 31 buildInputs = [ libyaml ]; 32
+2
pkgs/development/python-modules/qtconsole/default.nix
··· 4 , ipykernel 5 , jupyter-core 6 , jupyter-client 7 , pygments 8 , pyqt5 9 , pytestCheckHook ··· 27 28 propagatedBuildInputs = [ 29 ipykernel 30 jupyter-core 31 jupyter-client 32 pygments
··· 4 , ipykernel 5 , jupyter-core 6 , jupyter-client 7 + , ipython_genutils 8 , pygments 9 , pyqt5 10 , pytestCheckHook ··· 28 29 propagatedBuildInputs = [ 30 ipykernel 31 + ipython_genutils 32 jupyter-core 33 jupyter-client 34 pygments
+2
pkgs/development/python-modules/quantulum3/default.nix
··· 12 , joblib 13 , wikipedia 14 , stemming 15 }: 16 let 17 pname = "quantulum3"; ··· 40 joblib 41 wikipedia 42 stemming 43 ]; 44 45 pythonImportsCheck = [ "quantulum3" ];
··· 12 , joblib 13 , wikipedia 14 , stemming 15 + , setuptools 16 }: 17 let 18 pname = "quantulum3"; ··· 41 joblib 42 wikipedia 43 stemming 44 + setuptools 45 ]; 46 47 pythonImportsCheck = [ "quantulum3" ];
+2 -2
pkgs/development/python-modules/rapidfuzz/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "rapidfuzz"; 21 - version = "3.0.0"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.7"; ··· 27 owner = "maxbachmann"; 28 repo = "RapidFuzz"; 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-rpUrMHIBr7sb0Cib6WYdLJ3KOPEgRnB0DCV/df1uE1A="; 31 }; 32 33 nativeBuildInputs = [
··· 18 19 buildPythonPackage rec { 20 pname = "rapidfuzz"; 21 + version = "3.1.1"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.7"; ··· 27 owner = "maxbachmann"; 28 repo = "RapidFuzz"; 29 rev = "refs/tags/v${version}"; 30 + hash = "sha256-nmPOYiozt5mDvFmEkRTIblECcGjV5650wZGGq+iSMPQ="; 31 }; 32 33 nativeBuildInputs = [
+44 -41
pkgs/development/python-modules/referencing/default.nix
··· 9 , pytestCheckHook 10 , pythonOlder 11 , rpds-py 12 - , setuptools-scm 13 }: 14 15 - buildPythonPackage rec { 16 - pname = "referencing"; 17 - version = "0.30.0"; 18 - format = "pyproject"; 19 20 - disabled = pythonOlder "3.7"; 21 22 - src = fetchFromGitHub { 23 - owner = "python-jsonschema"; 24 - repo = "referencing"; 25 - rev = "refs/tags/v${version}"; 26 - fetchSubmodules = true; 27 - hash = "sha256-nJSnZM3gg2+yfFAnOJzzXsmIEQdNf5ypt5R0O60NphA="; 28 - }; 29 30 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 31 32 - postPatch = '' 33 - sed -i "/Topic/d" pyproject.toml 34 - ''; 35 36 - nativeBuildInputs = [ 37 - hatch-vcs 38 - hatchling 39 - setuptools-scm 40 - ]; 41 42 - propagatedBuildInputs = [ 43 - attrs 44 - rpds-py 45 - ]; 46 47 - nativeCheckInputs = [ 48 - jsonschema 49 - pytest-subtests 50 - pytestCheckHook 51 - ]; 52 53 - pythonImportsCheck = [ 54 - "referencing" 55 - ]; 56 57 - meta = with lib; { 58 - description = "Cross-specification JSON referencing"; 59 - homepage = "https://github.com/python-jsonschema/referencing"; 60 - changelog = "https://github.com/python-jsonschema/referencing/blob/${version}/CHANGELOG.rst"; 61 - license = licenses.mit; 62 - maintainers = with maintainers; [ fab ]; 63 }; 64 - }
··· 9 , pytestCheckHook 10 , pythonOlder 11 , rpds-py 12 }: 13 14 15 + let 16 + self = buildPythonPackage rec { 17 + pname = "referencing"; 18 + version = "0.30.0"; 19 + format = "pyproject"; 20 21 + disabled = pythonOlder "3.7"; 22 + 23 + src = fetchFromGitHub { 24 + owner = "python-jsonschema"; 25 + repo = "referencing"; 26 + rev = "refs/tags/v${version}"; 27 + fetchSubmodules = true; 28 + hash = "sha256-nJSnZM3gg2+yfFAnOJzzXsmIEQdNf5ypt5R0O60NphA="; 29 + }; 30 + 31 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 32 33 + nativeBuildInputs = [ 34 + hatch-vcs 35 + hatchling 36 + ]; 37 38 + propagatedBuildInputs = [ 39 + attrs 40 + rpds-py 41 + ]; 42 43 + nativeCheckInputs = [ 44 + jsonschema 45 + pytest-subtests 46 + pytestCheckHook 47 + ]; 48 49 + # avoid infinite recursion with jsonschema 50 + doCheck = false; 51 52 + passthru.tests.referencing = self.overridePythonAttrs { doCheck = true; }; 53 54 + pythonImportsCheck = [ 55 + "referencing" 56 + ]; 57 58 + meta = with lib; { 59 + description = "Cross-specification JSON referencing"; 60 + homepage = "https://github.com/python-jsonschema/referencing"; 61 + changelog = "https://github.com/python-jsonschema/referencing/blob/${version}/CHANGELOG.rst"; 62 + license = licenses.mit; 63 + maintainers = with maintainers; [ fab ]; 64 + }; 65 }; 66 + in 67 + self
+2 -2
pkgs/development/python-modules/repath/default.nix
··· 1 { lib 2 - , python3 3 , buildPythonPackage 4 , fetchPypi 5 }: 6 7 buildPythonPackage rec { ··· 13 hash = "sha256-gpITm6xqDkP9nXBgXU6NrrJdRmcuSE7TGiTHzgrvD7c="; 14 }; 15 16 - propagatedBuildInputs = with python3.pkgs; [ 17 six 18 ]; 19
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , six 5 }: 6 7 buildPythonPackage rec { ··· 13 hash = "sha256-gpITm6xqDkP9nXBgXU6NrrJdRmcuSE7TGiTHzgrvD7c="; 14 }; 15 16 + propagatedBuildInputs = [ 17 six 18 ]; 19
+6 -14
pkgs/development/python-modules/requests-toolbelt/default.nix
··· 1 { lib 2 , betamax 3 , buildPythonPackage 4 - , fetchpatch 5 , fetchPypi 6 - , mock 7 , pyopenssl 8 , pytestCheckHook 9 , requests 10 }: 11 12 buildPythonPackage rec { 13 pname = "requests-toolbelt"; 14 - version = "0.10.1"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-YuCff/XMvakncqKfOUpJw61ssYHVaLEzdiayq7Yopj0="; 20 }; 21 22 propagatedBuildInputs = [ ··· 25 26 nativeCheckInputs = [ 27 betamax 28 - mock 29 pytestCheckHook 30 - ]; 31 - 32 - disabledTests = [ 33 - # https://github.com/requests/toolbelt/issues/306 34 - "test_no_content_length_header" 35 - "test_read_file" 36 - "test_reads_file_from_url_wrapper" 37 - "test_x509_der" 38 - "test_x509_pem" 39 ]; 40 41 pythonImportsCheck = [ ··· 45 meta = with lib; { 46 description = "Toolbelt of useful classes and functions to be used with requests"; 47 homepage = "http://toolbelt.rtfd.org"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ matthiasbeyer ]; 50 };
··· 1 { lib 2 , betamax 3 , buildPythonPackage 4 , fetchPypi 5 , pyopenssl 6 , pytestCheckHook 7 , requests 8 + , trustme 9 }: 10 11 buildPythonPackage rec { 12 pname = "requests-toolbelt"; 13 + version = "1.0.0"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-doGgo9BHAStb3A7jfX+PB+vnarCMrsz8OSHOI8iNW8Y="; 19 }; 20 21 propagatedBuildInputs = [ ··· 24 25 nativeCheckInputs = [ 26 betamax 27 + pyopenssl 28 pytestCheckHook 29 + trustme 30 ]; 31 32 pythonImportsCheck = [ ··· 36 meta = with lib; { 37 description = "Toolbelt of useful classes and functions to be used with requests"; 38 homepage = "http://toolbelt.rtfd.org"; 39 + changelog = "https://github.com/requests/toolbelt/blob/${version}/HISTORY.rst"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ matthiasbeyer ]; 42 };
+3 -2
pkgs/development/python-modules/ruamel-yaml/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "ruamel-yaml"; 11 - version = "0.17.21"; 12 13 src = fetchPypi { 14 pname = "ruamel.yaml"; 15 inherit version; 16 - hash = "sha256-i3zml6LyEnUqNcGsQURx3BbEJMlXO+SSa1b/P10jt68="; 17 }; 18 19 # Tests use relative paths ··· 27 meta = with lib; { 28 description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"; 29 homepage = "https://sourceforge.net/projects/ruamel-yaml/"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ ]; 32 };
··· 8 9 buildPythonPackage rec { 10 pname = "ruamel-yaml"; 11 + version = "0.17.32"; 12 13 src = fetchPypi { 14 pname = "ruamel.yaml"; 15 inherit version; 16 + hash = "sha256-7JOQY3YZFOFFQpcqXLptM8I7CFmrY0L2HPBwz8YA78I="; 17 }; 18 19 # Tests use relative paths ··· 27 meta = with lib; { 28 description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"; 29 homepage = "https://sourceforge.net/projects/ruamel-yaml/"; 30 + changelog = "https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/CHANGES"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ ]; 33 };
+3 -2
pkgs/development/python-modules/rustworkx/default.nix
··· 7 , numpy 8 , fixtures 9 , networkx 10 , libiconv 11 , stdenv 12 , lib ··· 37 38 buildInputs = [ numpy ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 39 40 - checkInputs = [ fixtures networkx ]; 41 42 pythonImportsCheck = [ "rustworkx" ]; 43 44 meta = with lib; { 45 - description = "A high performance Python graph library implemented in Rust."; 46 homepage = "https://github.com/Qiskit/rustworkx"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ raitobezarius ];
··· 7 , numpy 8 , fixtures 9 , networkx 10 + , testtools 11 , libiconv 12 , stdenv 13 , lib ··· 38 39 buildInputs = [ numpy ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 40 41 + checkInputs = [ fixtures networkx testtools ]; 42 43 pythonImportsCheck = [ "rustworkx" ]; 44 45 meta = with lib; { 46 + description = "A high performance Python graph library implemented in Rust"; 47 homepage = "https://github.com/Qiskit/rustworkx"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ raitobezarius ];
+2 -2
pkgs/development/python-modules/sanic-routing/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "sanic-routing"; 11 - version = "22.8.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "sanic-org"; 18 repo = "sanic-routing"; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-2T6WY0nzvr8Q9lBoStzmX7m7Ct35lcG53OSLcqxkEcY="; 21 }; 22 23 nativeCheckInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "sanic-routing"; 11 + version = "23.6.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "sanic-org"; 18 repo = "sanic-routing"; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-ual/vjL3M/nqlaRttJPoBcOYE3L/OAahbBLceUEVLXc="; 21 }; 22 23 nativeCheckInputs = [
+2 -2
pkgs/development/python-modules/sanic-testing/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "sanic-testing"; 13 - version = "22.12.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "sanic-org"; 20 repo = "sanic-testing"; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-pFTF2SQ9giRzPhG24FLqLPJRXaFdQ7Xi5EeltS7J3DI="; 23 }; 24 25 outputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "sanic-testing"; 13 + version = "23.6.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "sanic-org"; 20 repo = "sanic-testing"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-WDiEuve9P9fLHxpK0UjxhbZUmWXtP+DV7e6OT19TASs="; 23 }; 24 25 outputs = [
+39 -15
pkgs/development/python-modules/sanic/default.nix
··· 1 { lib 2 , stdenv 3 - , aiofiles 4 - , beautifulsoup4 5 , buildPythonPackage 6 - , doCheck ? !stdenv.isDarwin # on Darwin, tests fail but pkg still works 7 , fetchFromGitHub 8 - , gunicorn 9 , httptools 10 , multidict 11 - , pytest-asyncio 12 - , pytestCheckHook 13 - , pythonOlder 14 - , pythonAtLeast 15 , sanic-routing 16 - , sanic-testing 17 - , setuptools 18 , ujson 19 - , uvicorn 20 , uvloop 21 , websockets 22 , aioquic 23 }: 24 25 buildPythonPackage rec { 26 pname = "sanic"; 27 - version = "22.12.0"; 28 format = "pyproject"; 29 30 disabled = pythonOlder "3.7"; ··· 33 owner = "sanic-org"; 34 repo = pname; 35 rev = "refs/tags/v${version}"; 36 - hash = "sha256-Vj780rP5rJ+YsMWlb3BR9LTKT/nTt0C2H3J0X9sysj8="; 37 }; 38 39 nativeBuildInputs = [ ··· 42 43 propagatedBuildInputs = [ 44 aiofiles 45 - aioquic 46 httptools 47 multidict 48 sanic-routing 49 ujson 50 uvloop 51 websockets 52 ]; 53 54 nativeCheckInputs = [ 55 beautifulsoup4 56 gunicorn ··· 58 pytestCheckHook 59 sanic-testing 60 uvicorn 61 - ]; 62 63 inherit doCheck; 64 ··· 112 disabledTestPaths = [ 113 # We are not interested in benchmarks 114 "benchmark/" 115 # unable to create async loop 116 "test_app.py" 117 "test_asgi.py"
··· 1 { lib 2 , stdenv 3 , buildPythonPackage 4 , fetchFromGitHub 5 + 6 + # build-system 7 + , setuptools 8 + 9 + # propagates 10 + , aiofiles 11 + , html5tagger 12 , httptools 13 , multidict 14 , sanic-routing 15 + , tracerite 16 + , typing-extensions 17 , ujson 18 , uvloop 19 , websockets 20 + 21 + # optionals 22 , aioquic 23 + 24 + # tests 25 + , doCheck ? !stdenv.isDarwin # on Darwin, tests fail but pkg still works 26 + 27 + , beautifulsoup4 28 + , gunicorn 29 + , pytest-asyncio 30 + , pytestCheckHook 31 + , pythonOlder 32 + , sanic-testing 33 + , uvicorn 34 }: 35 36 buildPythonPackage rec { 37 pname = "sanic"; 38 + version = "23.6.0"; 39 format = "pyproject"; 40 41 disabled = pythonOlder "3.7"; ··· 44 owner = "sanic-org"; 45 repo = pname; 46 rev = "refs/tags/v${version}"; 47 + hash = "sha256-Ffw92mlYNV+ikb6299uw24EI1XPpl3Ju2st1Yt/YHKw="; 48 }; 49 50 nativeBuildInputs = [ ··· 53 54 propagatedBuildInputs = [ 55 aiofiles 56 httptools 57 + html5tagger 58 multidict 59 sanic-routing 60 + tracerite 61 + typing-extensions 62 ujson 63 uvloop 64 websockets 65 ]; 66 67 + passthru.optional-dependencies = { 68 + ext = [ 69 + # TODO: sanic-ext 70 + ]; 71 + http3 = [ 72 + aioquic 73 + ]; 74 + }; 75 + 76 nativeCheckInputs = [ 77 beautifulsoup4 78 gunicorn ··· 80 pytestCheckHook 81 sanic-testing 82 uvicorn 83 + ] ++ passthru.optional-dependencies.http3; 84 85 inherit doCheck; 86 ··· 134 disabledTestPaths = [ 135 # We are not interested in benchmarks 136 "benchmark/" 137 + # We are also not interested in typing 138 + "typing/test_typing.py" 139 # unable to create async loop 140 "test_app.py" 141 "test_asgi.py"
+22 -18
pkgs/development/python-modules/scikit-build/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , distro 5 , packaging 6 - , python 7 , setuptools 8 - , setuptools-scm 9 , wheel 10 # Test Inputs 11 , cmake 12 , cython 13 - , flake8 14 - , ninja 15 , path 16 , pytestCheckHook 17 , pytest-mock 18 - , pytest-virtualenv 19 , requests 20 - , six 21 , virtualenv 22 }: 23 24 buildPythonPackage rec { 25 pname = "scikit-build"; 26 - version = "0.16.7"; 27 format = "pyproject"; 28 29 src = fetchPypi { 30 - inherit pname version; 31 - hash = "sha256-qbnMdHm3HmyNQ0WW363gJSU6riOtsiqaLYWFD9Uc7P0="; 32 }; 33 34 # This line in the filterwarnings section of the pytest configuration leads to this error: ··· 37 sed -i "/'error',/d" pyproject.toml 38 ''; 39 40 propagatedBuildInputs = [ 41 distro 42 packaging 43 setuptools 44 - setuptools-scm 45 wheel 46 ]; 47 48 nativeCheckInputs = [ 49 cmake 50 cython 51 - ninja 52 - path 53 pytestCheckHook 54 pytest-mock 55 - pytest-virtualenv 56 requests 57 - six 58 virtualenv 59 ]; 60 ··· 76 "test_hello_sdist" 77 "test_manifest_in_sdist" 78 "test_sdist_with_symlinks" 79 - # distutils.errors.DistutilsArgError: no commands supplied 80 - "test_invalid_command" 81 - "test_manifest_in_sdist" 82 - "test_no_command" 83 ]; 84 85 meta = with lib; { 86 description = "Improved build system generator for CPython C/C++/Fortran/Cython extensions"; 87 homepage = "https://github.com/scikit-build/scikit-build"; 88 license = with licenses; [ mit bsd2 ]; # BSD due to reuses of PyNE code
··· 1 { lib 2 , buildPythonPackage 3 + , pythonOlder 4 , fetchPypi 5 + , hatch-fancy-pypi-readme 6 + , hatch-vcs 7 + , hatchling 8 , distro 9 , packaging 10 , setuptools 11 , wheel 12 + , tomli 13 # Test Inputs 14 , cmake 15 , cython 16 + , git 17 , path 18 , pytestCheckHook 19 , pytest-mock 20 , requests 21 , virtualenv 22 }: 23 24 buildPythonPackage rec { 25 pname = "scikit-build"; 26 + version = "0.17.6"; 27 format = "pyproject"; 28 29 + disabled = pythonOlder "3.7"; 30 + 31 src = fetchPypi { 32 + pname = "scikit_build"; 33 + inherit version; 34 + hash = "sha256-tRpRo2s3xCZQmUtQR5EvWbIuMhCyPjIfKHYR+e9uXJ0="; 35 }; 36 37 # This line in the filterwarnings section of the pytest configuration leads to this error: ··· 40 sed -i "/'error',/d" pyproject.toml 41 ''; 42 43 + nativeBuildInputs = [ 44 + hatch-fancy-pypi-readme 45 + hatch-vcs 46 + hatchling 47 + ]; 48 + 49 propagatedBuildInputs = [ 50 distro 51 packaging 52 setuptools 53 wheel 54 + ] ++ lib.optionals (pythonOlder "3.11") [ 55 + tomli 56 ]; 57 58 nativeCheckInputs = [ 59 cmake 60 cython 61 + git 62 pytestCheckHook 63 pytest-mock 64 requests 65 virtualenv 66 ]; 67 ··· 83 "test_hello_sdist" 84 "test_manifest_in_sdist" 85 "test_sdist_with_symlinks" 86 ]; 87 88 meta = with lib; { 89 + changelog = "https://github.com/scikit-build/scikit-build/blob/${version}/CHANGES.rst"; 90 description = "Improved build system generator for CPython C/C++/Fortran/Cython extensions"; 91 homepage = "https://github.com/scikit-build/scikit-build"; 92 license = with licenses; [ mit bsd2 ]; # BSD due to reuses of PyNE code
+2 -2
pkgs/development/python-modules/scikit-learn/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "scikit-learn"; 22 - version = "1.2.1"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchPypi { 26 inherit pname version; 27 - hash = "sha256-+/ilyJPJtLmbzH7Y+z6FAJV6ET9BAYYDhtBmNVIPfPs="; 28 }; 29 30 buildInputs = [
··· 19 20 buildPythonPackage rec { 21 pname = "scikit-learn"; 22 + version = "1.3.0"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchPypi { 26 inherit pname version; 27 + hash = "sha256-i+VJiG9e2kZDa25VWw5Ic7TxCqIcB99FxLwXNa+8zXo="; 28 }; 29 30 buildInputs = [
+97 -20
pkgs/development/python-modules/scipy/default.nix
··· 1 { lib 2 , stdenv 3 - , fetchPypi 4 , python 5 , pythonOlder 6 , buildPythonPackage 7 , cython 8 , gfortran 9 , meson-python ··· 17 , pybind11 18 , pooch 19 , libxcrypt 20 }: 21 22 - buildPythonPackage rec { 23 pname = "scipy"; 24 - version = "1.10.1"; 25 - format = "pyproject"; 26 27 - src = fetchPypi { 28 - inherit pname version; 29 - hash = "sha256-LPnfuAp7RYm6TEDOdYiYbW1c68VFfK0sKID2vC1C86U="; 30 }; 31 32 patches = [ 33 - # These tests require internet connection, currently impossible to disable 34 - # them otherwise, see: 35 - # https://github.com/scipy/scipy/pull/17965 36 - ./disable-datasets-tests.patch 37 ]; 38 39 - nativeBuildInputs = [ cython gfortran meson-python pythran pkg-config wheel ]; 40 41 buildInputs = [ 42 - numpy.blas 43 pybind11 44 pooch 45 ] ++ lib.optionals (pythonOlder "3.9") [ 46 libxcrypt 47 ]; ··· 53 doCheck = !(stdenv.isx86_64 && stdenv.isDarwin); 54 55 preConfigure = '' 56 - sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py 57 export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES 58 - ''; 59 60 # disable stackprotector on aarch64-darwin for now 61 # ··· 71 runHook preCheck 72 pushd "$out" 73 export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 )) 74 - ${python.interpreter} -c "import scipy; scipy.test('fast', verbose=10, parallel=$NIX_BUILD_CORES)" 75 popd 76 runHook postCheck 77 ''; ··· 79 requiredSystemFeatures = [ "big-parallel" ]; # the tests need lots of CPU time 80 81 passthru = { 82 - blas = numpy.blas; 83 }; 84 - 85 - setupPyBuildFlags = [ "--fcompiler='gnu95'" ]; 86 87 SCIPY_USE_G77_ABI_WRAPPER = 1; 88 ··· 90 description = "SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering"; 91 homepage = "https://www.scipy.org/"; 92 license = licenses.bsd3; 93 - maintainers = [ maintainers.fridh ]; 94 }; 95 }
··· 1 { lib 2 , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , fetchurl 6 + , writeText 7 , python 8 , pythonOlder 9 , buildPythonPackage 10 + , pypaBuildHook 11 + , pipInstallHook 12 , cython 13 , gfortran 14 , meson-python ··· 22 , pybind11 23 , pooch 24 , libxcrypt 25 + , xsimd 26 + , blas 27 + , lapack 28 }: 29 30 + let 31 pname = "scipy"; 32 + # DON'T UPDATE THESE ATTRIBUTES MANUALLY - USE: 33 + # 34 + # nix-shell maintainers/scripts/update.nix --argstr package python3.pkgs.scipy 35 + # 36 + # Even if you do update these hashes manually, don't change their base 37 + # (base16 or base64), because the update script uses sed regexes to replace 38 + # them with the updated hashes. 39 + version = "1.11.1"; 40 + srcHash = "sha256-bgnYXe3EhzL7+Gfriz1cXCl2eYQJ8zF+rcIwHyZR8bQ="; 41 + datasetsHashes = { 42 + ascent = "1qjp35ncrniq9rhzb14icwwykqg2208hcssznn3hz27w39615kh3"; 43 + ecg = "1bwbjp43b7znnwha5hv6wiz3g0bhwrpqpi75s12zidxrbwvd62pj"; 44 + face = "11i8x29h80y7hhyqhil1fg8mxag5f827g33lhnsf44qk116hp2wx"; 45 + }; 46 + datasets = lib.mapAttrs ( 47 + d: hash: fetchurl { 48 + url = "https://raw.githubusercontent.com/scipy/dataset-${d}/main/${d}.dat"; 49 + sha256 = hash; 50 + } 51 + ) datasetsHashes; 52 + # Additional cross compilation related properties that scipy reads in scipy/meson.build 53 + crossFileScipy = writeText "cross-file-scipy.conf" '' 54 + [properties] 55 + numpy-include-dir = '${numpy}/${python.sitePackages}/numpy/core/include' 56 + pythran-include-dir = '${pythran}/${python.sitePackages}/pythran' 57 + host-python-path = '${python.interpreter}' 58 + host-python-version = '${python.pythonVersion}' 59 + ''; 60 + in buildPythonPackage { 61 + inherit pname version; 62 + format = "other"; 63 64 + src = fetchFromGitHub { 65 + owner = "scipy"; 66 + repo = pname; 67 + rev = "v${version}"; 68 + hash = srcHash; 69 + fetchSubmodules = true; 70 }; 71 72 patches = [ 73 + # Helps with cross compilation, see https://github.com/scipy/scipy/pull/18167 74 + (fetchpatch { 75 + url = "https://github.com/scipy/scipy/commit/dd50ac9d98dbb70625333a23e3a90e493228e3be.patch"; 76 + hash = "sha256-Vf6/hhwu6X5s8KWhq8bUZKtSkdVu/GtEpGtj8Olxe7s="; 77 + excludes = [ 78 + "doc/source/dev/contributor/meson_advanced.rst" 79 + ]; 80 + }) 81 ]; 82 83 + postPatch = '' 84 + substituteInPlace pyproject.toml \ 85 + --replace "pybind11>=2.10.4,<2.11.0" "pybind11>=2.10.4,<2.12.0" 86 + ''; 87 + 88 + nativeBuildInputs = [ pypaBuildHook pipInstallHook cython gfortran meson-python pythran pkg-config wheel ]; 89 90 buildInputs = [ 91 + blas 92 + lapack 93 pybind11 94 pooch 95 + xsimd 96 ] ++ lib.optionals (pythonOlder "3.9") [ 97 libxcrypt 98 ]; ··· 104 doCheck = !(stdenv.isx86_64 && stdenv.isDarwin); 105 106 preConfigure = '' 107 + # Relax deps a bit 108 + substituteInPlace pyproject.toml \ 109 + --replace 'numpy==' 'numpy>=' 110 + # Helps parallelization a bit 111 export NPY_NUM_BUILD_JOBS=$NIX_BUILD_CORES 112 + # We download manually the datasets and this variable tells the pooch 113 + # library where these files are cached. See also: 114 + # https://github.com/scipy/scipy/pull/18518#issuecomment-1562350648 And at: 115 + # https://github.com/scipy/scipy/pull/17965#issuecomment-1560759962 116 + export XDG_CACHE_HOME=$PWD; export HOME=$(mktemp -d); mkdir scipy-data 117 + '' + (lib.concatStringsSep "\n" (lib.mapAttrsToList (d: dpath: 118 + # Actually copy the datasets 119 + "cp ${dpath} scipy-data/${d}.dat" 120 + ) datasets)); 121 + 122 + mesonFlags = [ 123 + "-Dblas=${blas.pname}" 124 + "-Dlapack=${lapack.pname}" 125 + # We always run what's necessary for cross compilation, which is passing to 126 + # meson the proper cross compilation related arguments. See also: 127 + # https://docs.scipy.org/doc/scipy/building/cross_compilation.html 128 + "--cross-file=${crossFileScipy}" 129 + ]; 130 131 # disable stackprotector on aarch64-darwin for now 132 # ··· 142 runHook preCheck 143 pushd "$out" 144 export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 )) 145 + ${python.interpreter} -c "import scipy, sys; sys.exit(scipy.test('fast', verbose=10, parallel=$NIX_BUILD_CORES) != True)" 146 popd 147 runHook postCheck 148 ''; ··· 150 requiredSystemFeatures = [ "big-parallel" ]; # the tests need lots of CPU time 151 152 passthru = { 153 + inherit blas; 154 + updateScript = [ 155 + ./update.sh 156 + # Pass it this file name as argument 157 + (builtins.unsafeGetAttrPos "pname" python.pkgs.scipy).file 158 + ] 159 + # Pass it the names of the datasets to update their hashes 160 + ++ (builtins.attrNames datasetsHashes) 161 + ; 162 }; 163 164 SCIPY_USE_G77_ABI_WRAPPER = 1; 165 ··· 167 description = "SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering"; 168 homepage = "https://www.scipy.org/"; 169 license = licenses.bsd3; 170 + maintainers = with maintainers; [ fridh doronbehar ]; 171 }; 172 }
-9
pkgs/development/python-modules/scipy/disable-datasets-tests.patch
··· 1 - diff --git i/scipy/datasets/meson.build w/scipy/datasets/meson.build 2 - index 101377253..eec2feea4 100644 3 - --- i/scipy/datasets/meson.build 4 - +++ w/scipy/datasets/meson.build 5 - @@ -11,4 +11,3 @@ py3.install_sources( 6 - subdir: 'scipy/datasets' 7 - ) 8 - 9 - -subdir('tests')
···
+29
pkgs/development/python-modules/scipy/update.sh
···
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p jq nix-prefetch-github 3 + 4 + set -euo pipefail 5 + echoerr() { echo "$@" 1>&2; } 6 + 7 + fname="$1" 8 + echoerr got fname $fname 9 + shift 10 + datasets="$@" 11 + echoerr datasets are: "$@" 12 + latest_release=$(curl --silent https://api.github.com/repos/scipy/scipy/releases/latest) 13 + version=$(jq -r '.tag_name' <<<"$latest_release" | cut -c2-) 14 + # Update version, if needed 15 + if grep -q 'version = "'$version $fname; then 16 + echo "Current version $version is the latest available, will update only datasets' hashes (don't take long)" 17 + else 18 + echoerr got version $version 19 + sed -i -E 's/(version = ).*=/\1'$version'/g' $fname 20 + # Update srcHash 21 + srcHash='"sha256-'$(nix-prefetch-github scipy scipy --rev v${version} --fetch-submodules | jq --raw-output .sha256)'"' 22 + sed -i 's/srcHash = .*=";/srcHash = '$srcHash';/g' $fname 23 + fi 24 + 25 + for d in $datasets; do 26 + datasetHash=$(nix-prefetch-url "https://raw.githubusercontent.com/scipy/dataset-${d}/main/${d}.dat") 27 + sed -i 's/'$d' = "[0-9a-z]\+/'$d' = "'$datasetHash'/g' $fname 28 + echoerr updated hash for dataset "'$d'" 29 + done
+20 -6
pkgs/development/python-modules/service-identity/default.nix
··· 3 , buildPythonPackage 4 , cryptography 5 , fetchFromGitHub 6 , idna 7 , pyasn1 8 , pyasn1-modules 9 - , six 10 , pytestCheckHook 11 }: 12 13 buildPythonPackage rec { 14 pname = "service-identity"; 15 - version = "21.1.0"; 16 17 src = fetchFromGitHub { 18 owner = "pyca"; 19 repo = pname; 20 - rev = version; 21 - hash = "sha256-pWc2rU3ULqEukMhd1ySY58lTm3s8f/ayQ7CY4nG24AQ="; 22 }; 23 24 propagatedBuildInputs = [ 25 attrs ··· 27 idna 28 pyasn1 29 pyasn1-modules 30 - six 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 - pythonImportsCheck = [ "service_identity" ]; 38 39 meta = with lib; { 40 description = "Service identity verification for pyOpenSSL"; 41 homepage = "https://service-identity.readthedocs.io"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 };
··· 3 , buildPythonPackage 4 , cryptography 5 , fetchFromGitHub 6 + , hatch-fancy-pypi-readme 7 + , hatch-vcs 8 + , hatchling 9 , idna 10 , pyasn1 11 , pyasn1-modules 12 , pytestCheckHook 13 + , pythonOlder 14 }: 15 16 buildPythonPackage rec { 17 pname = "service-identity"; 18 + version = "23.1.0"; 19 + format = "pyproject"; 20 + 21 + disabled = pythonOlder "3.8"; 22 23 src = fetchFromGitHub { 24 owner = "pyca"; 25 repo = pname; 26 + rev = "refs/tags/${version}"; 27 + hash = "sha256-PGDtsDgRwh7GuuM4OuExiy8L4i3Foo+OD0wMrndPkvo="; 28 }; 29 + 30 + nativeBuildInputs = [ 31 + hatch-fancy-pypi-readme 32 + hatch-vcs 33 + hatchling 34 + ]; 35 36 propagatedBuildInputs = [ 37 attrs ··· 39 idna 40 pyasn1 41 pyasn1-modules 42 ]; 43 44 nativeCheckInputs = [ 45 pytestCheckHook 46 ]; 47 48 + pythonImportsCheck = [ 49 + "service_identity" 50 + ]; 51 52 meta = with lib; { 53 description = "Service identity verification for pyOpenSSL"; 54 homepage = "https://service-identity.readthedocs.io"; 55 + changelog = "https://github.com/pyca/service-identity/releases/tag/${version}"; 56 license = licenses.mit; 57 maintainers = with maintainers; [ fab ]; 58 };
+2 -2
pkgs/development/python-modules/setuptools-rust/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "setuptools-rust"; 14 - version = "1.5.2"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-2NrMsU3A6uG2tus+zveWdb03tAZTafecNTk91cVWUsc="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ];
··· 11 12 buildPythonPackage rec { 13 pname = "setuptools-rust"; 14 + version = "1.6.0"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-yG5zTerDMFl5mL+8CNpFGH5rJ4N+I72R6tsyBzI5ImI="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ];
+1 -1
pkgs/development/python-modules/skytemple-ssb-debugger/default.nix
··· 25 hash = "sha256-/LBz0PCQI3QOAmOZk6Jynqi/+NN0w8gbY/S3YckRZ68="; 26 }; 27 28 - buildInputs = [ gobject-introspection gtk3 gtksourceview4 ]; 29 nativeBuildInputs = [ gobject-introspection wrapGAppsHook ]; 30 propagatedBuildInputs = [ 31 nest-asyncio
··· 25 hash = "sha256-/LBz0PCQI3QOAmOZk6Jynqi/+NN0w8gbY/S3YckRZ68="; 26 }; 27 28 + buildInputs = [ gtk3 gtksourceview4 ]; 29 nativeBuildInputs = [ gobject-introspection wrapGAppsHook ]; 30 propagatedBuildInputs = [ 31 nest-asyncio
+4 -1
pkgs/development/python-modules/snitun/default.nix
··· 36 pytestCheckHook 37 ]; 38 39 - disabledTests = lib.optionals stdenv.isDarwin [ 40 "test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61 41 # port binding conflicts 42 "test_snitun_single_runner_timeout"
··· 36 pytestCheckHook 37 ]; 38 39 + disabledTests = [ 40 + # broke after aiohttp 3.8.5 upgrade 41 + "test_client_stop_no_wait" 42 + ] ++ lib.optionals stdenv.isDarwin [ 43 "test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61 44 # port binding conflicts 45 "test_snitun_single_runner_timeout"
+9 -5
pkgs/development/python-modules/snowflake-connector-python/default.nix
··· 1 { lib 2 , asn1crypto 3 , buildPythonPackage 4 , certifi 5 , cffi 6 , charset-normalizer ··· 31 hash = "sha256-F0EbgRSS/kYKUDPhf6euM0eLqIqVjQsHC6C9ZZSRCIE="; 32 }; 33 34 - postPatch = '' 35 - substituteInPlace setup.cfg \ 36 - --replace "charset_normalizer>=2,<3" "charset_normalizer" \ 37 - --replace "pyOpenSSL>=16.2.0,<23.0.0" "pyOpenSSL" 38 - ''; 39 40 propagatedBuildInputs = [ 41 asn1crypto
··· 1 { lib 2 , asn1crypto 3 , buildPythonPackage 4 + , pythonRelaxDepsHook 5 , certifi 6 , cffi 7 , charset-normalizer ··· 32 hash = "sha256-F0EbgRSS/kYKUDPhf6euM0eLqIqVjQsHC6C9ZZSRCIE="; 33 }; 34 35 + nativeBuildInputs = [ 36 + pythonRelaxDepsHook 37 + ]; 38 + pythonRelaxDeps = [ 39 + "pyOpenSSL" 40 + "charset-normalizer" 41 + "cryptography" 42 + ]; 43 44 propagatedBuildInputs = [ 45 asn1crypto
+2 -2
pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix
··· 10 11 let 12 pname = "sphinx-autodoc-typehints"; 13 - version = "1.22"; 14 in 15 16 buildPythonPackage { ··· 22 src = fetchPypi { 23 pname = "sphinx_autodoc_typehints"; 24 inherit version; 25 - hash = "sha256-cfyi1e7psDQgTkxoarILTY9euUCTliFryubIfDjhjqY="; 26 }; 27 28 nativeBuildInputs = [
··· 10 11 let 12 pname = "sphinx-autodoc-typehints"; 13 + version = "1.23.0"; 14 in 15 16 buildPythonPackage { ··· 22 src = fetchPypi { 23 pname = "sphinx_autodoc_typehints"; 24 inherit version; 25 + hash = "sha256-XUTimWYzza2kmbbSeklt3528ld0fDwn3s3lAJJ5h9uk="; 26 }; 27 28 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/sqlalchemy/default.nix
··· 40 41 buildPythonPackage rec { 42 pname = "SQLAlchemy"; 43 - version = "2.0.18"; 44 format = "pyproject"; 45 46 disabled = pythonOlder "3.7"; ··· 49 owner = "sqlalchemy"; 50 repo = "sqlalchemy"; 51 rev = "refs/tags/rel_${lib.replaceStrings [ "." ] [ "_" ] version}"; 52 - hash = "sha256-juZIFlmgwGFFhv+3DsMx6k1QRcGLQyTOwR5Hii8A68c="; 53 }; 54 55 nativeBuildInputs =[
··· 40 41 buildPythonPackage rec { 42 pname = "SQLAlchemy"; 43 + version = "2.0.19"; 44 format = "pyproject"; 45 46 disabled = pythonOlder "3.7"; ··· 49 owner = "sqlalchemy"; 50 repo = "sqlalchemy"; 51 rev = "refs/tags/rel_${lib.replaceStrings [ "." ] [ "_" ] version}"; 52 + hash = "sha256-97q04wQVtlV2b6VJHxvnQ9ep76T5umn1KI3hXh6a8kU="; 53 }; 54 55 nativeBuildInputs =[
+2 -2
pkgs/development/python-modules/sympy/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "sympy"; 10 - version = "1.11.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 - hash = "sha256-4yOA3OY8t8AQjtUlVwCS/UUWi9ri+qF+UoIh73Lohlg="; 15 }; 16 17 nativeCheckInputs = [ glibcLocales ];
··· 7 8 buildPythonPackage rec { 9 pname = "sympy"; 10 + version = "1.12"; 11 12 src = fetchPypi { 13 inherit pname version; 14 + hash = "sha256-6/WVyNrD4P3EFSxRh4tJg5bsfzDnqRTWBx5nTUlCD7g="; 15 }; 16 17 nativeCheckInputs = [ glibcLocales ];
+8
pkgs/development/python-modules/tables/default.nix
··· 30 hash = "sha256-NPP6I2bOILGPHfVzp3wdJzBs4fKkHZ+e/2IbUZLqh4g="; 31 }; 32 33 nativeBuildInputs = [ 34 blosc2 35 cython
··· 30 hash = "sha256-NPP6I2bOILGPHfVzp3wdJzBs4fKkHZ+e/2IbUZLqh4g="; 31 }; 32 33 + patches = [ 34 + (fetchpatch { 35 + name = "numpy-1.25-compatibility.patch"; 36 + url = "https://github.com/PyTables/PyTables/commit/337792561e5924124efd20d6fea6bbbd2428b2aa.patch"; 37 + hash = "sha256-pz3A/jTPWXXlzr+Yl5PRUvdSAinebFsoExfek4RUHkc="; 38 + }) 39 + ]; 40 + 41 nativeBuildInputs = [ 42 blosc2 43 cython
+3 -3
pkgs/development/python-modules/tifffile/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "tifffile"; 15 - version = "2023.4.12"; 16 format = "setuptools"; 17 18 - disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-L6mfmJDKq5GdkyoKyqnQ9YQ9wu81lOISljky4gcTut0="; 23 }; 24 25 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "tifffile"; 15 + version = "2023.7.18"; 16 format = "setuptools"; 17 18 + disabled = pythonOlder "3.9"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-WlpiSy96t/N+nsQXSuLfGAW5ZY+JAT+bS1VQZy9l8qE="; 23 }; 24 25 propagatedBuildInputs = [
+13 -10
pkgs/development/python-modules/tomlkit/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , isPy27 5 - , enum34 6 - , functools32, typing ? null 7 , pytestCheckHook 8 - , pyaml 9 }: 10 11 buildPythonPackage rec { 12 pname = "tomlkit"; 13 - version = "0.11.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-cblS5XIWiJN/sCz501TbzweFBmFJ0oVeRFMevdK2XXM="; 18 }; 19 20 - propagatedBuildInputs = 21 - lib.optionals isPy27 [ enum34 functools32 ] 22 - ++ lib.optional isPy27 typing; 23 24 nativeCheckInputs = [ 25 - pyaml 26 pytestCheckHook 27 ]; 28
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + 5 + # build-system 6 + , poetry-core 7 + 8 + # tests 9 , pytestCheckHook 10 + , pyyaml 11 }: 12 13 buildPythonPackage rec { 14 pname = "tomlkit"; 15 + version = "0.12.1"; 16 + format = "pyproject"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-OOH/jtuZEnPsn2GBJEpqORrDDp9QmOdTVkDqa+l6fIY="; 21 }; 22 23 + nativeBuildInputs = [ 24 + poetry-core 25 + ]; 26 27 nativeCheckInputs = [ 28 + pyyaml 29 pytestCheckHook 30 ]; 31
+6
pkgs/development/python-modules/tpm2-pytss/default.nix
··· 49 sha256 = "sha256-VFq3Hv4I8U8ifP/aSjyu0BiW/4jfPlRDKqRcqUGw6UQ="; 50 }) 51 52 # Fix hardcoded `fapi-config.json` configuration path 53 ./fapi-config.patch 54 ];
··· 49 sha256 = "sha256-VFq3Hv4I8U8ifP/aSjyu0BiW/4jfPlRDKqRcqUGw6UQ="; 50 }) 51 52 + (fetchpatch { 53 + name = "test-new-cryptography.patch"; 54 + url = "https://github.com/tpm2-software/tpm2-pytss/commit/e4006e6066c015d9ed55befa9b98247fbdcafd7d.diff"; 55 + sha256 = "sha256-Wxe9u7Cvv2vKMGTcK3X8W1Mq/nCt70zrzWUKA+83Sas="; 56 + }) 57 + 58 # Fix hardcoded `fapi-config.json` configuration path 59 ./fapi-config.patch 60 ];
+48
pkgs/development/python-modules/tracerite/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , setuptools-scm 5 + , html5tagger 6 + , python 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "tracerite"; 11 + version = "1.1.0"; 12 + format = "setuptools"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "sanic-org"; 16 + repo = "tracerite"; 17 + rev = "v${version}"; 18 + hash = "sha256-At8wVR3EcHEi051BBfjb+sOhs93GyzWlEAjtehTMeNU="; 19 + }; 20 + 21 + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 22 + 23 + nativeBuildInputs = [ 24 + setuptools-scm 25 + ]; 26 + 27 + propagatedBuildInputs = [ 28 + html5tagger 29 + ]; 30 + 31 + postInstall = '' 32 + cp tracerite/style.css $out/${python.sitePackages}/tracerite 33 + ''; 34 + 35 + # no tests 36 + doCheck = false; 37 + 38 + pythonImportsCheck = [ 39 + "tracerite" 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Tracebacks for Humans (in Jupyter notebooks"; 44 + homepage = "https://github.com/sanic-org/tracerite"; 45 + license = licenses.unlicense; 46 + maintainers = with maintainers; [ ]; 47 + }; 48 + }
+3 -12
pkgs/development/python-modules/traitlets/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , glibcLocales 5 - , pytest 6 - , mock 7 - , ipython_genutils 8 - , decorator 9 , pythonOlder 10 - , six 11 , hatchling 12 }: 13 ··· 23 }; 24 25 nativeBuildInputs = [ hatchling ]; 26 - nativeCheckInputs = [ glibcLocales pytest mock ]; 27 - propagatedBuildInputs = [ ipython_genutils decorator six ]; 28 29 - checkPhase = '' 30 - LC_ALL="en_US.UTF-8" py.test 31 - ''; 32 33 meta = { 34 description = "Traitlets Python config system"; 35 - homepage = "https://ipython.org/"; 36 license = lib.licenses.bsd3; 37 maintainers = with lib.maintainers; [ fridh ]; 38 };
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pytestCheckHook 5 , pythonOlder 6 , hatchling 7 }: 8 ··· 18 }; 19 20 nativeBuildInputs = [ hatchling ]; 21 22 + nativeCheckInputs = [ pytestCheckHook ]; 23 24 meta = { 25 description = "Traitlets Python config system"; 26 + homepage = "https://github.com/ipython/traitlets"; 27 license = lib.licenses.bsd3; 28 maintainers = with lib.maintainers; [ fridh ]; 29 };
+35 -23
pkgs/development/python-modules/trove-classifiers/default.nix
··· 6 , pythonOlder 7 }: 8 9 - buildPythonPackage rec { 10 - pname = "trove-classifiers"; 11 - version = "2023.7.6"; 12 - format = "setuptools"; 13 14 - disabled = pythonOlder "3.7"; 15 16 - src = fetchPypi { 17 - inherit pname version; 18 - hash = "sha256-io4Wi1HSD+1gcEODHTdjK7UJGdHICmTg8Tk3RGkaiyI="; 19 - }; 20 21 - nativeBuildInputs = [ 22 - calver 23 - ]; 24 25 - nativeCheckInputs = [ 26 - pytestCheckHook 27 - ]; 28 29 - pythonImportsCheck = [ "trove_classifiers" ]; 30 31 - meta = { 32 - description = "Canonical source for classifiers on PyPI"; 33 - homepage = "https://github.com/pypa/trove-classifiers"; 34 - changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}"; 35 - license = lib.licenses.asl20; 36 - maintainers = with lib.maintainers; [ dotlambda ]; 37 }; 38 - }
··· 6 , pythonOlder 7 }: 8 9 + let 10 + self = buildPythonPackage rec { 11 + pname = "trove-classifiers"; 12 + version = "2023.7.6"; 13 + format = "setuptools"; 14 15 + disabled = pythonOlder "3.7"; 16 17 + src = fetchPypi { 18 + inherit pname version; 19 + hash = "sha256-io4Wi1HSD+1gcEODHTdjK7UJGdHICmTg8Tk3RGkaiyI="; 20 + }; 21 22 + postPatch = '' 23 + substituteInPlace setup.py \ 24 + --replace '"calver"' "" 25 + ''; 26 27 + nativeBuildInputs = [ 28 + calver 29 + ]; 30 31 + doCheck = false; # avoid infinite recursion with hatchling 32 + 33 + nativeCheckInputs = [ 34 + pytestCheckHook 35 + ]; 36 + 37 + pythonImportsCheck = [ "trove_classifiers" ]; 38 + 39 + passthru.tests.trove-classifiers = self.overridePythonAttrs { doCheck = true; }; 40 41 + meta = { 42 + description = "Canonical source for classifiers on PyPI"; 43 + homepage = "https://github.com/pypa/trove-classifiers"; 44 + changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}"; 45 + license = lib.licenses.asl20; 46 + maintainers = with lib.maintainers; [ dotlambda ]; 47 + }; 48 }; 49 + in 50 + self
+1
pkgs/development/python-modules/twisted/default.nix
··· 111 echo 'ListingTests.test_oldFile.skip = "Timezone issue"'>> src/twisted/conch/test/test_cftp.py 112 echo 'ListingTests.test_oldSingleDigitDayOfMonth.skip = "Timezone issue"'>> src/twisted/conch/test/test_cftp.py 113 114 echo 'UNIXTestsBuilder_AsyncioSelectorReactorTests.test_sendFileDescriptorTriggersPauseProducing.skip = "sendFileDescriptor producer was not paused"'>> src/twisted/internet/test/test_unix.py 115 echo 'UNIXTestsBuilder_SelectReactorTests.test_sendFileDescriptorTriggersPauseProducing.skip = "sendFileDescriptor producer was not paused"'>> src/twisted/internet/test/test_unix.py 116
··· 111 echo 'ListingTests.test_oldFile.skip = "Timezone issue"'>> src/twisted/conch/test/test_cftp.py 112 echo 'ListingTests.test_oldSingleDigitDayOfMonth.skip = "Timezone issue"'>> src/twisted/conch/test/test_cftp.py 113 114 + echo 'WrapClientTLSParserTests.test_tls.skip = "pyopenssl update"' >> src/twisted/internet/test/test_endpoints.py 115 echo 'UNIXTestsBuilder_AsyncioSelectorReactorTests.test_sendFileDescriptorTriggersPauseProducing.skip = "sendFileDescriptor producer was not paused"'>> src/twisted/internet/test/test_unix.py 116 echo 'UNIXTestsBuilder_SelectReactorTests.test_sendFileDescriptorTriggersPauseProducing.skip = "sendFileDescriptor producer was not paused"'>> src/twisted/internet/test/test_unix.py 117
+5 -4
pkgs/development/python-modules/typing-extensions/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "typing-extensions"; 11 - version = "4.5.0"; 12 format = "pyproject"; 13 14 - disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 pname = "typing_extensions"; 18 inherit version; 19 - hash = "sha256-XLX0p5E51plgez72IqHe2vqE4RWrACTg2cBEqUecp8s="; 20 }; 21 22 nativeBuildInputs = [ ··· 32 ]; 33 34 meta = with lib; { 35 - description = "Backported and Experimental Type Hints for Python 3.5+"; 36 homepage = "https://github.com/python/typing"; 37 license = licenses.psfl; 38 maintainers = with maintainers; [ pmiddend ];
··· 8 9 buildPythonPackage rec { 10 pname = "typing-extensions"; 11 + version = "4.7.1"; 12 format = "pyproject"; 13 14 + disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 pname = "typing_extensions"; 18 inherit version; 19 + hash = "sha256-t13cJk8LpWFdt7ohfa65lwGtKVNTxF+elZYzN87u/7I="; 20 }; 21 22 nativeBuildInputs = [ ··· 32 ]; 33 34 meta = with lib; { 35 + description = "Backported and Experimental Type Hints for Python"; 36 + changelog = "https://github.com/python/typing_extensions/blob/${version}/CHANGELOG.md"; 37 homepage = "https://github.com/python/typing"; 38 license = licenses.psfl; 39 maintainers = with maintainers; [ pmiddend ];
+2 -2
pkgs/development/python-modules/typing-inspect/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "typing-inspect"; 11 - version = "0.8.0"; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "typing_inspect"; 16 - hash = "sha256-ix/wxACUO2FF34EZxBwkTKggfx8QycBXru0VYOSAbj0="; 17 }; 18 19 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "typing-inspect"; 11 + version = "0.9.0"; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "typing_inspect"; 16 + hash = "sha256-sj/EL/b272lU5IUsH7USzdGNvqAxNPkfhWqVzMlGH3g="; 17 }; 18 19 propagatedBuildInputs = [
+12 -3
pkgs/development/python-modules/tzlocal/default.nix
··· 3 , buildPythonPackage 4 , pythonOlder 5 , fetchPypi 6 , pytz-deprecation-shim 7 , pytest-mock 8 , pytestCheckHook ··· 10 11 buildPythonPackage rec { 12 pname = "tzlocal"; 13 - version = "4.2"; # version needs to be compatible with APScheduler 14 15 - disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "ee5842fa3a795f023514ac2d801c4a81d1743bbe642e3940143326b3a00addd7"; 20 }; 21 22 propagatedBuildInputs = [ 23 pytz-deprecation-shim
··· 3 , buildPythonPackage 4 , pythonOlder 5 , fetchPypi 6 + , setuptools 7 + , wheel 8 , pytz-deprecation-shim 9 , pytest-mock 10 , pytestCheckHook ··· 12 13 buildPythonPackage rec { 14 pname = "tzlocal"; 15 + version = "4.3"; # version needs to be compatible with APScheduler 16 17 + disabled = pythonOlder "3.7"; 18 + 19 + format = "pyproject"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-PyHQnhsqqfLazKEtokDKN947pSN6k63f1tWTr+kHM1U="; 24 }; 25 + 26 + nativeBuildInputs = [ 27 + setuptools 28 + wheel 29 + ]; 30 31 propagatedBuildInputs = [ 32 pytz-deprecation-shim
+3 -4
pkgs/development/python-modules/uharfbuzz/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "uharfbuzz"; 14 - version = "0.24.1"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.5"; 18 19 - # Fetching from GitHub as Pypi contains different versions 20 src = fetchFromGitHub { 21 owner = "harfbuzz"; 22 repo = "uharfbuzz"; 23 rev = "v${version}"; 24 - hash = "sha256-DyFXbwB28JH2lvmWDezRh49tjCvleviUNSE5LHG3kUg="; 25 fetchSubmodules = true; 26 }; 27 28 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 44 description = "Streamlined Cython bindings for the harfbuzz shaping engine"; 45 homepage = "https://github.com/harfbuzz/uharfbuzz"; 46 license = licenses.asl20; 47 - maintainers = with maintainers; [ wolfangaukang ]; 48 }; 49 }
··· 11 12 buildPythonPackage rec { 13 pname = "uharfbuzz"; 14 + version = "0.37.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.5"; 18 19 src = fetchFromGitHub { 20 owner = "harfbuzz"; 21 repo = "uharfbuzz"; 22 rev = "v${version}"; 23 fetchSubmodules = true; 24 + hash = "sha256-CZp+/5fG5IBawnIZLeO9lXke8rodqRcSf+ofyF584mc="; 25 }; 26 27 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 43 description = "Streamlined Cython bindings for the harfbuzz shaping engine"; 44 homepage = "https://github.com/harfbuzz/uharfbuzz"; 45 license = licenses.asl20; 46 + maintainers = with maintainers; [ ]; 47 }; 48 }
+2 -2
pkgs/development/python-modules/urllib3/default.nix
··· 20 21 buildPythonPackage rec { 22 pname = "urllib3"; 23 - version = "1.26.14"; 24 format = "setuptools"; 25 26 src = fetchPypi { 27 inherit pname version; 28 - hash = "sha256-B2kHv4/TVc3ndyhHExZiWk0vfnE8El9RlTu1s+7PT3I="; 29 }; 30 31 # FIXME: remove backwards compatbility hack
··· 20 21 buildPythonPackage rec { 22 pname = "urllib3"; 23 + version = "1.26.16"; 24 format = "setuptools"; 25 26 src = fetchPypi { 27 inherit pname version; 28 + hash = "sha256-jxNfZQJ1a95rKpsomJ31++h8mXDOyqaQQe3M5/BYmxQ="; 29 }; 30 31 # FIXME: remove backwards compatbility hack
+2 -2
pkgs/development/python-modules/usort/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "usort"; 20 - version = "1.1.0b2"; 21 format = "pyproject"; 22 23 disabled = pythonOlder "3.7"; ··· 26 owner = "facebook"; 27 repo = "usort"; 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-c3gQ+f/BRgM+Nwc+mEP7dcmig7ws7FqL5zwQhNJJlsI="; 30 }; 31 32 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 17 18 buildPythonPackage rec { 19 pname = "usort"; 20 + version = "1.0.7"; 21 format = "pyproject"; 22 23 disabled = pythonOlder "3.7"; ··· 26 owner = "facebook"; 27 repo = "usort"; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-emnrghdsUs+VfvYiJExG13SKQNrXAEtGNAJQLScADnw="; 30 }; 31 32 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+4 -4
pkgs/development/python-modules/uvicorn/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "uvicorn"; 20 - version = "0.20.0"; 21 - disabled = pythonOlder "3.7"; 22 23 format = "pyproject"; 24 ··· 26 owner = "encode"; 27 repo = pname; 28 rev = version; 29 - hash = "sha256-yca6JI3/aqdZF7SxFeYr84GOeQnLBmbm1dIXjngX9Ng="; 30 }; 31 32 outputs = [ ··· 39 propagatedBuildInputs = [ 40 click 41 h11 42 - ] ++ lib.optionals (pythonOlder "3.8") [ 43 typing-extensions 44 ]; 45
··· 17 18 buildPythonPackage rec { 19 pname = "uvicorn"; 20 + version = "0.23.1"; 21 + disabled = pythonOlder "3.8"; 22 23 format = "pyproject"; 24 ··· 26 owner = "encode"; 27 repo = pname; 28 rev = version; 29 + hash = "sha256-X/G6K0X4G1EsMIBpvqy62zZ++8paTHNqgYLi+B7YK+0="; 30 }; 31 32 outputs = [ ··· 39 propagatedBuildInputs = [ 40 click 41 h11 42 + ] ++ lib.optionals (pythonOlder "3.11") [ 43 typing-extensions 44 ]; 45
+2 -6
pkgs/development/python-modules/uvicorn/tests.nix
··· 1 { stdenv 2 , buildPythonPackage 3 - , asgiref 4 , uvicorn 5 , httpx 6 - , pytest-asyncio 7 , pytestCheckHook 8 , pytest-mock 9 - , requests 10 , trustme 11 , watchgod 12 , wsproto ··· 23 dontInstall = true; 24 25 nativeCheckInputs = [ 26 - asgiref 27 uvicorn 28 httpx 29 pytestCheckHook 30 - pytest-asyncio 31 pytest-mock 32 - requests 33 trustme 34 35 # strictly optional dependencies 36 watchgod 37 wsproto 38 ]
··· 1 { stdenv 2 , buildPythonPackage 3 + , a2wsgi 4 , uvicorn 5 , httpx 6 , pytestCheckHook 7 , pytest-mock 8 , trustme 9 , watchgod 10 , wsproto ··· 21 dontInstall = true; 22 23 nativeCheckInputs = [ 24 uvicorn 25 httpx 26 pytestCheckHook 27 pytest-mock 28 trustme 29 30 # strictly optional dependencies 31 + a2wsgi 32 watchgod 33 wsproto 34 ]
+20 -13
pkgs/development/python-modules/validators/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchPypi 4 - , isPy27 5 - , decorator 6 - , six 7 , pytestCheckHook 8 }: 9 10 buildPythonPackage rec { 11 pname = "validators"; 12 - version = "0.20.0"; 13 - disabled = isPy27; 14 15 - src = fetchPypi { 16 - inherit pname version; 17 - hash = "sha256-JBSM5OZBAKLV4mcjPiPnr+tVMWtH0w+q5+tucpK8Imo="; 18 }; 19 20 - propagatedBuildInputs = [ 21 - decorator 22 - six 23 ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 28 29 meta = with lib; { 30 - description = "Python Data Validation for Humans™"; 31 homepage = "https://github.com/kvesteri/validators"; 32 license = licenses.bsd3; 33 maintainers = [ ]; 34 };
··· 1 { lib 2 , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 , pytestCheckHook 6 + , pythonOlder 7 }: 8 9 buildPythonPackage rec { 10 pname = "validators"; 11 + version = "0.21.1"; 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.8"; 15 16 + src = fetchFromGitHub { 17 + owner = "python-validators"; 18 + repo = "validators"; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-b5K1WP+cEAjPBXu9sAZQf1J5H7PLnn94400Zd/0Y9ew="; 21 }; 22 23 + nativeBuildInputs = [ 24 + poetry-core 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 + pythonImportsCheck = [ 32 + "validators" 33 + ]; 34 + 35 meta = with lib; { 36 + description = "Python Data Validation for Humans"; 37 homepage = "https://github.com/kvesteri/validators"; 38 + changelog = "https://github.com/python-validators/validators/blob/${version}/CHANGES.md"; 39 license = licenses.bsd3; 40 maintainers = [ ]; 41 };
-37
pkgs/development/python-modules/virtualenv/0001-Check-base_prefix-and-base_exec_prefix-for-Python-2.patch
··· 1 - From 21563405d6e2348ee457187f7fb61beb102bb367 Mon Sep 17 00:00:00 2001 2 - From: Frederik Rietdijk <fridh@fridh.nl> 3 - Date: Sun, 24 May 2020 09:33:13 +0200 4 - Subject: [PATCH] Check base_prefix and base_exec_prefix for Python 2 5 - 6 - This is a Nixpkgs-specific change so it can support virtualenvs from Nix envs. 7 - --- 8 - src/virtualenv/discovery/py_info.py | 8 ++++++-- 9 - 1 file changed, 6 insertions(+), 2 deletions(-) 10 - 11 - diff --git a/src/virtualenv/discovery/py_info.py b/src/virtualenv/discovery/py_info.py 12 - index 6f12128..74e9218 100644 13 - --- a/src/virtualenv/discovery/py_info.py 14 - +++ b/src/virtualenv/discovery/py_info.py 15 - @@ -51,13 +51,17 @@ class PythonInfo(object): 16 - self.version = u(sys.version) 17 - self.os = u(os.name) 18 - 19 - + config_vars = {} if sys.version_info.major is not 2 else sysconfig._CONFIG_VARS 20 - + base_prefix = config_vars.get("prefix") 21 - + base_exec_prefix = config_vars.get("exec_prefix") 22 - + 23 - # information about the prefix - determines python home 24 - self.prefix = u(abs_path(getattr(sys, "prefix", None))) # prefix we think 25 - - self.base_prefix = u(abs_path(getattr(sys, "base_prefix", None))) # venv 26 - + self.base_prefix = u(abs_path(getattr(sys, "base_prefix", base_prefix))) # venv 27 - self.real_prefix = u(abs_path(getattr(sys, "real_prefix", None))) # old virtualenv 28 - 29 - # information about the exec prefix - dynamic stdlib modules 30 - - self.base_exec_prefix = u(abs_path(getattr(sys, "base_exec_prefix", None))) 31 - + self.base_exec_prefix = u(abs_path(getattr(sys, "base_exec_prefix", base_exec_prefix))) 32 - self.exec_prefix = u(abs_path(getattr(sys, "exec_prefix", None))) 33 - 34 - self.executable = u(abs_path(sys.executable)) # the executable we were invoked via 35 - -- 36 - 2.25.1 37 -
···
+7 -11
pkgs/development/python-modules/virtualenv/default.nix
··· 11 , hatch-vcs 12 , hatchling 13 , importlib-metadata 14 - , importlib-resources 15 , platformdirs 16 , pytest-freezegun 17 , pytest-mock 18 , pytest-timeout 19 , pytestCheckHook 20 }: 21 22 buildPythonPackage rec { 23 pname = "virtualenv"; 24 - version = "20.19.0"; 25 format = "pyproject"; 26 27 - disabled = pythonOlder "3.6"; 28 29 src = fetchPypi { 30 inherit pname version; 31 - hash = "sha256-N6ZAuoLtQLImWZxSLUEeS+XtszmgwN4DDA3HtkbWFZA="; 32 }; 33 34 nativeBuildInputs = [ ··· 40 distlib 41 filelock 42 platformdirs 43 - ] ++ lib.optionals (pythonOlder "3.7") [ 44 - importlib-resources 45 ] ++ lib.optionals (pythonOlder "3.8") [ 46 importlib-metadata 47 - ]; 48 - 49 - patches = lib.optionals (isPy27) [ 50 - ./0001-Check-base_prefix-and-base_exec_prefix-for-Python-2.patch 51 ]; 52 53 nativeCheckInputs = [ ··· 57 pytest-mock 58 pytest-timeout 59 pytestCheckHook 60 ]; 61 62 preCheck = '' ··· 91 meta = with lib; { 92 description = "A tool to create isolated Python environments"; 93 homepage = "http://www.virtualenv.org"; 94 - changelog = "https://github.com/pypa/virtualenv/releases/tag/${version}"; 95 license = licenses.mit; 96 maintainers = with maintainers; [ goibhniu ]; 97 };
··· 11 , hatch-vcs 12 , hatchling 13 , importlib-metadata 14 , platformdirs 15 , pytest-freezegun 16 , pytest-mock 17 , pytest-timeout 18 , pytestCheckHook 19 + , time-machine 20 }: 21 22 buildPythonPackage rec { 23 pname = "virtualenv"; 24 + version = "20.24.0"; 25 format = "pyproject"; 26 27 + disabled = pythonOlder "3.7"; 28 29 src = fetchPypi { 30 inherit pname version; 31 + hash = "sha256-4qfO+dqIDWk7kz23ZUNndU8U4gZQ3GDo7nOFVx+Fk6M="; 32 }; 33 34 nativeBuildInputs = [ ··· 40 distlib 41 filelock 42 platformdirs 43 ] ++ lib.optionals (pythonOlder "3.8") [ 44 importlib-metadata 45 ]; 46 47 nativeCheckInputs = [ ··· 51 pytest-mock 52 pytest-timeout 53 pytestCheckHook 54 + ] ++ lib.optionals (!isPyPy) [ 55 + time-machine 56 ]; 57 58 preCheck = '' ··· 87 meta = with lib; { 88 description = "A tool to create isolated Python environments"; 89 homepage = "http://www.virtualenv.org"; 90 + changelog = "https://github.com/pypa/virtualenv/blob/${version}/docs/changelog.rst"; 91 license = licenses.mit; 92 maintainers = with maintainers; [ goibhniu ]; 93 };
+4 -3
pkgs/development/python-modules/wagtail/default.nix
··· 24 25 buildPythonPackage rec { 26 pname = "wagtail"; 27 - version = "4.2.2"; 28 format = "setuptools"; 29 30 disabled = pythonOlder "3.7"; 31 32 src = fetchPypi { 33 inherit pname version; 34 - hash = "sha256-s89gs3H//Dc3k6BLZUC4APyDgiWY9LetWAkI+kXQTf8="; 35 }; 36 37 postPatch = '' 38 substituteInPlace setup.py \ 39 - --replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" 40 ''; 41 42 propagatedBuildInputs = [
··· 24 25 buildPythonPackage rec { 26 pname = "wagtail"; 27 + version = "5.0.2"; 28 format = "setuptools"; 29 30 disabled = pythonOlder "3.7"; 31 32 src = fetchPypi { 33 inherit pname version; 34 + hash = "sha256-3r0h34el2zRF1l/94S7xTjBqJPWtSQFQvtVW8Mjq0rs="; 35 }; 36 37 postPatch = '' 38 substituteInPlace setup.py \ 39 + --replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" \ 40 + --replace "Pillow>=4.0.0,<10.0.0" "Pillow>=9.1.0,<11.0.0" 41 ''; 42 43 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/weaviate-client/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "weaviate-client"; 13 - version = "3.21.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-7JSsVUiDx2XpTaiylHxPD6SgN47Tu+nzZT3zpbF0Wm0="; 21 }; 22 23 SETUPTOOLS_SCM_PRETEND_VERSION = version; 24 25 postPatch = '' 26 substituteInPlace setup.cfg \ 27 - --replace "validators>=0.18.2,<0.20.0" "validators>=0.18.2" \ 28 --replace "requests>=2.28.0,<2.29.0" "requests>=2.28.0" 29 ''; 30
··· 10 11 buildPythonPackage rec { 12 pname = "weaviate-client"; 13 + version = "3.22.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-r/Yb0/XXTfIKYjKEQ+OqnIYNUzD9+xnE2N3ETLYEAy8="; 21 }; 22 23 SETUPTOOLS_SCM_PRETEND_VERSION = version; 24 25 postPatch = '' 26 substituteInPlace setup.cfg \ 27 + --replace "validators>=0.18.2,<=0.21.0" "validators>=0.18.2" \ 28 --replace "requests>=2.28.0,<2.29.0" "requests>=2.28.0" 29 ''; 30
+12 -5
pkgs/development/python-modules/willow/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 - , six 6 - , pillow 7 }: 8 9 buildPythonPackage rec { 10 pname = "willow"; 11 - version = "1.4.1"; 12 disabled = pythonOlder "2.7"; 13 14 src = fetchPypi { 15 pname = "Willow"; 16 inherit version; 17 - hash = "sha256-Dfj/UoUx4AtI1Av3Ltgb6sHcgvLULlu+1K/wIYvvjA0="; 18 }; 19 20 - propagatedBuildInputs = [ six pillow ]; 21 22 # Test data is not included 23 # https://github.com/torchbox/Willow/issues/34
··· 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 + 6 + # dependencies 7 + , filetype 8 + , defusedxml, 9 }: 10 11 buildPythonPackage rec { 12 pname = "willow"; 13 + version = "1.5.1"; 14 + format = "setuptools"; 15 + 16 disabled = pythonOlder "2.7"; 17 18 src = fetchPypi { 19 pname = "Willow"; 20 inherit version; 21 + hash = "sha256-t6SQkRATP9seIodZLgZzzCVeAobhzVNCfuaN8ckiDEw="; 22 }; 23 24 + propagatedBuildInputs = [ 25 + filetype 26 + defusedxml 27 + ]; 28 29 # Test data is not included 30 # https://github.com/torchbox/Willow/issues/34
+2 -2
pkgs/development/python-modules/xarray/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "xarray"; 15 - version = "2023.2.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-qnYFAKLY+L6O/Y87J6lLKvOwqMLANzR9WV6vb/Cdinc="; 23 }; 24 25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 12 13 buildPythonPackage rec { 14 pname = "xarray"; 15 + version = "2023.7.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-2s4v2/G3/xhdnBImokv4PCrlLzJT2/6A4X0RYmANBVw="; 23 }; 24 25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/zarr/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "zarr"; 15 - version = "2.14.2"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-aOxZuOvfxP7l4yvWwM4nP3L31O0BdFS0UyfGc8YJB7w="; 23 }; 24 25 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "zarr"; 15 + version = "2.16.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-hONraVvaDs6lKvmGEnGYTLIqXIZGeZB7e5uj95toT34="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/zipp/default.nix
··· 9 10 let zipp = buildPythonPackage rec { 11 pname = "zipp"; 12 - version = "3.15.0"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-ESkprWSdqUHCPeUPNWorVXDJVLZRUGQrzN1mvxlNIks="; 20 }; 21 22 nativeBuildInputs = [
··· 9 10 let zipp = buildPythonPackage rec { 11 pname = "zipp"; 12 + version = "3.16.2"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-68FZRqp4vWNFiZL8gew7b3sektUcNebeHDgE5zt5kUc="; 20 }; 21 22 nativeBuildInputs = [
+4 -3
pkgs/development/python2-modules/bootstrapped-pip/default.nix
··· 38 mv pip* pip 39 mv setuptools* setuptools 40 mv wheel* wheel 41 - # Set up PYTHONPATH. The above folders need to be on PYTHONPATH 42 - # $out is where we are installing to and takes precedence 43 - export PYTHONPATH="$out/${python.sitePackages}:$(pwd)/pip/src:$(pwd)/setuptools:$(pwd)/setuptools/pkg_resources:$(pwd)/wheel:$PYTHONPATH" 44 45 echo "Building setuptools wheel..." 46 pushd setuptools
··· 38 mv pip* pip 39 mv setuptools* setuptools 40 mv wheel* wheel 41 + # Set up PYTHONPATH: 42 + # - pip and setuptools need to be in PYTHONPATH to install setuptools, wheel, and pip. 43 + # - $out is where we are installing to and takes precedence, and is where wheel will end so we can install pip. 44 + export PYTHONPATH="$out/${python.sitePackages}:$(pwd)/pip/src:$(pwd)/setuptools:$(pwd)/setuptools/pkg_resources:$PYTHONPATH" 45 46 echo "Building setuptools wheel..." 47 pushd setuptools
+2 -2
pkgs/development/ruby-modules/gem-config/default.nix
··· 239 }; 240 241 gio2 = attrs: { 242 - nativeBuildInputs = [ pkg-config ] 243 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 244 - buildInputs = [ gtk2 pcre pcre2 gobject-introspection ] ++ lib.optionals stdenv.isLinux [ util-linux libselinux libsepol ]; 245 }; 246 247 gitlab-markup = attrs: { meta.priority = 1; };
··· 239 }; 240 241 gio2 = attrs: { 242 + nativeBuildInputs = [ pkg-config gobject-introspection ] 243 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 244 + buildInputs = [ gtk2 pcre pcre2 ] ++ lib.optionals stdenv.isLinux [ util-linux libselinux libsepol ]; 245 }; 246 247 gitlab-markup = attrs: { meta.priority = 1; };
+1 -2
pkgs/development/tools/aws-sam-cli/default.nix
··· 46 --replace 'boto3>=' 'boto3>=1.26.79 #' \ 47 --replace 'cfn-lint~=0.77.9' 'cfn-lint~=0.73.2' \ 48 --replace 'docker~=6.1.0' 'docker~=6.0.1' \ 49 - --replace 'pyopenssl~=23.2.0' 'pyopenssl~=23.1.0' \ 50 --replace 'ruamel_yaml~=0.17.32' 'ruamel_yaml~=0.17.21' \ 51 - --replace 'tomlkit==0.11.8' 'tomlkit~=0.11.6' \ 52 --replace 'typing_extensions~=4.4.0' 'typing_extensions~=4.4' \ 53 --replace 'tzlocal==3.0' 'tzlocal>=3.0' \ 54 --replace 'watchdog==' 'watchdog>=2.1.2 #'
··· 46 --replace 'boto3>=' 'boto3>=1.26.79 #' \ 47 --replace 'cfn-lint~=0.77.9' 'cfn-lint~=0.73.2' \ 48 --replace 'docker~=6.1.0' 'docker~=6.0.1' \ 49 --replace 'ruamel_yaml~=0.17.32' 'ruamel_yaml~=0.17.21' \ 50 + --replace 'tomlkit==0.11.8' 'tomlkit>=0.11.8' \ 51 --replace 'typing_extensions~=4.4.0' 'typing_extensions~=4.4' \ 52 --replace 'tzlocal==3.0' 'tzlocal>=3.0' \ 53 --replace 'watchdog==' 'watchdog>=2.1.2 #'
+2
pkgs/development/tools/bashate/default.nix
··· 8 , pytestCheckHook 9 , pythonOlder 10 , setuptools 11 }: 12 13 buildPythonApplication rec { ··· 30 fixtures 31 mock 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "bashate" ];
··· 8 , pytestCheckHook 9 , pythonOlder 10 , setuptools 11 + , testtools 12 }: 13 14 buildPythonApplication rec { ··· 31 fixtures 32 mock 33 pytestCheckHook 34 + testtools 35 ]; 36 37 pythonImportsCheck = [ "bashate" ];
+9
pkgs/development/tools/build-managers/conan/default.nix
··· 19 hash = "sha256-+ohUOQ9WBER/X0TDklf/qZCm9LhM1I1QRmED4FnkweM="; 20 }; 21 22 propagatedBuildInputs = with python3.pkgs; [ 23 bottle 24 colorama ··· 39 idna 40 cryptography 41 pyopenssl 42 ]; 43 44 nativeCheckInputs = [
··· 19 hash = "sha256-+ohUOQ9WBER/X0TDklf/qZCm9LhM1I1QRmED4FnkweM="; 20 }; 21 22 + nativeBuildInputs = with python3.pkgs; [ 23 + pythonRelaxDepsHook 24 + ]; 25 + 26 propagatedBuildInputs = with python3.pkgs; [ 27 bottle 28 colorama ··· 43 idna 44 cryptography 45 pyopenssl 46 + ]; 47 + 48 + pythonRelaxDeps = [ 49 + # This can be removed once conan is updated to 2.0.7+ 50 + "PyYAML" 51 ]; 52 53 nativeCheckInputs = [
+2 -12
pkgs/development/tools/check-jsonschema/default.nix
··· 4 5 buildPythonApplication rec { 6 pname = "check-jsonschema"; 7 - version = "0.21.0"; 8 format = "setuptools"; 9 10 disabled = pythonOlder "3.7"; ··· 13 owner = "python-jsonschema"; 14 repo = "check-jsonschema"; 15 rev = version; 16 - hash = "sha256-7cXnV27LCG1MXDH28UBmUC4sLooH2gKvGYF3YijLB38="; 17 }; 18 19 propagatedBuildInputs = [ ··· 28 pytest-xdist 29 responses 30 ]; 31 - 32 - pytestFlagsArray = [ 33 - # DeprecationWarning: Accessing jsonschema.draft3_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 34 - "-W" "ignore::DeprecationWarning" 35 - ]; 36 - 37 - preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' 38 - # https://github.com/python/cpython/issues/74570#issuecomment-1093748531 39 - export no_proxy='*'; 40 - ''; 41 42 pythonImportsCheck = [ 43 "check_jsonschema"
··· 4 5 buildPythonApplication rec { 6 pname = "check-jsonschema"; 7 + version = "0.23.3"; 8 format = "setuptools"; 9 10 disabled = pythonOlder "3.7"; ··· 13 owner = "python-jsonschema"; 14 repo = "check-jsonschema"; 15 rev = version; 16 + hash = "sha256-gPFG1AgInakF8leMM0c1zZt2OdZdIKcUmItwICV8p1I="; 17 }; 18 19 propagatedBuildInputs = [ ··· 28 pytest-xdist 29 responses 30 ]; 31 32 pythonImportsCheck = [ 33 "check_jsonschema"
+30
pkgs/development/tools/dt-schema/default.nix
···
··· 1 + { lib 2 + , python3 3 + }: 4 + 5 + let python = python3.override { 6 + packageOverrides = self: super: { 7 + # see https://github.com/devicetree-org/dt-schema/issues/108 8 + jsonschema = super.jsonschema.overridePythonAttrs (old: rec { 9 + version = "4.17.3"; 10 + disabled = self.pythonOlder "3.7"; 11 + 12 + src = old.src.override { 13 + inherit version; 14 + hash = "sha256-D4ZEN6uLYHa6ZwdFPvj5imoNUSqA6T+KvbZ29zfstg0="; 15 + }; 16 + 17 + propagatedBuildInputs = with self; ([ 18 + attrs 19 + pyrsistent 20 + ] ++ lib.optionals (pythonOlder "3.8") [ 21 + importlib-metadata 22 + typing-extensions 23 + ] ++ lib.optionals (pythonOlder "3.9") [ 24 + importlib-resources 25 + pkgutil-resolve-name 26 + ]); 27 + }); 28 + }; 29 + }; in python.pkgs.toPythonApplication python.pkgs.dtschema 30 +
+12 -5
pkgs/development/tools/hatch/default.nix
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "hatch"; 10 - version = "1.6.3"; 11 format = "pyproject"; 12 13 src = fetchPypi { 14 inherit pname version; 15 - hash = "sha256-ZQ5nG6MAMY5Jjvk7vjuZsyzhSSB2T7h1P4mZP2Pu15o="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ ··· 61 "test_editable_pth" 62 # AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0 63 "test_creation_allow_system_packages" 64 - # Formatting changes with pygments 2.14.0 65 - "test_create_necessary_directories" 66 ] ++ lib.optionals stdenv.isDarwin [ 67 # https://github.com/NixOS/nixpkgs/issues/209358 68 "test_scripts_no_environment" 69 ]; 70 71 meta = with lib; { 72 description = "Modern, extensible Python project manager"; 73 homepage = "https://hatch.pypa.io/latest/"; 74 - changelog = "https://github.com/pypa/hatch/blob/hatch-v${version}/docs/history.md#hatch"; 75 license = licenses.mit; 76 maintainers = with maintainers; [ onny ]; 77 };
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "hatch"; 10 + version = "1.7.0"; 11 format = "pyproject"; 12 13 src = fetchPypi { 14 inherit pname version; 15 + hash = "sha256-evxwH9WzNoSmZQ4eyriVfhloX4JCQLp0WNys1m+Q+0Y="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ ··· 61 "test_editable_pth" 62 # AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0 63 "test_creation_allow_system_packages" 64 + # tomlkit 0.12 changes 65 + "test_no_strict_naming" 66 + "test_project_location_basic_set_first_project" 67 + "test_project_location_complex_set_first_project" 68 ] ++ lib.optionals stdenv.isDarwin [ 69 # https://github.com/NixOS/nixpkgs/issues/209358 70 "test_scripts_no_environment" 71 + 72 + # This test assumes it is running on macOS with a system shell on the PATH. 73 + # It is not possible to run it in a nix build using a /nix/store shell. 74 + # See https://github.com/pypa/hatch/pull/709 for the relevant code. 75 + "test_populate_default_popen_kwargs_executable" 76 ]; 77 78 meta = with lib; { 79 description = "Modern, extensible Python project manager"; 80 homepage = "https://hatch.pypa.io/latest/"; 81 + changelog = "https://github.com/pypa/hatch/blob/hatch-v${version}/docs/history/hatch.md"; 82 license = licenses.mit; 83 maintainers = with maintainers; [ onny ]; 84 };
+5
pkgs/development/tools/misc/catppuccin-catwalk/default.nix
··· 15 hash = "sha256-5TAw5H3soxe9vLhfj1qs8uMr4ybrHlCj4zdsMzvPo6s="; 16 }; 17 18 nativeBuildInputs = with python3.pkgs; [ 19 poetry-core 20 ];
··· 15 hash = "sha256-5TAw5H3soxe9vLhfj1qs8uMr4ybrHlCj4zdsMzvPo6s="; 16 }; 17 18 + postPatch = '' 19 + substituteInPlace pyproject.toml \ 20 + --replace 'Pillow = "^' 'Pillow = ">=' 21 + ''; 22 + 23 nativeBuildInputs = with python3.pkgs; [ 24 poetry-core 25 ];
+2 -2
pkgs/development/tools/parsing/re2c/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "re2c"; 16 - version = "3.0"; 17 18 src = fetchFromGitHub { 19 owner = "skvadrik"; 20 repo = "re2c"; 21 rev = version; 22 - sha256 = "sha256-ovwmltu97fzNQT0oZHefrAo4yV9HV1NwcY4PTSM5Bro="; 23 }; 24 25 nativeBuildInputs = [
··· 13 14 stdenv.mkDerivation rec { 15 pname = "re2c"; 16 + version = "3.1"; 17 18 src = fetchFromGitHub { 19 owner = "skvadrik"; 20 repo = "re2c"; 21 rev = version; 22 + sha256 = "sha256-7zZdLby7HdNoURgdkg+xnlp6VDCACcyGCTtjM43OLd4="; 23 }; 24 25 nativeBuildInputs = [
+1
pkgs/development/tools/pifpaf/default.nix
··· 29 30 nativeCheckInputs = with python3.pkgs; [ 31 requests 32 ]; 33 34 pythonImportsCheck = [ "pifpaf" ];
··· 29 30 nativeCheckInputs = with python3.pkgs; [ 31 requests 32 + testtools 33 ]; 34 35 pythonImportsCheck = [ "pifpaf" ];
+9 -4
pkgs/development/tools/rust/cargo-c/default.nix
··· 8 , CoreFoundation 9 , libiconv 10 , Security 11 }: 12 13 rustPlatform.buildRustPackage rec { 14 pname = "cargo-c"; 15 - version = "0.9.20"; 16 17 src = fetchCrate { 18 inherit pname; 19 # this version may need to be updated along with package version 20 - version = "${version}+cargo-0.71"; 21 - hash = "sha256-T0/gqzeJxDSZDoi8tl4vgYEAFbJDlCoxuqoi6rnf5U4="; 22 }; 23 24 - cargoHash = "sha256-tArfCEGFRgJPERZW1HzfdDedc+FD8bpc+LX4wNwdv6Q="; 25 26 nativeBuildInputs = [ pkg-config (lib.getDev curl) ]; 27 buildInputs = [ openssl curl ] ++ lib.optionals stdenv.isDarwin [ ··· 39 40 runHook postInstallCheck 41 ''; 42 43 meta = with lib; { 44 description = "A cargo subcommand to build and install C-ABI compatible dynamic and static libraries";
··· 8 , CoreFoundation 9 , libiconv 10 , Security 11 + , rav1e 12 }: 13 14 rustPlatform.buildRustPackage rec { 15 pname = "cargo-c"; 16 + version = "0.9.22"; 17 18 src = fetchCrate { 19 inherit pname; 20 # this version may need to be updated along with package version 21 + version = "${version}+cargo-0.72"; 22 + hash = "sha256-B9y8/8qms+t6LnUFes4/MGcEp8P8C2hunCouiTMt0LY="; 23 }; 24 25 + cargoHash = "sha256-7amH8qPmi531sDy3aZsZ5J/oSCnbHY47YzsFODDPcBU="; 26 27 nativeBuildInputs = [ pkg-config (lib.getDev curl) ]; 28 buildInputs = [ openssl curl ] ++ lib.optionals stdenv.isDarwin [ ··· 40 41 runHook postInstallCheck 42 ''; 43 + 44 + passthru.tests = { 45 + inherit rav1e; 46 + }; 47 48 meta = with lib; { 49 description = "A cargo subcommand to build and install C-ABI compatible dynamic and static libraries";
+1 -6
pkgs/development/tools/rust/maturin/default.nix
··· 3 , stdenv 4 , fetchFromGitHub 5 , rustPlatform 6 - , pkg-config 7 - , dbus 8 , libiconv 9 , Security 10 }: ··· 22 23 cargoHash = "sha256-EGgVPRaofia+AwXSr6X4Aa8jbk5qDkXg1XvMoEp0qMQ="; 24 25 - nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; 26 - 27 - buildInputs = lib.optionals stdenv.isLinux [ dbus ] 28 - ++ lib.optionals stdenv.isDarwin [ Security libiconv ]; 29 30 # Requires network access, fails in sandbox. 31 doCheck = false;
··· 3 , stdenv 4 , fetchFromGitHub 5 , rustPlatform 6 , libiconv 7 , Security 8 }: ··· 20 21 cargoHash = "sha256-EGgVPRaofia+AwXSr6X4Aa8jbk5qDkXg1XvMoEp0qMQ="; 22 23 + buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; 24 25 # Requires network access, fails in sandbox. 26 doCheck = false;
+9
pkgs/development/web/boa/default.nix
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 , pkg-config 5 , bzip2 6 , openssl ··· 20 hash = "sha256-3Iv7Ko6ukbmec4yDKayxW0T6+3ZNbUT4wWwEarBy4Zs="; 21 fetchSubmodules = true; 22 }; 23 24 cargoHash = "sha256-2ZzTvVoA4oxy26rL0tvdvXm2oVWpHP+gooyjB4vIP3M="; 25
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 + , fetchpatch 5 , pkg-config 6 , bzip2 7 , openssl ··· 21 hash = "sha256-3Iv7Ko6ukbmec4yDKayxW0T6+3ZNbUT4wWwEarBy4Zs="; 22 fetchSubmodules = true; 23 }; 24 + 25 + patches = [ 26 + (fetchpatch { 27 + name = "fix-rust-1.71-lints.patch"; 28 + url = "https://github.com/boa-dev/boa/commit/93d05bda6864aa6ee67682d84bd4fc2108093ef5.patch"; 29 + hash = "sha256-hMp4/UBN5moGBSqf8BJV2nBwgV3cry9uC2fJmdT5hkQ="; 30 + }) 31 + ]; 32 33 cargoHash = "sha256-2ZzTvVoA4oxy26rL0tvdvXm2oVWpHP+gooyjB4vIP3M="; 34
+2 -2
pkgs/development/web/nodejs/v18.nix
··· 9 in 10 buildNodejs { 11 inherit enableNpm; 12 - version = "18.16.1"; 13 - sha256 = "sha256-6EBPjI2J/f336Vu7xgZr0OVxrLpY9USSWZthX77v4nI="; 14 patches = [ 15 ./disable-darwin-v8-system-instrumentation.patch 16 ./bypass-darwin-xcrun-node16.patch
··· 9 in 10 buildNodejs { 11 inherit enableNpm; 12 + version = "18.17.0"; 13 + sha256 = "01h4fzr0dpnhmd96hxhbb8dhyylp68j5ramrrh9w4fgaynnzmh40"; 14 patches = [ 15 ./disable-darwin-v8-system-instrumentation.patch 16 ./bypass-darwin-xcrun-node16.patch
+2 -2
pkgs/games/gscrabble/default.nix
··· 15 16 doCheck = false; 17 18 - nativeBuildInputs = [ wrapGAppsHook ]; 19 20 buildInputs = with gst_all_1; [ 21 gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad 22 - gnome.adwaita-icon-theme gtk3 gobject-introspection 23 ]; 24 25 propagatedBuildInputs = with python3Packages; [ gst-python pygobject3 ];
··· 15 16 doCheck = false; 17 18 + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 19 20 buildInputs = with gst_all_1; [ 21 gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad 22 + gnome.adwaita-icon-theme gtk3 23 ]; 24 25 propagatedBuildInputs = with python3Packages; [ gst-python pygobject3 ];
+1 -2
pkgs/games/gshogi/default.nix
··· 21 22 buildInputs = [ 23 gtk3 24 - gobject-introspection 25 ]; 26 27 - nativeBuildInputs = [ wrapGAppsHook ]; 28 29 propagatedBuildInputs = with python3.pkgs; [ 30 pygobject3
··· 21 22 buildInputs = [ 23 gtk3 24 ]; 25 26 + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 27 28 propagatedBuildInputs = with python3.pkgs; [ 29 pygobject3
+2 -2
pkgs/games/jumpnbump/default.nix
··· 27 28 makeFlags = [ "PREFIX=$(out)" ]; 29 30 - nativeBuildInputs = [ python3Packages.wrapPython wrapGAppsHook ]; 31 - buildInputs = [ SDL2 SDL2_mixer SDL2_net gtk3 gobject-introspection ]; 32 33 postInstall = '' 34 make -C menu PREFIX=$out all install
··· 27 28 makeFlags = [ "PREFIX=$(out)" ]; 29 30 + nativeBuildInputs = [ python3Packages.wrapPython wrapGAppsHook gobject-introspection ]; 31 + buildInputs = [ SDL2 SDL2_mixer SDL2_net gtk3 ]; 32 33 postInstall = '' 34 make -C menu PREFIX=$out all install
+8 -2
pkgs/games/klavaro/default.nix
··· 39 --replace "/usr/bin/file" "${file}/bin/file" 40 ''; 41 42 - # Hack to avoid TMPDIR in RPATHs. 43 - preFixup = ''rm -rf "$(pwd)" ''; 44 45 meta = with lib; { 46 description = "Free touch typing tutor program";
··· 39 --replace "/usr/bin/file" "${file}/bin/file" 40 ''; 41 42 + # remove forbidden references to $TMPDIR 43 + preFixup = lib.optionalString stdenv.isLinux '' 44 + for f in "$out"/bin/*; do 45 + if isELF "$f"; then 46 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 47 + fi 48 + done 49 + ''; 50 51 meta = with lib; { 52 description = "Free touch typing tutor program";
+1 -2
pkgs/games/minecraft/default.nix
··· 100 sha256 = "0w8z21ml79kblv20wh5lz037g130pxkgs8ll9s3bi94zn2pbrhim"; 101 }; 102 103 - nativeBuildInputs = [ makeWrapper wrapGAppsHook copyDesktopItems ]; 104 - buildInputs = [ gobject-introspection ]; 105 106 sourceRoot = "."; 107
··· 100 sha256 = "0w8z21ml79kblv20wh5lz037g130pxkgs8ll9s3bi94zn2pbrhim"; 101 }; 102 103 + nativeBuildInputs = [ makeWrapper wrapGAppsHook copyDesktopItems gobject-introspection ]; 104 105 sourceRoot = "."; 106
+3 -4
pkgs/misc/jackaudio/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, pkg-config, python3Packages, makeWrapper 2 - , bash, libsamplerate, libsndfile, readline, eigen, celt 3 , wafHook 4 # Darwin Dependencies 5 , aften, AudioUnit, CoreAudio, libobjc, Accelerate ··· 46 aften AudioUnit CoreAudio Accelerate libobjc 47 ]; 48 49 - prePatch = '' 50 - substituteInPlace svnversion_regenerate.sh \ 51 - --replace /bin/bash ${bash}/bin/bash 52 ''; 53 54 dontAddWafCrossFlags = true;
··· 1 { lib, stdenv, fetchFromGitHub, pkg-config, python3Packages, makeWrapper 2 + , libsamplerate, libsndfile, readline, eigen, celt 3 , wafHook 4 # Darwin Dependencies 5 , aften, AudioUnit, CoreAudio, libobjc, Accelerate ··· 46 aften AudioUnit CoreAudio Accelerate libobjc 47 ]; 48 49 + postPatch = '' 50 + patchShebangs --build svnversion_regenerate.sh 51 ''; 52 53 dontAddWafCrossFlags = true;
+1
pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix
··· 63 MIG = "mig"; 64 MIGCOM = "migcom"; 65 STRIP = "${stdenv.cc.bintools.targetPrefix or ""}strip"; 66 NM = "${stdenv.cc.bintools.targetPrefix or ""}nm"; 67 UNIFDEF = "unifdef"; 68 DSYMUTIL = "dsymutil";
··· 63 MIG = "mig"; 64 MIGCOM = "migcom"; 65 STRIP = "${stdenv.cc.bintools.targetPrefix or ""}strip"; 66 + RANLIB = "${stdenv.cc.bintools.targetPrefix or ""}ranlib"; 67 NM = "${stdenv.cc.bintools.targetPrefix or ""}nm"; 68 UNIFDEF = "unifdef"; 69 DSYMUTIL = "dsymutil";
+2 -2
pkgs/os-specific/linux/kbd/default.nix
··· 16 17 stdenv.mkDerivation rec { 18 pname = "kbd"; 19 - version = "2.5.1"; 20 21 src = fetchurl { 22 url = "mirror://kernel/linux/utils/kbd/${pname}-${version}.tar.xz"; 23 - sha256 = "sha256-zN9FI4emOAlz0pJzY+nLuTn6IGiRWm+Tf/nSRSICRoM="; 24 }; 25 26 # vlock is moved into its own output, since it depends on pam. This
··· 16 17 stdenv.mkDerivation rec { 18 pname = "kbd"; 19 + version = "2.6.1"; 20 21 src = fetchurl { 22 url = "mirror://kernel/linux/utils/kbd/${pname}-${version}.tar.xz"; 23 + sha256 = "sha256-LrbGyXK+lYm6tzMnW/AgvrX2RNX5Q5c3kg5wGvbPNIU="; 24 }; 25 26 # vlock is moved into its own output, since it depends on pam. This
+4 -1
pkgs/os-specific/linux/libsmbios/default.nix
··· 35 cp -a out/public-include/smbios_c $out/include/ 36 ''; 37 38 - preFixup = ''rm -rf "$(pwd)" ''; # Hack to avoid TMPDIR in RPATHs 39 40 meta = with lib; { 41 homepage = "https://github.com/dell/libsmbios";
··· 35 cp -a out/public-include/smbios_c $out/include/ 36 ''; 37 38 + # remove forbidden reference to $TMPDIR 39 + preFixup = '' 40 + patchelf --shrink-rpath --allowed-rpath-prefixes "/nix/store" "$out/sbin/smbios-sys-info-lite" 41 + ''; 42 43 meta = with lib; { 44 homepage = "https://github.com/dell/libsmbios";
+4 -1
pkgs/os-specific/linux/lm-sensors/default.nix
··· 48 49 # Making regexp to patch-out installing of .so symlinks from Makefile is 50 # complicated, it is easier to remove them post-install. 51 - postInstall = lib.optionalString stdenv.hostPlatform.isStatic '' 52 rm $out/lib/*.so* 53 ''; 54
··· 48 49 # Making regexp to patch-out installing of .so symlinks from Makefile is 50 # complicated, it is easier to remove them post-install. 51 + postInstall = '' 52 + mkdir -p $out/share/doc/${pname} 53 + cp -r configs doc/* $out/share/doc/${pname} 54 + '' + lib.optionalString stdenv.hostPlatform.isStatic '' 55 rm $out/lib/*.so* 56 ''; 57
+1 -1
pkgs/os-specific/linux/tiscamera/default.nix
··· 60 cmake 61 pkg-config 62 wrapGAppsHook 63 ] ++ lib.optionals withDoc [ 64 sphinx 65 graphviz ··· 81 pcre 82 zstd 83 glib 84 - gobject-introspection 85 gst_all_1.gstreamer 86 gst_all_1.gst-plugins-base 87 gst_all_1.gst-plugins-good
··· 60 cmake 61 pkg-config 62 wrapGAppsHook 63 + gobject-introspection 64 ] ++ lib.optionals withDoc [ 65 sphinx 66 graphviz ··· 82 pcre 83 zstd 84 glib 85 gst_all_1.gstreamer 86 gst_all_1.gst-plugins-base 87 gst_all_1.gst-plugins-good
+17 -8
pkgs/os-specific/linux/upower/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitLab 4 - , fetchpatch 5 , makeWrapper 6 , pkg-config 7 , rsync ··· 18 , libgudev 19 , libusb1 20 , glib 21 - , gobject-introspection 22 , gettext 23 , systemd 24 , useIMobileDevice ? true 25 , libimobiledevice 26 - , withDocs ? (stdenv.buildPlatform == stdenv.hostPlatform) 27 - , nixosTests 28 }: 29 30 stdenv.mkDerivation (finalAttrs: { 31 pname = "upower"; ··· 60 meson 61 ninja 62 python3 63 - gtk-doc 64 docbook-xsl-nons 65 gettext 66 - gobject-introspection 67 libxslt 68 makeWrapper 69 pkg-config 70 rsync 71 ]; 72 73 buildInputs = [ ··· 110 "-Dsystemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 111 "-Dudevrulesdir=${placeholder "out"}/lib/udev/rules.d" 112 "-Dudevhwdbdir=${placeholder "out"}/lib/udev/hwdb.d" 113 - "-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "auto" else "disabled"}" 114 - "-Dgtk-doc=${lib.boolToString withDocs}" 115 "-Dinstalled_test_prefix=${placeholder "installedTests"}" 116 ]; 117
··· 1 { lib 2 , stdenv 3 , fetchFromGitLab 4 , makeWrapper 5 , pkg-config 6 , rsync ··· 17 , libgudev 18 , libusb1 19 , glib 20 , gettext 21 , systemd 22 + , nixosTests 23 , useIMobileDevice ? true 24 , libimobiledevice 25 + , withDocs ? withIntrospection 26 + , mesonEmulatorHook 27 + , withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages 28 + , buildPackages 29 + , gobject-introspection 30 }: 31 + 32 + assert withDocs -> withIntrospection; 33 34 stdenv.mkDerivation (finalAttrs: { 35 pname = "upower"; ··· 64 meson 65 ninja 66 python3 67 docbook-xsl-nons 68 gettext 69 libxslt 70 makeWrapper 71 pkg-config 72 rsync 73 + glib 74 + ] ++ lib.optionals withIntrospection [ 75 + gobject-introspection 76 + ] ++ lib.optionals withDocs [ 77 + gtk-doc 78 + ] ++ lib.optionals (withDocs && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 79 + mesonEmulatorHook 80 ]; 81 82 buildInputs = [ ··· 119 "-Dsystemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 120 "-Dudevrulesdir=${placeholder "out"}/lib/udev/rules.d" 121 "-Dudevhwdbdir=${placeholder "out"}/lib/udev/hwdb.d" 122 + (lib.mesonEnable "introspection" withIntrospection) 123 + (lib.mesonBool "gtk-doc" withDocs) 124 "-Dinstalled_test_prefix=${placeholder "installedTests"}" 125 ]; 126
+8 -3
pkgs/servers/baserow/default.nix
··· 48 sourceRoot = "${src.name}/backend"; 49 50 postPatch = '' 51 # remove dependency constraints 52 - sed 's/[~<>=].*//' -i requirements/base.in requirements/base.txt 53 - sed 's/zope-interface/zope.interface/' -i requirements/base.in requirements/base.txt 54 - sed 's/\[standard\]//' -i requirements/base.in requirements/base.txt 55 ''; 56 57 nativeBuildInputs = [
··· 48 sourceRoot = "${src.name}/backend"; 49 50 postPatch = '' 51 + # use input files to not depend on outdated peer dependencies 52 + mv requirements/base.{in,txt} 53 + mv requirements/dev.{in,txt} 54 + 55 # remove dependency constraints 56 + sed -i requirements/base.txt \ 57 + -e 's/[~<>=].*//' -i requirements/base.txt \ 58 + -e 's/zope-interface/zope.interface/' \ 59 + -e 's/\[standard\]//' 60 ''; 61 62 nativeBuildInputs = [
+4
pkgs/servers/home-assistant/default.nix
··· 449 "--deselect tests/test_config.py::test_merge" 450 # AssertionError: assert 2 == 1 451 "--deselect=tests/helpers/test_translation.py::test_caching" 452 # tests are located in tests/ 453 "tests" 454 ];
··· 449 "--deselect tests/test_config.py::test_merge" 450 # AssertionError: assert 2 == 1 451 "--deselect=tests/helpers/test_translation.py::test_caching" 452 + # AssertionError: assert None == RegistryEntry 453 + "--deselect=tests/helpers/test_entity_registry.py::test_get_or_create_updates_data" 454 + # AssertionError: assert 2 == 1 455 + "--deselect=tests/helpers/test_entity_values.py::test_override_single_value" 456 # tests are located in tests/ 457 "tests" 458 ];
+4 -4
pkgs/servers/http/unit/default.nix
··· 3 , withPython3 ? true, python3, ncurses 4 , withPHP81 ? true, php81 5 , withPHP82 ? false, php82 6 - , withPerl534 ? false, perl534 7 - , withPerl536 ? true, perl536 8 , withPerldevel ? false, perldevel 9 , withRuby_3_0 ? false, ruby_3_0 10 , withRuby_3_1 ? true, ruby_3_1 ··· 46 ++ optionals withPython3 [ python3 ncurses ] 47 ++ optional withPHP81 php81-unit 48 ++ optional withPHP82 php82-unit 49 - ++ optional withPerl534 perl534 50 ++ optional withPerl536 perl536 51 ++ optional withPerldevel perldevel 52 ++ optional withRuby_3_0 ruby_3_0 53 ++ optional withRuby_3_1 ruby_3_1 ··· 70 ${optionalString withPython3 "./configure python --module=python3 --config=python3-config --lib-path=${python3}/lib"} 71 ${optionalString withPHP81 "./configure php --module=php81 --config=${php81-unit.unwrapped.dev}/bin/php-config --lib-path=${php81-unit}/lib"} 72 ${optionalString withPHP82 "./configure php --module=php81 --config=${php82-unit.unwrapped.dev}/bin/php-config --lib-path=${php82-unit}/lib"} 73 - ${optionalString withPerl534 "./configure perl --module=perl534 --perl=${perl534}/bin/perl"} 74 ${optionalString withPerl536 "./configure perl --module=perl536 --perl=${perl536}/bin/perl"} 75 ${optionalString withPerldevel "./configure perl --module=perldev --perl=${perldevel}/bin/perl"} 76 ${optionalString withRuby_3_0 "./configure ruby --module=ruby30 --ruby=${ruby_3_0}/bin/ruby"} 77 ${optionalString withRuby_3_1 "./configure ruby --module=ruby31 --ruby=${ruby_3_1}/bin/ruby"}
··· 3 , withPython3 ? true, python3, ncurses 4 , withPHP81 ? true, php81 5 , withPHP82 ? false, php82 6 + , withPerl536 ? false, perl536 7 + , withPerl538 ? true, perl538 8 , withPerldevel ? false, perldevel 9 , withRuby_3_0 ? false, ruby_3_0 10 , withRuby_3_1 ? true, ruby_3_1 ··· 46 ++ optionals withPython3 [ python3 ncurses ] 47 ++ optional withPHP81 php81-unit 48 ++ optional withPHP82 php82-unit 49 ++ optional withPerl536 perl536 50 + ++ optional withPerl538 perl538 51 ++ optional withPerldevel perldevel 52 ++ optional withRuby_3_0 ruby_3_0 53 ++ optional withRuby_3_1 ruby_3_1 ··· 70 ${optionalString withPython3 "./configure python --module=python3 --config=python3-config --lib-path=${python3}/lib"} 71 ${optionalString withPHP81 "./configure php --module=php81 --config=${php81-unit.unwrapped.dev}/bin/php-config --lib-path=${php81-unit}/lib"} 72 ${optionalString withPHP82 "./configure php --module=php81 --config=${php82-unit.unwrapped.dev}/bin/php-config --lib-path=${php82-unit}/lib"} 73 ${optionalString withPerl536 "./configure perl --module=perl536 --perl=${perl536}/bin/perl"} 74 + ${optionalString withPerl538 "./configure perl --module=perl538 --perl=${perl538}/bin/perl"} 75 ${optionalString withPerldevel "./configure perl --module=perldev --perl=${perldevel}/bin/perl"} 76 ${optionalString withRuby_3_0 "./configure ruby --module=ruby30 --ruby=${ruby_3_0}/bin/ruby"} 77 ${optionalString withRuby_3_1 "./configure ruby --module=ruby31 --ruby=${ruby_3_1}/bin/ruby"}
+2 -2
pkgs/servers/imgproxy/default.nix
··· 14 15 vendorHash = "sha256-5o1i88v+1UGYXP2SzyM6seyidrj1Z3Q64w/gi07xf4w="; 16 17 - nativeBuildInputs = [ pkg-config ]; 18 19 - buildInputs = [ gobject-introspection vips ] 20 ++ lib.optionals stdenv.isDarwin [ libunwind ]; 21 22 preBuild = ''
··· 14 15 vendorHash = "sha256-5o1i88v+1UGYXP2SzyM6seyidrj1Z3Q64w/gi07xf4w="; 16 17 + nativeBuildInputs = [ pkg-config gobject-introspection ]; 18 19 + buildInputs = [ vips ] 20 ++ lib.optionals stdenv.isDarwin [ libunwind ]; 21 22 preBuild = ''
+1 -6
pkgs/servers/matrix-synapse/plugins/rendezvous.nix
··· 29 maturinBuildHook 30 ]); 31 32 - preBuild = '' 33 - cd synapse 34 - ''; 35 36 - postBuild = '' 37 - cd .. 38 - ''; 39 40 pythonImportsCheck = [ "matrix_http_rendezvous_synapse" ]; 41
··· 29 maturinBuildHook 30 ]); 31 32 + buildAndTestSubdir = "synapse"; 33 34 35 pythonImportsCheck = [ "matrix_http_rendezvous_synapse" ]; 36
+1 -1
pkgs/servers/mlflow-server/default.nix
··· 11 py.mysqlclient 12 ]; 13 14 - postPatch = '' 15 substituteInPlace mlflow/utils/process.py --replace \ 16 "child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True," \ 17 "cmd[0]='$out/bin/gunicornMlflow'; child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True,"
··· 11 py.mysqlclient 12 ]; 13 14 + postPatch = (old.postPatch or "") + '' 15 substituteInPlace mlflow/utils/process.py --replace \ 16 "child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True," \ 17 "cmd[0]='$out/bin/gunicornMlflow'; child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True,"
+4
pkgs/servers/nosql/janusgraph/default.nix
··· 30 31 makeWrapper ${jdk11}/bin/java $out/bin/janusgraph-server \ 32 --add-flags "-classpath $classpath org.janusgraph.graphdb.server.JanusGraphServer" 33 ''; 34 35 meta = with lib; {
··· 30 31 makeWrapper ${jdk11}/bin/java $out/bin/janusgraph-server \ 32 --add-flags "-classpath $classpath org.janusgraph.graphdb.server.JanusGraphServer" 33 + 34 + # temporary workaround for 35 + # https://github.com/NixOS/nixpkgs/pull/244400#issuecomment-1667330430 36 + cd "$TMPDIR" 37 ''; 38 39 meta = with lib; {
+6 -3
pkgs/servers/openafs/1.8/default.nix
··· 117 cp -r doc/doxygen/output/html $devdoc/share/devhelp/openafs/doxygen 118 ''; 119 120 - # Avoid references to $TMPDIR by removing it and let patchelf cleanup the 121 - # binaries. 122 preFixup = '' 123 - rm -rf "$(pwd)" && mkdir "$(pwd)" 124 ''; 125 126 meta = with lib; {
··· 117 cp -r doc/doxygen/output/html $devdoc/share/devhelp/openafs/doxygen 118 ''; 119 120 + # remove forbidden references to $TMPDIR 121 preFixup = '' 122 + for f in "$out"/bin/*; do 123 + if isELF "$f"; then 124 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 125 + fi 126 + done 127 ''; 128 129 meta = with lib; {
+3 -3
pkgs/servers/slimserver/default.nix
··· 5 , lib 6 , makeWrapper 7 , monkeysAudio 8 - , perl534Packages 9 , sox 10 , stdenv 11 , wavpack 12 , zlib 13 }: 14 15 - perl534Packages.buildPerlPackage rec { 16 pname = "slimserver"; 17 version = "8.3.1"; 18 ··· 25 26 nativeBuildInputs = [ makeWrapper ]; 27 28 - buildInputs = [ perl534Packages.CryptOpenSSLRSA perl534Packages.IOSocketSSL ]; 29 30 prePatch = '' 31 rm -rf Bin
··· 5 , lib 6 , makeWrapper 7 , monkeysAudio 8 + , perlPackages 9 , sox 10 , stdenv 11 , wavpack 12 , zlib 13 }: 14 15 + perlPackages.buildPerlPackage rec { 16 pname = "slimserver"; 17 version = "8.3.1"; 18 ··· 25 26 nativeBuildInputs = [ makeWrapper ]; 27 28 + buildInputs = [ perlPackages.CryptOpenSSLRSA perlPackages.IOSocketSSL ]; 29 30 prePatch = '' 31 rm -rf Bin
+1 -1
pkgs/servers/web-apps/nifi/default.nix
··· 13 buildInputs = [ jdk11 ]; 14 15 installPhase = '' 16 - mv ../$sourceRoot $out 17 rm -f $out/bin/*bat 18 rm -rf $out/extensions 19 mkdir -p $out/share/nifi
··· 13 buildInputs = [ jdk11 ]; 14 15 installPhase = '' 16 + cp -r ../$sourceRoot $out 17 rm -f $out/bin/*bat 18 rm -rf $out/extensions 19 mkdir -p $out/share/nifi
+4 -1
pkgs/stdenv/generic/default.nix
··· 70 ../../build-support/setup-hooks/prune-libtool-files.sh 71 ../../build-support/setup-hooks/reproducible-builds.sh 72 ../../build-support/setup-hooks/set-source-date-epoch-to-latest.sh 73 - ../../build-support/setup-hooks/strip.sh 74 ] ++ lib.optionals hasCC [ cc ]; 75 76 defaultBuildInputs = extraBuildInputs;
··· 70 ../../build-support/setup-hooks/prune-libtool-files.sh 71 ../../build-support/setup-hooks/reproducible-builds.sh 72 ../../build-support/setup-hooks/set-source-date-epoch-to-latest.sh 73 + (with buildPlatform; if isAarch64 && isLinux 74 + then ../../build-support/setup-hooks/strip-tmp-aarch64.sh 75 + else ../../build-support/setup-hooks/strip.sh 76 + ) 77 ] ++ lib.optionals hasCC [ cc ]; 78 79 defaultBuildInputs = extraBuildInputs;
+1 -1
pkgs/stdenv/generic/setup.sh
··· 1594 1595 if [ "$curPhase" = unpackPhase ]; then 1596 # make sure we can cd into the directory 1597 - [ -z "${sourceRoot}" ] || chmod +x "${sourceRoot}" 1598 1599 cd "${sourceRoot:-.}" 1600 fi
··· 1594 1595 if [ "$curPhase" = unpackPhase ]; then 1596 # make sure we can cd into the directory 1597 + [ -n "${sourceRoot:-}" ] && chmod +x "${sourceRoot}" 1598 1599 cd "${sourceRoot:-.}" 1600 fi
+1
pkgs/tools/X11/caffeine-ng/default.nix
··· 30 inherit version; 31 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 32 }; 33 }); 34 in buildPythonApplication rec { 35 pname = "caffeine-ng";
··· 30 inherit version; 31 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 32 }; 33 + disabledTests = [ "test_bytes_args" ]; # https://github.com/pallets/click/commit/6e05e1fa1c2804 34 }); 35 in buildPythonApplication rec { 36 pname = "caffeine-ng";
+1 -1
pkgs/tools/admin/ansible/later.nix
··· 26 "jsonschema" 27 "pathspec" 28 "python-json-logger" 29 - "pyyaml" 30 "toolz" 31 "unidiff" 32 "yamllint"
··· 26 "jsonschema" 27 "pathspec" 28 "python-json-logger" 29 + "PyYAML" 30 "toolz" 31 "unidiff" 32 "yamllint"
+7 -29
pkgs/tools/admin/awscli/default.nix
··· 1 { lib 2 , python3 3 - , fetchFromGitHub 4 , fetchPypi 5 , groff 6 , less 7 }: 8 - let 9 - py = python3.override { 10 - packageOverrides = self: super: { 11 - pyyaml = super.pyyaml.overridePythonAttrs rec { 12 - version = "5.4.1"; 13 - src = fetchFromGitHub { 14 - owner = "yaml"; 15 - repo = "pyyaml"; 16 - rev = version; 17 - hash = "sha256-VUqnlOF/8zSOqh6JoEYOsfQ0P4g+eYqxyFTywgCS7gM="; 18 - }; 19 - checkPhase = '' 20 - runHook preCheck 21 - PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all 22 - runHook postCheck 23 - ''; 24 - }; 25 - }; 26 - self = py; 27 - }; 28 29 - in 30 - with py.pkgs; buildPythonApplication rec { 31 pname = "awscli"; 32 - version = "1.27.79"; # N.B: if you change this, change botocore and boto3 to a matching version too 33 34 src = fetchPypi { 35 inherit pname version; 36 - hash = "sha256-A3MVM5MV+PTwR4W2ALrqEtMaFtVAEt8yqkd4ZLsvHGE="; 37 }; 38 39 # https://github.com/aws/aws-cli/issues/4837 ··· 44 --replace "rsa>=3.1.2,<4.8" "rsa<5,>=3.1.2" 45 ''; 46 47 - propagatedBuildInputs = [ 48 botocore 49 bcdoc 50 s3transfer 51 - six 52 colorama 53 docutils 54 rsa ··· 68 ''; 69 70 passthru = { 71 - python = py; # for aws_shell 72 }; 73 74 doInstallCheck = true; 75 installCheckPhase = '' 76 runHook preInstallCheck 77 78 - $out/bin/aws --version | grep "${py.pkgs.botocore.version}" 79 $out/bin/aws --version | grep "${version}" 80 81 runHook postInstallCheck
··· 1 { lib 2 , python3 3 , fetchPypi 4 , groff 5 , less 6 }: 7 8 + python3.pkgs.buildPythonApplication rec { 9 pname = "awscli"; 10 + version = "1.29.9"; # N.B: if you change this, change botocore and boto3 to a matching version too 11 12 src = fetchPypi { 13 inherit pname version; 14 + hash = "sha256-8SmOu79FZESL1Hd15wdd1m1Uewswqaum2y8LOZAl9P8="; 15 }; 16 17 # https://github.com/aws/aws-cli/issues/4837 ··· 22 --replace "rsa>=3.1.2,<4.8" "rsa<5,>=3.1.2" 23 ''; 24 25 + propagatedBuildInputs = with python3.pkgs; [ 26 botocore 27 bcdoc 28 s3transfer 29 colorama 30 docutils 31 rsa ··· 45 ''; 46 47 passthru = { 48 + python = python3; # for aws_shell 49 }; 50 51 doInstallCheck = true; 52 + 53 installCheckPhase = '' 54 runHook preInstallCheck 55 56 + $out/bin/aws --version | grep "${python3.pkgs.botocore.version}" 57 $out/bin/aws --version | grep "${version}" 58 59 runHook postInstallCheck
+21 -7
pkgs/tools/admin/awscli2/default.nix
··· 3 , groff 4 , less 5 , fetchFromGitHub 6 , nix-update-script 7 , testers 8 , awscli2 ··· 10 11 let 12 py = python3 // { 13 - pkgs = python3.pkgs.overrideScope (self: super: { 14 - # nothing right now 15 }); 16 }; 17 ··· 28 hash = "sha256-gtzRHNEReCKzGDdiwS5kngcJYp5oAHmhnOPl/uTyxvU="; 29 }; 30 31 postPatch = '' 32 - substituteInPlace requirements/bootstrap.txt \ 33 - --replace "pip>=22.0.0,<23.0.0" "pip>=22.0.0,<24.0.0" 34 ''; 35 36 nativeBuildInputs = [ ··· 74 rm $out/bin/aws.cmd 75 ''; 76 77 - doCheck = true; 78 - 79 preCheck = '' 80 export PATH=$PATH:$out/bin 81 export HOME=$(mktemp -d) ··· 107 tests.version = testers.testVersion { 108 package = awscli2; 109 command = "aws --version"; 110 - version = version; 111 }; 112 }; 113
··· 3 , groff 4 , less 5 , fetchFromGitHub 6 + , fetchpatch 7 , nix-update-script 8 , testers 9 , awscli2 ··· 11 12 let 13 py = python3 // { 14 + pkgs = python3.pkgs.overrideScope (final: prev: { 15 + ruamel-yaml = prev.ruamel-yaml.overridePythonAttrs (prev: { 16 + src = prev.src.override { 17 + version = "0.17.21"; 18 + hash = "sha256-i3zml6LyEnUqNcGsQURx3BbEJMlXO+SSa1b/P10jt68="; 19 + }; 20 + }); 21 }); 22 }; 23 ··· 34 hash = "sha256-gtzRHNEReCKzGDdiwS5kngcJYp5oAHmhnOPl/uTyxvU="; 35 }; 36 37 + patches = [ 38 + # https://github.com/aws/aws-cli/pull/7912 39 + (fetchpatch { 40 + name = "update-flit-core.patch"; 41 + url = "https://github.com/aws/aws-cli/commit/83412a4b2ec750bada640a34a87bfe07ce41fb50.patch"; 42 + hash = "sha256-uhO6aOSptsARYWuXXEFhx+6rCW5/uGn2KQ15BnhzH68="; 43 + }) 44 + ]; 45 + 46 postPatch = '' 47 + substituteInPlace pyproject.toml \ 48 + --replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' \ 49 + --replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1' 50 ''; 51 52 nativeBuildInputs = [ ··· 90 rm $out/bin/aws.cmd 91 ''; 92 93 preCheck = '' 94 export PATH=$PATH:$out/bin 95 export HOME=$(mktemp -d) ··· 121 tests.version = testers.testVersion { 122 package = awscli2; 123 command = "aws --version"; 124 + inherit version; 125 }; 126 }; 127
+1
pkgs/tools/admin/oci-cli/default.nix
··· 15 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 16 sha256 = ""; 17 }; 18 }); 19 20 jmespath = super.jmespath.overridePythonAttrs (oldAttrs: rec {
··· 15 hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 16 sha256 = ""; 17 }; 18 + disabledTests = [ "test_bytes_args" ]; # https://github.com/pallets/click/commit/6e05e1fa1c2804 19 }); 20 21 jmespath = super.jmespath.overridePythonAttrs (oldAttrs: rec {
+9 -4
pkgs/tools/archivers/gnutar/default.nix
··· 1 - { lib, stdenv, fetchurl, autoreconfHook, acl }: 2 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 7 8 stdenv.mkDerivation rec { 9 pname = "gnutar"; 10 - version = "1.34"; 11 12 src = fetchurl { 13 url = "mirror://gnu/tar/tar-${version}.tar.xz"; 14 - sha256 = "sha256-Y769JoecXh7qQ1Lw0DyZH5Zq6z3es8dEXJAlaNVBHSg="; 15 }; 16 17 # avoid retaining reference to CF during stdenv bootstrap ··· 31 outputs = [ "out" "info" ]; 32 33 nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook; 34 - buildInputs = lib.optional stdenv.isLinux acl; 35 36 # May have some issues with root compilation because the bootstrap tool 37 # cannot be used as a login shell for now.
··· 1 + { lib, stdenv, fetchurl, autoreconfHook, acl, libintl }: 2 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 7 8 stdenv.mkDerivation rec { 9 pname = "gnutar"; 10 + version = "1.35"; 11 12 src = fetchurl { 13 url = "mirror://gnu/tar/tar-${version}.tar.xz"; 14 + sha256 = "sha256-TWL/NzQux67XSFNTI5MMfPlKz3HDWRiCsmp+pQ8+3BY="; 15 }; 16 17 # avoid retaining reference to CF during stdenv bootstrap ··· 31 outputs = [ "out" "info" ]; 32 33 nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook; 34 + # Add libintl on Darwin specifically as it fails to link (or skip) 35 + # NLS on it's own: 36 + # "_libintl_textdomain", referenced from: 37 + # _main in tar.o 38 + # ld: symbol(s) not found for architecture x86_64 39 + buildInputs = lib.optional stdenv.isLinux acl ++ lib.optional stdenv.isDarwin libintl; 40 41 # May have some issues with root compilation because the bootstrap tool 42 # cannot be used as a login shell for now.
+6
pkgs/tools/audio/beets/common.nix
··· 52 53 patches = extraPatches; 54 55 propagatedBuildInputs = with python3Packages; [ 56 confuse 57 gst-python
··· 52 53 patches = extraPatches; 54 55 + postPatch = '' 56 + # https://github.com/beetbox/beets/pull/4868 57 + substituteInPlace beets/util/artresizer.py \ 58 + --replace "Image.ANTIALIAS" "Image.Resampling.LANCZOS" 59 + ''; 60 + 61 propagatedBuildInputs = with python3Packages; [ 62 confuse 63 gst-python
+1 -2
pkgs/tools/audio/headset-charge-indicator/default.nix
··· 14 sha256 = "sha256-eaAbqeFY+B3CcKJywC3vaRsWZNQENTbALc7L7uW0W6U="; 15 }; 16 17 - nativeBuildInputs = [ wrapGAppsHook ]; 18 19 buildInputs = [ 20 (python3.withPackages (ps: with ps; [ pygobject3 ])) 21 headsetcontrol 22 gtk3 23 - gobject-introspection 24 libayatana-appindicator 25 ]; 26
··· 14 sha256 = "sha256-eaAbqeFY+B3CcKJywC3vaRsWZNQENTbALc7L7uW0W6U="; 15 }; 16 17 + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; 18 19 buildInputs = [ 20 (python3.withPackages (ps: with ps; [ pygobject3 ])) 21 headsetcontrol 22 gtk3 23 libayatana-appindicator 24 ]; 25
+3 -1
pkgs/tools/backup/gphotos-sync/default.nix
··· 8 version = "3.1.2"; 9 format = "pyproject"; 10 11 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 12 13 src = fetchFromGitHub { 14 owner = "gilesknap"; ··· 22 ]; 23 24 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 25 pythonRelaxDeps = [ 26 "psutil" 27 "exif" 28 ]; 29 30 propagatedBuildInputs = with python3.pkgs; [
··· 8 version = "3.1.2"; 9 format = "pyproject"; 10 11 + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 12 13 src = fetchFromGitHub { 14 owner = "gilesknap"; ··· 22 ]; 23 24 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 25 + 26 pythonRelaxDeps = [ 27 "psutil" 28 "exif" 29 + "pyyaml" 30 ]; 31 32 propagatedBuildInputs = with python3.pkgs; [
+1 -1
pkgs/tools/inputmethods/fcitx5/fcitx5-gtk.nix
··· 45 gtk3 46 gtk4 47 fmt 48 - gobject-introspection 49 fcitx5 50 pcre 51 libuuid ··· 64 nativeBuildInputs = [ 65 cmake 66 extra-cmake-modules 67 ]; 68 69 meta = with lib; {
··· 45 gtk3 46 gtk4 47 fmt 48 fcitx5 49 pcre 50 libuuid ··· 63 nativeBuildInputs = [ 64 cmake 65 extra-cmake-modules 66 + gobject-introspection 67 ]; 68 69 meta = with lib; {
+1 -1
pkgs/tools/inputmethods/ibus/default.nix
··· 131 vala 132 wrapGAppsHook 133 dbus-launch 134 ]; 135 136 propagatedBuildInputs = [ ··· 142 systemd 143 dconf 144 gdk-pixbuf 145 - gobject-introspection 146 python3.pkgs.pygobject3 # for pygobject overrides 147 gtk2 148 gtk3
··· 131 vala 132 wrapGAppsHook 133 dbus-launch 134 + gobject-introspection 135 ]; 136 137 propagatedBuildInputs = [ ··· 143 systemd 144 dconf 145 gdk-pixbuf 146 python3.pkgs.pygobject3 # for pygobject overrides 147 gtk2 148 gtk3
+2 -1
pkgs/tools/misc/clipster/default.nix
··· 14 15 pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]); 16 17 - buildInputs = [ pythonEnv gtk3 libwnck gobject-introspection wrapGAppsHook ]; 18 19 installPhase = '' 20 sed -i 's/python/python3/g' clipster
··· 14 15 pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]); 16 17 + nativeBuildInputs = [ gobject-introspection ]; 18 + buildInputs = [ pythonEnv gtk3 libwnck wrapGAppsHook ]; 19 20 installPhase = '' 21 sed -i 's/python/python3/g' clipster
+32 -24
pkgs/tools/misc/csvs-to-sqlite/default.nix
··· 1 - { lib, python3, fetchFromGitHub }: 2 3 - let 4 - # csvs-to-sqlite is currently not compatible with Click 8. See the following 5 - # https://github.com/simonw/csvs-to-sqlite/issues/80 6 - # 7 - # Workaround the issue by providing click 7 explicitly. 8 - python = python3.override { 9 - packageOverrides = self: super: { 10 - # Use click 7 11 - click = super.click.overridePythonAttrs (old: rec { 12 - version = "7.1.2"; 13 - src = old.src.override { 14 - inherit version; 15 - hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 16 - }; 17 - }); 18 - }; 19 - }; 20 - in with python.pkgs; buildPythonApplication rec { 21 pname = "csvs-to-sqlite"; 22 - version = "1.2"; 23 format = "setuptools"; 24 - 25 - disabled = !isPy3k; 26 27 src = fetchFromGitHub { 28 owner = "simonw"; 29 repo = pname; 30 rev = version; 31 - hash = "sha256-ZG7Yto8q9QNNJPB/LMwzucLfCGiqwBd3l0ePZs5jKV0"; 32 }; 33 34 propagatedBuildInputs = [ 35 click 36 dateparser 37 pandas 38 py-lru-cache 39 six 40 ]; 41 42 nativeCheckInputs = [ 43 pytestCheckHook 44 ]; 45 46 meta = with lib; { ··· 49 license = licenses.asl20; 50 maintainers = [ maintainers.costrouc ]; 51 }; 52 - 53 }
··· 1 + { lib, python3, fetchFromGitHub, fetchpatch }: 2 3 + with python3.pkgs; buildPythonApplication rec { 4 pname = "csvs-to-sqlite"; 5 + version = "1.3"; 6 format = "setuptools"; 7 8 src = fetchFromGitHub { 9 owner = "simonw"; 10 repo = pname; 11 rev = version; 12 + hash = "sha256-wV6htULG3lg2IhG2bXmc/9vjcK8/+WA7jm3iJu4ZoOE="; 13 }; 14 15 + patches = [ 16 + # https://github.com/simonw/csvs-to-sqlite/pull/92 17 + (fetchpatch { 18 + name = "pandas2-compatibility-1.patch"; 19 + url = "https://github.com/simonw/csvs-to-sqlite/commit/fcd5b9c7485bc7b95bf2ed9507f18a60728e0bcb.patch"; 20 + hash = "sha256-ZmaNWxsqeNw5H5gAih66DLMmzmePD4no1B5mTf8aFvI="; 21 + }) 22 + (fetchpatch { 23 + name = "pandas2-compatibility-2.patch"; 24 + url = "https://github.com/simonw/csvs-to-sqlite/commit/3d190aa44e8d3a66a9a3ca5dc11c6fe46da024df.patch"; 25 + hash = "sha256-uYUH0Mhn6LIf+AHcn6WuCo5zFuSNWOZBM+AoqkmMnSI="; 26 + }) 27 + ]; 28 + 29 + nativeBuildInputs = [ 30 + pythonRelaxDepsHook 31 + ]; 32 + 33 propagatedBuildInputs = [ 34 click 35 dateparser 36 pandas 37 py-lru-cache 38 six 39 + ]; 40 + 41 + pythonRelaxDeps = [ 42 + "click" 43 ]; 44 45 nativeCheckInputs = [ 46 + cogapp 47 pytestCheckHook 48 + ]; 49 + 50 + disabledTests = [ 51 + # Test needs to be adjusted for click >= 8. 52 + "test_if_cog_needs_to_be_run" 53 ]; 54 55 meta = with lib; { ··· 58 license = licenses.asl20; 59 maintainers = [ maintainers.costrouc ]; 60 }; 61 }
+35 -6
pkgs/tools/misc/gif-for-cli/default.nix
··· 1 - { lib, fetchFromGitHub, python3Packages, ffmpeg, zlib, libjpeg }: 2 3 python3Packages.buildPythonApplication { 4 pname = "gif-for-cli"; 5 version = "1.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "gif-for-cli"; 10 rev = "31f8aa2d617d6d6e941154f60e287c38dd9a74d5"; 11 - sha256 = "Bl5o492BUAn1KsscnlMIXCzJuy7xWUsdnxIKZKaRM3M="; 12 }; 13 14 - nativeCheckInputs = [ python3Packages.coverage ]; 15 - buildInputs = [ zlib libjpeg ]; 16 - propagatedBuildInputs = with python3Packages; [ ffmpeg pillow requests x256 ]; 17 18 meta = with lib; { 19 description = "Render gifs as ASCII art in your cli"; ··· 22 license = licenses.asl20; 23 maintainers = with maintainers; [ Scriptkiddi ]; 24 }; 25 - 26 }
··· 1 + { lib 2 + , fetchFromGitHub 3 + , fetchpatch 4 + , python3Packages 5 + , ffmpeg 6 + , zlib 7 + , libjpeg 8 + }: 9 10 python3Packages.buildPythonApplication { 11 pname = "gif-for-cli"; 12 version = "1.1.2"; 13 + format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "google"; 17 repo = "gif-for-cli"; 18 rev = "31f8aa2d617d6d6e941154f60e287c38dd9a74d5"; 19 + hash = "sha256-Bl5o492BUAn1KsscnlMIXCzJuy7xWUsdnxIKZKaRM3M="; 20 }; 21 22 + patches = [ 23 + # https://github.com/google/gif-for-cli/pull/36 24 + (fetchpatch { 25 + name = "pillow-10-compatibility.patch"; 26 + url = "https://github.com/google/gif-for-cli/commit/49b13ec981e197cbc10f920b7b25a97c4cc6a61c.patch"; 27 + hash = "sha256-B8wfkdhSUY++St6DzgaJ1xF1mZKvi8oxLXbo63yemDM="; 28 + }) 29 + ]; 30 + 31 + # coverage is not needed to build and test this package 32 + postPatch = '' 33 + sed -i '/coverage>=/d' setup.py 34 + ''; 35 + 36 + buildInputs = [ 37 + zlib 38 + libjpeg 39 + ]; 40 + 41 + propagatedBuildInputs = with python3Packages; [ 42 + ffmpeg 43 + pillow 44 + requests 45 + x256 46 + ]; 47 48 meta = with lib; { 49 description = "Render gifs as ASCII art in your cli"; ··· 52 license = licenses.asl20; 53 maintainers = with maintainers; [ Scriptkiddi ]; 54 }; 55 }
+2 -2
pkgs/tools/misc/ldmtool/default.nix
··· 31 32 configureScript = "sh autogen.sh"; 33 34 - nativeBuildInputs = [ pkg-config autoconf automake ]; 35 buildInputs = [ gtk-doc lvm2 libxslt.bin 36 - libtool readline gobject-introspection json-glib libuuid 37 ]; 38 39 meta = with lib; {
··· 31 32 configureScript = "sh autogen.sh"; 33 34 + nativeBuildInputs = [ pkg-config autoconf automake gobject-introspection ]; 35 buildInputs = [ gtk-doc lvm2 libxslt.bin 36 + libtool readline json-glib libuuid 37 ]; 38 39 meta = with lib; {
+32 -3
pkgs/tools/misc/man-db/default.nix
··· 1 { buildPackages 2 , db 3 , fetchurl 4 , groff 5 , gzip 6 , lib ··· 20 21 src = fetchurl { 22 url = "mirror://savannah/man-db/man-db-${version}.tar.xz"; 23 - sha256 = "sha256-z/oe5Ol0vnhkbEZQjm3S8358WJqqspOMwQZPBY/vn40="; 24 }; 25 26 outputs = [ "out" "doc" ]; ··· 31 buildInputs = [ libpipeline db groff ]; # (Yes, 'groff' is both native and build input) 32 nativeCheckInputs = [ libiconv /* for 'iconv' binary */ ]; 33 34 - patches = [ ./systemwide-man-db-conf.patch ]; 35 36 postPatch = '' 37 # Remove all mandatory manpaths. Nixpkgs makes no requirements on ··· 79 80 enableParallelBuilding = true; 81 82 - doCheck = !stdenv.hostPlatform.isMusl /* iconv binary */ && !stdenv.hostPlatform.isDarwin; 83 84 passthru.tests = { 85 nixos = nixosTests.man;
··· 1 { buildPackages 2 , db 3 , fetchurl 4 + , fetchpatch 5 , groff 6 , gzip 7 , lib ··· 21 22 src = fetchurl { 23 url = "mirror://savannah/man-db/man-db-${version}.tar.xz"; 24 + hash = "sha256-z/oe5Ol0vnhkbEZQjm3S8358WJqqspOMwQZPBY/vn40="; 25 }; 26 27 outputs = [ "out" "doc" ]; ··· 32 buildInputs = [ libpipeline db groff ]; # (Yes, 'groff' is both native and build input) 33 nativeCheckInputs = [ libiconv /* for 'iconv' binary */ ]; 34 35 + patches = [ 36 + ./systemwide-man-db-conf.patch 37 + # Remove the patches below when updating to the next man-db release. 38 + # Patches addressing https://gitlab.com/man-db/man-db/-/issues/25 ... 39 + (fetchpatch { 40 + name = "update-warning-regex"; 41 + url = "https://gitlab.com/man-db/man-db/-/commit/b12ffb9df7.patch"; 42 + hash = "sha256-F+whRppaMZwgmGPKTXu2j1vZMNAm3vGNzNZcz9pg8Jc="; 43 + }) 44 + (fetchpatch { 45 + name = "fix-test-failures-when-iconv-not-available"; 46 + url = "https://gitlab.com/man-db/man-db/-/commit/26f46a60e5.patch"; 47 + hash = "sha256-W1a6GkYn4J3py7GLZc37xmQBQR18Xvcvj4fJoZ21+0k="; 48 + # The following files are excluded from the patch as they fail to apply 49 + # cleanly on the 2.11.2 sources and are deemed irrelevant for building man-db. 50 + excludes = [ "NEWS.md" ]; 51 + }) 52 + # ... and https://gitlab.com/man-db/man-db/-/issues/26. 53 + (fetchpatch { 54 + name = "improve-lexgrog-portability"; 55 + url = "https://gitlab.com/man-db/man-db/-/commit/bbf7701c4f.patch"; 56 + hash = "sha256-QLOVgV0S2NxxTBObD8bJFR1QDH0p2RGMJXLVNagfddc="; 57 + }) 58 + (fetchpatch { 59 + name = "avoid-translation-fallout-from-lexgrog-fix"; 60 + url = "https://gitlab.com/man-db/man-db/-/commit/043c3cb83c.patch"; 61 + hash = "sha256-w12/LOGN9gO85zmqX7zookA55w3WUxBMJgWInpH5wms="; 62 + }) 63 + ]; 64 65 postPatch = '' 66 # Remove all mandatory manpaths. Nixpkgs makes no requirements on ··· 108 109 enableParallelBuilding = true; 110 111 + doCheck = !stdenv.hostPlatform.isMusl /* iconv binary */; 112 113 passthru.tests = { 114 nixos = nixosTests.man;
+1 -1
pkgs/tools/misc/rmlint/default.nix
··· 42 ] ++ lib.optionals withGui [ 43 makeWrapper 44 wrapGAppsHook 45 ]; 46 47 buildInputs = [ ··· 51 util-linux 52 ] ++ lib.optionals withGui [ 53 cairo 54 - gobject-introspection 55 gtksourceview3 56 pango 57 polkit
··· 42 ] ++ lib.optionals withGui [ 43 makeWrapper 44 wrapGAppsHook 45 + gobject-introspection 46 ]; 47 48 buildInputs = [ ··· 52 util-linux 53 ] ++ lib.optionals withGui [ 54 cairo 55 gtksourceview3 56 pango 57 polkit
+2 -2
pkgs/tools/misc/system-config-printer/default.nix
··· 31 buildInputs = [ 32 glib udev libusb1 cups 33 python3Packages.python 34 - libnotify gobject-introspection gdk-pixbuf pango atk packagekit 35 libsecret 36 ]; 37 ··· 39 intltool pkg-config 40 xmlto libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils 41 python3Packages.wrapPython 42 - wrapGAppsHook autoreconfHook 43 ]; 44 45 pythonPath = with python3Packages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
··· 31 buildInputs = [ 32 glib udev libusb1 cups 33 python3Packages.python 34 + libnotify gdk-pixbuf pango atk packagekit 35 libsecret 36 ]; 37 ··· 39 intltool pkg-config 40 xmlto libxml2 docbook_xml_dtd_412 docbook_xsl desktop-file-utils 41 python3Packages.wrapPython 42 + wrapGAppsHook autoreconfHook gobject-introspection 43 ]; 44 45 pythonPath = with python3Packages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
+3 -3
pkgs/tools/networking/curl/7.79.1-darwin-no-systemconfiguration.patch
··· 27 28 curl_includes_winsock2="\ 29 diff --git a/lib/curl_setup.h b/lib/curl_setup.h 30 - index 99048c489..19abfbbac 100644 31 --- a/lib/curl_setup.h 32 +++ b/lib/curl_setup.h 33 - @@ -247,19 +247,6 @@ 34 35 #include <curl/system.h> 36 ··· 42 -#if defined(__APPLE__) && !defined(USE_ARES) 43 -#include <TargetConditionals.h> 44 -#define USE_RESOLVE_ON_IPS 1 45 - -# if defined(TARGET_OS_OSX) && TARGET_OS_OSX 46 -# define CURL_OSX_CALL_COPYPROXIES 1 47 -# endif 48 -#endif
··· 27 28 curl_includes_winsock2="\ 29 diff --git a/lib/curl_setup.h b/lib/curl_setup.h 30 + index 727d123e5..f78d8be4a 100644 31 --- a/lib/curl_setup.h 32 +++ b/lib/curl_setup.h 33 + @@ -250,19 +250,6 @@ 34 35 #include <curl/system.h> 36 ··· 42 -#if defined(__APPLE__) && !defined(USE_ARES) 43 -#include <TargetConditionals.h> 44 -#define USE_RESOLVE_ON_IPS 1 45 + -# if !defined(TARGET_OS_OSX) || TARGET_OS_OSX 46 -# define CURL_OSX_CALL_COPYPROXIES 1 47 -# endif 48 -#endif
+4 -4
pkgs/tools/networking/curl/default.nix
··· 47 48 stdenv.mkDerivation (finalAttrs: { 49 pname = "curl"; 50 - version = "8.1.2"; 51 52 src = fetchurl { 53 urls = [ 54 - "https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.bz2" 55 - "https://github.com/curl/curl/releases/download/curl-${finalAttrs.version}/curl-${finalAttrs.version}.tar.bz2" 56 ]; 57 - hash = "sha256-tUl00y/WEKys6S498fZDFEAVrGWEfwoEH9wX229D8kM="; 58 }; 59 60 patches = [
··· 47 48 stdenv.mkDerivation (finalAttrs: { 49 pname = "curl"; 50 + version = "8.2.1"; 51 52 src = fetchurl { 53 urls = [ 54 + "https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.xz" 55 + "https://github.com/curl/curl/releases/download/curl-${finalAttrs.version}/curl-${finalAttrs.version}.tar.xz" 56 ]; 57 + hash = "sha256-3TIva9CiDmzr39OI9p6Yw9GDvteSz0cTyKfvSYy6SJQ="; 58 }; 59 60 patches = [
-1
pkgs/tools/networking/networkmanager/default.nix
··· 128 ]; 129 130 buildInputs = [ 131 - gobject-introspection 132 systemd 133 libselinux 134 audit
··· 128 ]; 129 130 buildInputs = [ 131 systemd 132 libselinux 133 audit
+2 -1
pkgs/tools/networking/networkmanager/dmenu/default.nix
··· 13 sha256 = "sha256-cJeDYk2BQv2ZWGC96I7lXFFYgseWj68ZfvE7ATW46U0="; 14 }; 15 16 - buildInputs = [ glib python pygobject3 gobject-introspection networkmanager python3Packages.wrapPython ]; 17 18 dontBuild = true; 19
··· 13 sha256 = "sha256-cJeDYk2BQv2ZWGC96I7lXFFYgseWj68ZfvE7ATW46U0="; 14 }; 15 16 + nativeBuildInputs = [ gobject-introspection ]; 17 + buildInputs = [ glib python pygobject3 networkmanager python3Packages.wrapPython ]; 18 19 dontBuild = true; 20
+1 -1
pkgs/tools/networking/whatip/default.nix
··· 37 wrapGAppsHook4 38 appstream-glib 39 desktop-file-utils 40 ]; 41 42 buildInputs = [ ··· 44 gtk4 45 librsvg 46 libadwaita 47 - gobject-introspection 48 ]; 49 50 propagatedBuildInputs = with python3.pkgs; [
··· 37 wrapGAppsHook4 38 appstream-glib 39 desktop-file-utils 40 + gobject-introspection 41 ]; 42 43 buildInputs = [ ··· 45 gtk4 46 librsvg 47 libadwaita 48 ]; 49 50 propagatedBuildInputs = with python3.pkgs; [
+2 -2
pkgs/tools/nix/nix-init/default.nix
··· 6 , installShellFiles 7 , pkg-config 8 , bzip2 9 - , libgit2 10 , openssl 11 , zlib 12 , zstd ··· 45 buildInputs = [ 46 bzip2 47 curl 48 - libgit2 49 openssl 50 zlib 51 zstd
··· 6 , installShellFiles 7 , pkg-config 8 , bzip2 9 + , libgit2_1_6 10 , openssl 11 , zlib 12 , zstd ··· 45 buildInputs = [ 46 bzip2 47 curl 48 + libgit2_1_6 49 openssl 50 zlib 51 zstd
+8 -11
pkgs/tools/package-management/poetry/default.nix
··· 23 self.lockfile 24 ]; 25 }); 26 poetry-core = super.poetry-core.overridePythonAttrs (old: rec { 27 version = "1.6.1"; 28 src = fetchFromGitHub { ··· 34 patches = [ ]; 35 nativeCheckInputs = old.nativeCheckInputs ++ [ 36 self.tomli-w 37 - ]; 38 - }); 39 - virtualenv = super.virtualenv.overridePythonAttrs (old: rec { 40 - version = "20.23.1"; 41 - src = fetchPypi { 42 - inherit (old) pname; 43 - inherit version; 44 - hash = "sha256-j/GaOMECHHQhSO3E+By0PX+MaBbS7eKrcq9bhMdJreE="; 45 - }; 46 - nativeCheckInputs = old.nativeCheckInputs ++ [ 47 - self.time-machine 48 ]; 49 }); 50 } // (plugins self);
··· 23 self.lockfile 24 ]; 25 }); 26 + keyring = super.keyring.overridePythonAttrs (old: rec { 27 + version = "23.13.1"; 28 + src = fetchPypi { 29 + inherit (old) pname; 30 + inherit version; 31 + hash = "sha256-ui4VqbNeIZCNCq9OCkesxS1q4zRE3w2itJ1BpG721ng="; 32 + }; 33 + }); 34 poetry-core = super.poetry-core.overridePythonAttrs (old: rec { 35 version = "1.6.1"; 36 src = fetchFromGitHub { ··· 42 patches = [ ]; 43 nativeCheckInputs = old.nativeCheckInputs ++ [ 44 self.tomli-w 45 ]; 46 }); 47 } // (plugins self);
+4 -3
pkgs/tools/security/das/default.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "das"; 8 - version = "0.3.6"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "snovvcrash"; 13 repo = "DivideAndScan"; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-UFuIy19OUiS8VmmfGm0F4hI4s4BU5b4ZVh40bFGiLfk="; 16 }; 17 18 postPatch = '' 19 substituteInPlace pyproject.toml \ 20 - --replace 'networkx = "^2.8.4"' 'networkx = "*"' 21 ''; 22 23 nativeBuildInputs = with python3.pkgs; [
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "das"; 8 + version = "0.3.8"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "snovvcrash"; 13 repo = "DivideAndScan"; 14 rev = "refs/tags/v${version}"; 15 + hash = "sha256-a9gnEBTvZshw42M/GrpCgjZh6FOzL45aZqGRyeHO0ec="; 16 }; 17 18 postPatch = '' 19 substituteInPlace pyproject.toml \ 20 + --replace 'networkx = "^2.8.4"' 'networkx = "*"' \ 21 + --replace 'pandas = "^1.4.2"' 'pandas = "*"' 22 ''; 23 24 nativeBuildInputs = with python3.pkgs; [
+1 -1
pkgs/tools/security/gencfsm/default.nix
··· 21 pkg-config 22 vala 23 wrapGAppsHook 24 ]; 25 buildInputs = [ 26 glib ··· 29 libgee 30 xorg.libSM 31 xorg.libICE 32 - gobject-introspection 33 libsecret 34 ]; 35
··· 21 pkg-config 22 vala 23 wrapGAppsHook 24 + gobject-introspection 25 ]; 26 buildInputs = [ 27 glib ··· 30 libgee 31 xorg.libSM 32 xorg.libICE 33 libsecret 34 ]; 35
+14
pkgs/tools/security/maigret/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , python3 5 }: 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "maigret"; 9 version = "0.4.4"; 10 11 src = fetchFromGitHub { 12 owner = "soxoj"; ··· 15 hash = "sha256-Z8SnA7Z5+oKW0AOaNf+c/zR30lrPFmXaxxKkbnDXNNs="; 16 }; 17 18 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 19 propagatedBuildInputs = with python3.pkgs; [ 20 aiodns 21 aiohttp ··· 56 xmind 57 yarl 58 ]; 59 60 nativeCheckInputs = with python3.pkgs; [ 61 pytest-httpserver
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , python3 6 }: 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "maigret"; 10 version = "0.4.4"; 11 + format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "soxoj"; ··· 17 hash = "sha256-Z8SnA7Z5+oKW0AOaNf+c/zR30lrPFmXaxxKkbnDXNNs="; 18 }; 19 20 + patches = [ 21 + # https://github.com/soxoj/maigret/pull/1117 22 + (fetchpatch { 23 + name = "pytest-7.3-compatibility.patch"; 24 + url = "https://github.com/soxoj/maigret/commit/ecb33de9e6eec12b6b45a1152199177f32c85be2.patch"; 25 + hash = "sha256-nFx3j1Q37YLtYhb0QS34UgZFgAc5Z/RVgbO9o1n1ONE="; 26 + }) 27 + ]; 28 + 29 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 30 + 31 propagatedBuildInputs = with python3.pkgs; [ 32 aiodns 33 aiohttp ··· 68 xmind 69 yarl 70 ]; 71 + 72 + __darwinAllowLocalNetworking = true; 73 74 nativeCheckInputs = with python3.pkgs; [ 75 pytest-httpserver
+2 -2
pkgs/tools/security/rhash/default.nix
··· 6 }: 7 8 stdenv.mkDerivation rec { 9 - version = "1.4.3"; 10 pname = "rhash"; 11 12 src = fetchFromGitHub { 13 owner = "rhash"; 14 repo = "RHash"; 15 rev = "v${version}"; 16 - sha256 = "sha256-R+dHYG0DBI1uo+yF/pxoTv/V9WSfph043bH6erZjeCE="; 17 }; 18 19 nativeBuildInputs = [ which ];
··· 6 }: 7 8 stdenv.mkDerivation rec { 9 + version = "1.4.4"; 10 pname = "rhash"; 11 12 src = fetchFromGitHub { 13 owner = "rhash"; 14 repo = "RHash"; 15 rev = "v${version}"; 16 + sha256 = "sha256-3CW41ULdXoID4cOgrcG2j85tgIJ/sz5hU7A83qpuxf4="; 17 }; 18 19 nativeBuildInputs = [ which ];
+4 -2
pkgs/tools/security/ssdeep/default.nix
··· 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 16 - # Hack to avoid TMPDIR in RPATHs. 17 - preFixup = ''rm -rf "$(pwd)" ''; 18 19 meta = { 20 description = "A program for calculating fuzzy hashes";
··· 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 16 + # remove forbidden references to $TMPDIR 17 + preFixup = lib.optionalString stdenv.isLinux '' 18 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/* 19 + ''; 20 21 meta = { 22 description = "A program for calculating fuzzy hashes";
-1
pkgs/tools/system/gkraken/default.nix
··· 42 ]; 43 44 buildInputs = [ 45 - gobject-introspection 46 glib 47 gtk3 48 libnotify
··· 42 ]; 43 44 buildInputs = [ 45 glib 46 gtk3 47 libnotify
-46
pkgs/tools/text/groff/0001-Fix-cross-compilation-by-looking-for-ar.patch
··· 1 - From 1454525f70b43a6957b7c9e1870e997368787da3 Mon Sep 17 00:00:00 2001 2 - From: Samuel Dionne-Riel <samuel@dionne-riel.com> 3 - Date: Fri, 8 Nov 2019 21:59:21 -0500 4 - Subject: [PATCH] Fix cross-compilation by looking for `ar`. 5 - 6 - --- 7 - Makefile.am | 2 +- 8 - configure.ac | 2 ++ 9 - 2 files changed, 3 insertions(+), 1 deletion(-) 10 - 11 - diff --git a/Makefile.am b/Makefile.am 12 - index d18c49b8..b1b53338 100644 13 - --- a/Makefile.am 14 - +++ b/Makefile.am 15 - @@ -494,7 +494,7 @@ CCC=@CXX@ 16 - # INSTALL_INFO 17 - # LN_S 18 - 19 - -AR=ar 20 - +AR=@AR@ 21 - ETAGS=etags 22 - ETAGSFLAGS= 23 - # Flag that tells etags to assume C++. 24 - diff --git a/configure.ac b/configure.ac 25 - index 28e75f17..2449b9f5 100644 26 - --- a/configure.ac 27 - +++ b/configure.ac 28 - @@ -37,6 +37,7 @@ AC_CONFIG_AUX_DIR([build-aux]) 29 - 30 - AC_CONFIG_HEADERS([src/include/config.h:src/include/config.hin]) 31 - AC_CONFIG_SRCDIR([src/roff/groff/groff.cpp]) 32 - +AC_CONFIG_MACRO_DIR([m4]) 33 - 34 - AC_USE_SYSTEM_EXTENSIONS 35 - 36 - @@ -72,6 +73,7 @@ GROFF_DOC_CHECK 37 - GROFF_MAKEINFO 38 - GROFF_TEXI2DVI 39 - AC_PROG_RANLIB 40 - +AC_CHECK_TOOL([AR], [ar], [ar]) 41 - GROFF_INSTALL_SH 42 - GROFF_INSTALL_INFO 43 - AC_PROG_INSTALL 44 - -- 45 - 2.23.0 46 -
···
+4 -24
pkgs/tools/text/groff/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "groff"; 17 - version = "1.22.4"; 18 19 src = fetchurl { 20 url = "mirror://gnu/groff/${pname}-${version}.tar.gz"; 21 - sha256 = "14q2mldnr1vx0l9lqp9v2f6iww24gj28iyh4j2211hyynx67p3p7"; 22 }; 23 24 outputs = [ "out" "man" "doc" "info" "perl" ]; 25 26 - # Parallel build is failing for missing depends. Known upstream as: 27 - # https://savannah.gnu.org/bugs/?62084 28 - # fixed, planned release: 1.23.0 29 - enableParallelBuilding = false; 30 - 31 - patches = [ 32 - ./0001-Fix-cross-compilation-by-looking-for-ar.patch 33 - ] 34 - ++ lib.optionals (stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "9") [ 35 - # https://trac.macports.org/ticket/59783 36 - (fetchpatch { 37 - url = "https://raw.githubusercontent.com/openembedded/openembedded-core/ce265cf467f1c3e5ba2edbfbef2170df1a727a52/meta/recipes-extended/groff/files/0001-Include-config.h.patch"; 38 - sha256 = "1b0mg31xkpxkzlx696nr08rcc7ndpaxdplvysy0hw5099c4n1wyf"; 39 - }) 40 - ]; 41 42 postPatch = '' 43 # BASH_PROG gets replaced with a path to the build bash which doesn't get automatically patched by patchShebangs ··· 53 --replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \ 54 --replace "pngtopnm" "${lib.getBin netpbm}/bin/pngtopnm" \ 55 --replace "@PNMTOPS_NOSETPAGE@" "${lib.getBin netpbm}/bin/pnmtops -nosetpage" 56 - substituteInPlace contrib/groffer/roff2.pl \ 57 - --replace "'gs'" "'${lib.getBin ghostscript}/bin/gs'" 58 substituteInPlace contrib/pdfmark/pdfroff.sh \ 59 --replace '$GROFF_GHOSTSCRIPT_INTERPRETER' "${lib.getBin ghostscript}/bin/gs" \ 60 --replace '$GROFF_AWK_INTERPRETER' "${lib.getBin gawk}/bin/gawk" ··· 118 moveToOutput lib/groff/gpinyin $perl 119 substituteInPlace $perl/bin/gpinyin \ 120 --replace $out/lib/groff/gpinyin $perl/lib/groff/gpinyin 121 - 122 - moveToOutput bin/groffer $perl 123 - moveToOutput lib/groff/groffer $perl 124 - substituteInPlace $perl/bin/groffer \ 125 - --replace $out/lib/groff/groffer $perl/lib/groff/groffer 126 127 moveToOutput bin/grog $perl 128 moveToOutput lib/groff/grog $perl
··· 14 15 stdenv.mkDerivation rec { 16 pname = "groff"; 17 + version = "1.23.0"; 18 19 src = fetchurl { 20 url = "mirror://gnu/groff/${pname}-${version}.tar.gz"; 21 + hash = "sha256-a5dX9ZK3UYtJAutq9+VFcL3Mujeocf3bLTCuOGNRHBM="; 22 }; 23 24 outputs = [ "out" "man" "doc" "info" "perl" ]; 25 26 + enableParallelBuilding = true; 27 28 postPatch = '' 29 # BASH_PROG gets replaced with a path to the build bash which doesn't get automatically patched by patchShebangs ··· 39 --replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \ 40 --replace "pngtopnm" "${lib.getBin netpbm}/bin/pngtopnm" \ 41 --replace "@PNMTOPS_NOSETPAGE@" "${lib.getBin netpbm}/bin/pnmtops -nosetpage" 42 + '' + lib.optionalString (enableGhostscript || enableHtml) '' 43 substituteInPlace contrib/pdfmark/pdfroff.sh \ 44 --replace '$GROFF_GHOSTSCRIPT_INTERPRETER' "${lib.getBin ghostscript}/bin/gs" \ 45 --replace '$GROFF_AWK_INTERPRETER' "${lib.getBin gawk}/bin/gawk" ··· 103 moveToOutput lib/groff/gpinyin $perl 104 substituteInPlace $perl/bin/gpinyin \ 105 --replace $out/lib/groff/gpinyin $perl/lib/groff/gpinyin 106 107 moveToOutput bin/grog $perl 108 moveToOutput lib/groff/grog $perl
-6
pkgs/tools/text/groff/site.tmac
··· 9 . char \' \N'39' 10 . \} 11 . 12 - . \" Shut off SGR by default (groff colors) 13 - . \" Require GROFF_SGR envvar defined to turn it on 14 - . if '\V[GROFF_SGR]'' \ 15 - . output x X tty: sgr 0 16 - .\} 17 - . 18 .ds doc-default-operating-system Nixpkgs 19 .ds doc-volume-operating-system Nixpkgs
··· 9 . char \' \N'39' 10 . \} 11 . 12 .ds doc-default-operating-system Nixpkgs 13 .ds doc-volume-operating-system Nixpkgs
+1 -1
pkgs/tools/text/textpieces/default.nix
··· 44 wrapGAppsHook4 45 appstream-glib 46 desktop-file-utils 47 ]; 48 49 buildInputs = [ ··· 54 libgee 55 json-glib 56 gtksourceview5 57 - gobject-introspection 58 ]; 59 60 runtimeDependencies = [
··· 44 wrapGAppsHook4 45 appstream-glib 46 desktop-file-utils 47 + gobject-introspection 48 ]; 49 50 buildInputs = [ ··· 55 libgee 56 json-glib 57 gtksourceview5 58 ]; 59 60 runtimeDependencies = [
+8 -2
pkgs/tools/typesetting/sile/default.nix
··· 108 --replace "ASSERT(ht && ht->table && iter);" "ASSERT(ht && iter);" 109 ''; 110 111 - # Hack to avoid TMPDIR in RPATHs. 112 - preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" ''; 113 114 outputs = [ "out" "doc" "man" "dev" ]; 115
··· 108 --replace "ASSERT(ht && ht->table && iter);" "ASSERT(ht && iter);" 109 ''; 110 111 + # remove forbidden references to $TMPDIR 112 + preFixup = lib.optionalString stdenv.isLinux '' 113 + for f in "$out"/bin/*; do 114 + if isELF "$f"; then 115 + patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f" 116 + fi 117 + done 118 + ''; 119 120 outputs = [ "out" "doc" "man" "dev" ]; 121
+42 -37
pkgs/tools/virtualization/awsebcli/default.nix
··· 1 - { lib, python3, fetchPypi, glibcLocales, docker-compose_1 }: 2 let 3 docker_compose = changeVersion (with localPython.pkgs; docker-compose_1.override { 4 inherit colorama pyyaml six dockerpty docker jsonschema requests websocket-client paramiko; ··· 18 cement = changeVersion super.cement.overridePythonAttrs "2.8.2" "sha256-h2XtBSwGHXTk0Bia3cM9Jo3lRMohmyWdeXdB9yXkItI="; 19 wcwidth = changeVersion super.wcwidth.overridePythonAttrs "0.1.9" "sha256-7nOGKGKhVr93/5KwkDT8SCXdOvnPgbxbNgZo1CXzxfE="; 20 semantic-version = changeVersion super.semantic-version.overridePythonAttrs "2.8.5" "sha256-0sst4FWHYpNGebmhBOguynr0SMn0l00fPuzP9lHfilQ="; 21 - pyyaml = super.pyyaml.overridePythonAttrs rec { 22 - version = "5.4.1"; 23 - checkPhase = '' 24 - runHook preCheck 25 - PYTHONPATH="tests/lib3:$PYTHONPATH" ${localPython.interpreter} -m test_all 26 - runHook postCheck 27 - ''; 28 - src = fetchPypi { 29 - pname = "PyYAML"; 30 - inherit version; 31 - hash = "sha256-YHd0y7oocyv6gCtUuqdIQhX1MJkQVbtWLvvtWy8gpF4="; 32 - }; 33 - }; 34 }; 35 }; 36 in 37 with localPython.pkgs; buildPythonApplication rec { 38 pname = "awsebcli"; 39 version = "3.20.7"; 40 41 - src = fetchPypi { 42 - inherit pname version; 43 - hash = "sha256-hnLWqc4UzUnvz4wmKZ8JcEWUMPmh2BdQS1IAyxC+yb4="; 44 }; 45 46 - 47 - preConfigure = '' 48 - substituteInPlace requirements.txt \ 49 - --replace "six>=1.11.0,<1.15.0" "six==1.16.0" \ 50 - --replace "pathspec==0.10.1" "pathspec>=0.10.0,<1" \ 51 - --replace "colorama>=0.2.5,<0.4.4" "colorama>=0.2.5,<=0.4.6" \ 52 - --replace "termcolor == 1.1.0" "termcolor>=2.0.0,<3" 53 - ''; 54 55 buildInputs = [ 56 glibcLocales 57 ]; 58 59 - nativeCheckInputs = [ 60 - pytest 61 - mock 62 - nose 63 - pathspec 64 - colorama 65 - requests 66 - docutils 67 - ]; 68 - 69 - doCheck = true; 70 - 71 propagatedBuildInputs = [ 72 blessed 73 botocore ··· 83 termcolor 84 websocket-client 85 docker_compose 86 ]; 87 88 meta = with lib; {
··· 1 + { lib, python3, fetchFromGitHub, glibcLocales, docker-compose_1, git }: 2 let 3 docker_compose = changeVersion (with localPython.pkgs; docker-compose_1.override { 4 inherit colorama pyyaml six dockerpty docker jsonschema requests websocket-client paramiko; ··· 18 cement = changeVersion super.cement.overridePythonAttrs "2.8.2" "sha256-h2XtBSwGHXTk0Bia3cM9Jo3lRMohmyWdeXdB9yXkItI="; 19 wcwidth = changeVersion super.wcwidth.overridePythonAttrs "0.1.9" "sha256-7nOGKGKhVr93/5KwkDT8SCXdOvnPgbxbNgZo1CXzxfE="; 20 semantic-version = changeVersion super.semantic-version.overridePythonAttrs "2.8.5" "sha256-0sst4FWHYpNGebmhBOguynr0SMn0l00fPuzP9lHfilQ="; 21 }; 22 }; 23 in 24 with localPython.pkgs; buildPythonApplication rec { 25 pname = "awsebcli"; 26 version = "3.20.7"; 27 + format = "setuptools"; 28 29 + src = fetchFromGitHub { 30 + owner = "aws"; 31 + repo = "aws-elastic-beanstalk-cli"; 32 + rev = "refs/tags/${version}"; 33 + hash = "sha256-DxjoEkFnY4aSfxVKPpnJLmnjLtZnlM74XXd0K8mcdoY="; 34 }; 35 36 + nativeBuildInputs = [ 37 + pythonRelaxDepsHook 38 + ]; 39 40 buildInputs = [ 41 glibcLocales 42 ]; 43 44 propagatedBuildInputs = [ 45 blessed 46 botocore ··· 56 termcolor 57 websocket-client 58 docker_compose 59 + ]; 60 + 61 + pythonRelaxDeps = [ 62 + "botocore" 63 + "colorama" 64 + "pathspec" 65 + "PyYAML" 66 + "six" 67 + "termcolor" 68 + ]; 69 + 70 + nativeCheckInputs = [ 71 + pytestCheckHook 72 + pytest-socket 73 + mock 74 + git 75 + ]; 76 + 77 + pytestFlagsArray = [ 78 + "tests/unit" 79 + ]; 80 + 81 + disabledTests = [ 82 + # Needs docker installed to run. 83 + "test_local_run" 84 + "test_local_run__with_arguments" 85 + 86 + # Needs access to the user's ~/.ssh directory. 87 + "test_generate_and_upload_keypair__exit_code_0" 88 + "test_generate_and_upload_keypair__exit_code_1" 89 + "test_generate_and_upload_keypair__exit_code_is_other_than_1_and_0" 90 + "test_generate_and_upload_keypair__ssh_keygen_not_present" 91 ]; 92 93 meta = with lib; {
+23 -11
pkgs/top-level/all-packages.nix
··· 7411 7412 dtc = callPackage ../development/compilers/dtc { }; 7413 7414 - dt-schema = with python3Packages; toPythonApplication dtschema; 7415 7416 dub = callPackage ../development/tools/build-managers/dub { }; 7417 ··· 16855 inherit (darwin) apple_sdk; 16856 }; 16857 16858 - rust_1_70 = callPackage ../development/compilers/rust/1_70.nix { 16859 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 16860 llvm_16 = llvmPackages_16.libllvm; 16861 }; 16862 - rust = rust_1_70; 16863 16864 mrustc = callPackage ../development/compilers/mrustc { }; 16865 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; ··· 16867 openssl = openssl_1_1; 16868 }; 16869 16870 - rustPackages_1_70 = rust_1_70.packages.stable; 16871 - rustPackages = rustPackages_1_70; 16872 16873 inherit (rustPackages) cargo cargo-auditable cargo-auditable-cargo-wrapper clippy rustc rustPlatform; 16874 ··· 17922 inherit (darwin) libobjc; 17923 }; 17924 17925 - inherit (callPackage ../development/interpreters/ruby { 17926 inherit (darwin) libobjc libunwind; 17927 - inherit (darwin.apple_sdk.frameworks) Foundation; 17928 }) 17929 mkRubyVersion 17930 mkRuby ··· 21297 rev = "v${version}"; 21298 hash = "sha256-KzBMwpqn6wUFhgB3KDclBS0BvZSVcasM5AG/y+L91xM="; 21299 }; 21300 }; 21301 21302 libgit2-glib = callPackage ../development/libraries/libgit2-glib { }; ··· 25808 ### DEVELOPMENT / PERL MODULES 25809 25810 perlInterpreters = import ../development/interpreters/perl { inherit callPackage; }; 25811 - inherit (perlInterpreters) perl534 perl536 perldevel; 25812 25813 - perl534Packages = recurseIntoAttrs perl534.pkgs; 25814 perl536Packages = recurseIntoAttrs perl536.pkgs; 25815 perldevelPackages = perldevel.pkgs; 25816 25817 - perl = perl536; 25818 - perlPackages = perl536Packages; 25819 25820 ack = perlPackages.ack; 25821
··· 7411 7412 dtc = callPackage ../development/compilers/dtc { }; 7413 7414 + dt-schema = callPackage ../development/tools/dt-schema { }; 7415 7416 dub = callPackage ../development/tools/build-managers/dub { }; 7417 ··· 16855 inherit (darwin) apple_sdk; 16856 }; 16857 16858 + rust_1_71 = callPackage ../development/compilers/rust/1_71.nix { 16859 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 16860 llvm_16 = llvmPackages_16.libllvm; 16861 }; 16862 + rust = rust_1_71; 16863 16864 mrustc = callPackage ../development/compilers/mrustc { }; 16865 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; ··· 16867 openssl = openssl_1_1; 16868 }; 16869 16870 + rustPackages_1_71 = rust_1_71.packages.stable; 16871 + rustPackages = rustPackages_1_71; 16872 16873 inherit (rustPackages) cargo cargo-auditable cargo-auditable-cargo-wrapper clippy rustc rustPlatform; 16874 ··· 17922 inherit (darwin) libobjc; 17923 }; 17924 17925 + inherit (darwin.apple_sdk_11_0.callPackage ../development/interpreters/ruby { 17926 inherit (darwin) libobjc libunwind; 17927 + inherit (darwin.apple_sdk_11_0.frameworks) Foundation; 17928 }) 17929 mkRubyVersion 17930 mkRuby ··· 21297 rev = "v${version}"; 21298 hash = "sha256-KzBMwpqn6wUFhgB3KDclBS0BvZSVcasM5AG/y+L91xM="; 21299 }; 21300 + patches = []; 21301 + }; 21302 + 21303 + libgit2_1_6 = libgit2.overrideAttrs rec { 21304 + version = "1.6.4"; 21305 + src = fetchFromGitHub { 21306 + owner = "libgit2"; 21307 + repo = "libgit2"; 21308 + rev = "v${version}"; 21309 + hash = "sha256-lW3mokVKsbknVj2xsxEbeZH4IdKZ0aIgGutzenS0Eh0="; 21310 + }; 21311 + patches = [ ]; 21312 }; 21313 21314 libgit2-glib = callPackage ../development/libraries/libgit2-glib { }; ··· 25820 ### DEVELOPMENT / PERL MODULES 25821 25822 perlInterpreters = import ../development/interpreters/perl { inherit callPackage; }; 25823 + inherit (perlInterpreters) perl536 perl538 perldevel; 25824 25825 perl536Packages = recurseIntoAttrs perl536.pkgs; 25826 + perl538Packages = recurseIntoAttrs perl538.pkgs; 25827 perldevelPackages = perldevel.pkgs; 25828 25829 + perl = perl538; 25830 + perlPackages = perl538Packages; 25831 25832 ack = perlPackages.ack; 25833
+92 -69
pkgs/top-level/perl-packages.nix
··· 1565 1566 BerkeleyDB = buildPerlPackage { 1567 pname = "BerkeleyDB"; 1568 - version = "0.64"; 1569 1570 src = fetchurl { 1571 - url = "mirror://cpan/authors/id/P/PM/PMQS/BerkeleyDB-0.64.tar.gz"; 1572 - hash = "sha256-U1yF6FScGsQ6IBYP3ALwpABhQVb9dhV//yiqM/2jdEs="; 1573 }; 1574 1575 preConfigure = '' ··· 1705 1706 BKeywords = buildPerlPackage rec { 1707 pname = "B-Keywords"; 1708 - version = "1.24"; 1709 src = fetchurl { 1710 - url = "mirror://cpan/authors/id/R/RU/RURBAN/B-Keywords-1.24.tar.gz"; 1711 - hash = "sha256-pc9rsoXQbRfO4id4O3I7snQhP9QVOl3uMR0kDhFpYG4="; 1712 }; 1713 meta = { 1714 description = "Lists of reserved barewords and symbol names"; ··· 5515 5516 CryptX = buildPerlPackage { 5517 pname = "CryptX"; 5518 - version = "0.076"; 5519 src = fetchurl { 5520 - url = "mirror://cpan/authors/id/M/MI/MIK/CryptX-0.076.tar.gz"; 5521 - hash = "sha256-u4SsASQ4x87NtRpab/+08f7jsOrgAi6WzrwuFnUiYhw="; 5522 }; 5523 meta = { 5524 description = "Cryptographic toolkit"; ··· 5562 hash = "sha256-L+XheYgqa5Jt/vChCLSiyHof+waJK88vuI5Mj0uEODw="; 5563 }; 5564 buildInputs = [ TestRequires ]; 5565 meta = { 5566 description = "Polymorphic data cloning"; 5567 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 6604 6605 DevelCaller = buildPerlPackage { 6606 pname = "Devel-Caller"; 6607 - version = "2.06"; 6608 src = fetchurl { 6609 - url = "mirror://cpan/authors/id/R/RC/RCLAMP/Devel-Caller-2.06.tar.gz"; 6610 - hash = "sha256-anOuaikoNCVbkNqUCSBUJTBfz+mUsUjcttLW72KNt98="; 6611 }; 6612 propagatedBuildInputs = [ PadWalker ]; 6613 meta = { ··· 7349 7350 DevelFindPerl = buildPerlPackage { 7351 pname = "Devel-FindPerl"; 7352 - version = "0.015"; 7353 src = fetchurl { 7354 - url = "mirror://cpan/authors/id/L/LE/LEONT/Devel-FindPerl-0.015.tar.gz"; 7355 - hash = "sha256-UnW33CJv5/Fstp/G+Z9eKahSxqTTt4arGIajE4Z0Pfw="; 7356 }; 7357 meta = { 7358 description = "Find the path to your perl"; ··· 7403 7404 DevelNYTProf = buildPerlPackage { 7405 pname = "Devel-NYTProf"; 7406 - version = "6.10"; 7407 src = fetchurl { 7408 - url = "mirror://cpan/authors/id/J/JK/JKEENAN/Devel-NYTProf-6.10.tar.gz"; 7409 - hash = "sha256-JKxBdPHwEyIGP6ThGbJH03HTJg3cpud4xsGg4/kF9Y4="; 7410 }; 7411 propagatedBuildInputs = [ FileWhich JSONMaybeXS ]; 7412 buildInputs = [ CaptureTiny TestDifferences ]; ··· 8668 hash = "sha256-VyPdePSsC00mKgXqRq9mPqANgJay6cCkNRXCEHYOHnU="; 8669 }; 8670 buildInputs = [ TestUnitLite ]; 8671 meta = { 8672 description = "Lightweight exceptions"; 8673 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 8823 url = "mirror://cpan/authors/id/N/NW/NWCLARK/ExtUtils-Constant-0.25.tar.gz"; 8824 hash = "sha256-aTPQ6WO2IoHvdWEGjmrsrIxKwrR2srugmrC5D7rJ11c="; 8825 }; 8826 meta = { 8827 description = "Generate XS code to import C header constants"; 8828 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 11276 11277 HTMLMason = buildPerlPackage { 11278 pname = "HTML-Mason"; 11279 - version = "1.59"; 11280 src = fetchurl { 11281 - url = "mirror://cpan/authors/id/D/DR/DROLSKY/HTML-Mason-1.59.tar.gz"; 11282 - hash = "sha256-lb7SpsSINwBGqjFL5LWSvWWmUi+IRdqLNqav+ai0OdA="; 11283 }; 11284 buildInputs = [ TestDeep ]; 11285 propagatedBuildInputs = [ CGI CacheCache ClassContainer ExceptionClass LogAny ]; ··· 13865 13866 locallib = buildPerlPackage { 13867 pname = "local-lib"; 13868 - version = "2.000024"; 13869 src = fetchurl { 13870 - url = "mirror://cpan/authors/id/H/HA/HAARG/local-lib-2.000024.tar.gz"; 13871 - hash = "sha256-LpuRe9SKBhXkJjOyoydJTgRhDY9xB2W5ST0wbOrZigU="; 13872 }; 13873 propagatedBuildInputs = [ ModuleBuild ]; 13874 meta = { ··· 14069 14070 LogLog4perl = buildPerlPackage { 14071 pname = "Log-Log4perl"; 14072 - version = "1.53"; 14073 src = fetchurl { 14074 - url = "mirror://cpan/authors/id/E/ET/ETJ/Log-Log4perl-1.53.tar.gz"; 14075 - hash = "sha256-j7+0jQFu7HNEpTnzrXCHC0rEY45JZmv6cNEPb/1Kw44="; 14076 }; 14077 meta = { 14078 description = "Log4j implementation for Perl"; ··· 15220 15221 MIMECharset = buildPerlPackage { 15222 pname = "MIME-Charset"; 15223 - version = "1.012.2"; 15224 src = fetchurl { 15225 - url = "mirror://cpan/authors/id/N/NE/NEZUMI/MIME-Charset-1.012.2.tar.gz"; 15226 - hash = "sha256-h4x3nAJWxZFma9BsDN5MDXgg7uuY/RGDCCrumh57HRM="; 15227 }; 15228 meta = { 15229 description = "Charset Information for MIME"; ··· 15467 url = "mirror://cpan/authors/id/L/LE/LEONT/Module-Build-0.4231.tar.gz"; 15468 hash = "sha256-fg9MaSwXQMGshOoU1+o9i8eYsvsmwJh3Ip4E9DCytxc="; 15469 }; 15470 meta = { 15471 description = "Build and install Perl modules"; 15472 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 18613 18614 NumberFormat = buildPerlPackage { 18615 pname = "Number-Format"; 18616 - version = "1.75"; 18617 src = fetchurl { 18618 - url = "mirror://cpan/authors/id/W/WR/WRW/Number-Format-1.75.tar.gz"; 18619 - hash = "sha256-gtZZyxZGF2T9RNEanOnmpPXodn3BBp6wNGfG5V3iV/M="; 18620 }; 18621 meta = { 18622 description = "Perl extension for formatting numbers"; ··· 18740 18741 ObjectPad = buildPerlModule { 18742 pname = "Object-Pad"; 18743 - version = "0.68"; 18744 src = fetchurl { 18745 - url = "mirror://cpan/authors/id/P/PE/PEVANS/Object-Pad-0.68.tar.gz"; 18746 - hash = "sha256-xN5jBIQxMJZNrskozF99HphTnu/X7azHvn4Yg0XhnXE="; 18747 }; 18748 - buildInputs = [ TestFatal TestRefcount ]; 18749 perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; 18750 propagatedBuildInputs = [ XSParseKeyword XSParseSublike ]; 18751 meta = { ··· 19195 19196 Parent = buildPerlPackage { 19197 pname = "parent"; 19198 - version = "0.238"; 19199 src = fetchurl { 19200 - url = "mirror://cpan/authors/id/C/CO/CORION/parent-0.238.tar.gz"; 19201 - hash = "sha256-OPWP3vPiihlMnI0NxdAmcvr5PAafQMW8sfq+rbvE0tE="; 19202 }; 19203 meta = { 19204 description = "Establish an ISA relationship with base classes at compile time"; ··· 20236 20237 PPR = buildPerlPackage { 20238 pname = "PPR"; 20239 - version = "0.000028"; 20240 src = fetchurl { 20241 - url = "mirror://cpan/authors/id/D/DC/DCONWAY/PPR-0.000028.tar.gz"; 20242 - hash = "sha256-032ndHxDN+TH11jHuO1dEsuXN2Q2krCfC9TZnFBouak="; 20243 }; 20244 meta = { 20245 description = "Pattern-based Perl Recognizer"; ··· 21426 21427 ScopeUpper = buildPerlPackage { 21428 pname = "Scope-Upper"; 21429 - version = "0.33"; 21430 src = fetchurl { 21431 - url = "mirror://cpan/authors/id/V/VP/VPIT/Scope-Upper-0.33.tar.gz"; 21432 - hash = "sha256-XzO+Aa1o/L7G74HusDs1EaL18HUq1RPZk6TBOl+xpkg="; 21433 }; 21434 meta = { 21435 description = "Act on upper scopes"; ··· 23591 23592 Test2Harness = buildPerlPackage { 23593 pname = "Test2-Harness"; 23594 - version = "1.000042"; 23595 src = fetchurl { 23596 - url = "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Harness-1.000042.tar.gz"; 23597 - hash = "sha256-qvIxporxpv/WoRGIh1/PVy43PkPIKFlFInudaHtD2y0="; 23598 }; 23599 23600 checkPhase = '' ··· 23602 ./scripts/yath test -j $NIX_BUILD_CORES 23603 ''; 23604 23605 - propagatedBuildInputs = [ DataUUID Importer LongJump ScopeGuard TermTable Test2PluginMemUsage Test2PluginUUID Test2Suite gotofile ]; 23606 meta = { 23607 description = "A new and improved test harness with better Test2 integration"; 23608 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 23658 23659 Test2Suite = buildPerlPackage { 23660 pname = "Test2-Suite"; 23661 - version = "0.000138"; 23662 src = fetchurl { 23663 - url = "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-0.000138.tar.gz"; 23664 - hash = "sha256-DPct8s7RFkhTW/2I6lSjxwBnhqfFlSkOOPMU41E7CHU="; 23665 }; 23666 propagatedBuildInputs = [ ModulePluggable ScopeGuard SubInfo TermTable TestSimple13 ]; 23667 meta = { ··· 25000 25001 TestSimple13 = buildPerlPackage { 25002 pname = "Test-Simple"; 25003 - version = "1.302183"; 25004 src = fetchurl { 25005 - url = "mirror://cpan/authors/id/E/EX/EXODIST/Test-Simple-1.302183.tar.gz"; 25006 - hash = "sha256-mgO9pexCCuqWkrZQQ39NW1dPpQX91/9gzbXz7ANBBv8="; 25007 }; 25008 meta = { 25009 description = "Basic utilities for writing tests"; ··· 25227 25228 TestWithoutModule = buildPerlPackage { 25229 pname = "Test-Without-Module"; 25230 - version = "0.20"; 25231 src = fetchurl { 25232 - url = "mirror://cpan/authors/id/C/CO/CORION/Test-Without-Module-0.20.tar.gz"; 25233 - hash = "sha256-jprrfDKmxtC4qTEU2yqMBychJzqdmi3U+cqGz9KKpSQ="; 25234 }; 25235 meta = { 25236 description = "Test fallback behaviour in absence of modules"; ··· 25987 25988 TestTrap = buildPerlModule { 25989 pname = "Test-Trap"; 25990 - version = "0.3.4"; 25991 src = fetchurl { 25992 - url = "mirror://cpan/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.3.4.tar.gz"; 25993 - hash = "sha256-CwRlbzO2yW2o7sTP/lKGFQtOS14pkdOINoaxCRAQWuI="; 25994 }; 25995 propagatedBuildInputs = [ DataDump ]; 25996 meta = { ··· 27084 27085 VariableMagic = buildPerlPackage { 27086 pname = "Variable-Magic"; 27087 - version = "0.62"; 27088 src = fetchurl { 27089 - url = "mirror://cpan/authors/id/V/VP/VPIT/Variable-Magic-0.62.tar.gz"; 27090 - hash = "sha256-P5oYUX4z8AapwvxPQ/AbVKv+b/Lq5zIkJPMQaSlrYVw="; 27091 }; 27092 meta = { 27093 description = "Associate user-defined magic to variables from Perl"; ··· 27995 27996 XSParseKeyword = buildPerlModule { 27997 pname = "XS-Parse-Keyword"; 27998 - version = "0.25"; 27999 src = fetchurl { 28000 - url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.25.tar.gz"; 28001 - hash = "sha256-9e2zDPfH8iDQxsMdwetVQDKECpnHwpgxT1zD/vZscsc="; 28002 }; 28003 - buildInputs = [ ExtUtilsCChecker ]; 28004 perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; 28005 meta = { 28006 description = "XS functions to assist in parsing keyword syntax";
··· 1565 1566 BerkeleyDB = buildPerlPackage { 1567 pname = "BerkeleyDB"; 1568 + version = "0.65"; 1569 1570 src = fetchurl { 1571 + url = "mirror://cpan/authors/id/P/PM/PMQS/BerkeleyDB-0.65.tar.gz"; 1572 + hash = "sha256-QQqonnIylB1JEGyeBI1jN0dVQ+wdIz6nzbcly1uWNQQ=i"; 1573 }; 1574 1575 preConfigure = '' ··· 1705 1706 BKeywords = buildPerlPackage rec { 1707 pname = "B-Keywords"; 1708 + version = "1.26"; 1709 src = fetchurl { 1710 + url = "mirror://cpan/authors/id/R/RU/RURBAN/B-Keywords-1.26.tar.gz"; 1711 + hash = "sha256-LaoVXS8mf7De3Yf4pMT7VmOHn8EGUXse4lg1Pvh67TQ="; 1712 }; 1713 meta = { 1714 description = "Lists of reserved barewords and symbol names"; ··· 5515 5516 CryptX = buildPerlPackage { 5517 pname = "CryptX"; 5518 + version = "0.078"; 5519 src = fetchurl { 5520 + url = "mirror://cpan/authors/id/M/MI/MIK/CryptX-0.078.tar.gz"; 5521 + hash = "sha256-kxYLEkL31XQ8s8kxuO/HyzmCHQ4y+U+Wkz8eiOYYvL0="; 5522 }; 5523 meta = { 5524 description = "Cryptographic toolkit"; ··· 5562 hash = "sha256-L+XheYgqa5Jt/vChCLSiyHof+waJK88vuI5Mj0uEODw="; 5563 }; 5564 buildInputs = [ TestRequires ]; 5565 + patches = [ 5566 + ../development/perl-modules/Data-Clone-fix-apostrophe-package-separator.patch 5567 + ]; 5568 meta = { 5569 description = "Polymorphic data cloning"; 5570 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 6607 6608 DevelCaller = buildPerlPackage { 6609 pname = "Devel-Caller"; 6610 + version = "2.07"; 6611 src = fetchurl { 6612 + url = "mirror://cpan/authors/id/R/RC/RCLAMP/Devel-Caller-2.07.tar.gz"; 6613 + hash = "sha256-tnmisYA0sLcg3oLDcIckw2SxCmyhZMvGfNw68oPzUD8="; 6614 }; 6615 propagatedBuildInputs = [ PadWalker ]; 6616 meta = { ··· 7352 7353 DevelFindPerl = buildPerlPackage { 7354 pname = "Devel-FindPerl"; 7355 + version = "0.016"; 7356 src = fetchurl { 7357 + url = "mirror://cpan/authors/id/L/LE/LEONT/Devel-FindPerl-0.016.tar.gz"; 7358 + hash = "sha256-Q6K/L3h6PxuIEXkGMWKyqj58sET25eduxkZq6QqGETg="; 7359 }; 7360 meta = { 7361 description = "Find the path to your perl"; ··· 7406 7407 DevelNYTProf = buildPerlPackage { 7408 pname = "Devel-NYTProf"; 7409 + version = "6.12"; 7410 src = fetchurl { 7411 + url = "mirror://cpan/authors/id/J/JK/JKEENAN/Devel-NYTProf-6.12.tar.gz"; 7412 + hash = "sha256-qDtZheTalr24X1McFqtvPUkHGnM80JSqMPqF+2pLAsQ="; 7413 }; 7414 propagatedBuildInputs = [ FileWhich JSONMaybeXS ]; 7415 buildInputs = [ CaptureTiny TestDifferences ]; ··· 8671 hash = "sha256-VyPdePSsC00mKgXqRq9mPqANgJay6cCkNRXCEHYOHnU="; 8672 }; 8673 buildInputs = [ TestUnitLite ]; 8674 + patches = [ 8675 + ../development/perl-modules/Exception-Base-remove-smartmatch-when-5.38.0.patch 8676 + ]; 8677 meta = { 8678 description = "Lightweight exceptions"; 8679 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 8829 url = "mirror://cpan/authors/id/N/NW/NWCLARK/ExtUtils-Constant-0.25.tar.gz"; 8830 hash = "sha256-aTPQ6WO2IoHvdWEGjmrsrIxKwrR2srugmrC5D7rJ11c="; 8831 }; 8832 + patches = [ 8833 + ../development/perl-modules/ExtUtils-Constant-fix-indirect-method-call-in-test.patch 8834 + ]; 8835 meta = { 8836 description = "Generate XS code to import C header constants"; 8837 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 11285 11286 HTMLMason = buildPerlPackage { 11287 pname = "HTML-Mason"; 11288 + version = "1.60"; 11289 src = fetchurl { 11290 + url = "mirror://cpan/authors/id/D/DR/DROLSKY/HTML-Mason-1.60.tar.gz"; 11291 + hash = "sha256-qgu9WmtjxiyJVfjFXsCF43DXktZSZrbDtcXweIu8d+Y="; 11292 }; 11293 buildInputs = [ TestDeep ]; 11294 propagatedBuildInputs = [ CGI CacheCache ClassContainer ExceptionClass LogAny ]; ··· 13874 13875 locallib = buildPerlPackage { 13876 pname = "local-lib"; 13877 + version = "2.000029"; 13878 src = fetchurl { 13879 + url = "mirror://cpan/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz"; 13880 + hash = "sha256-jfh6EMFMjpCcW0fFcB5LgYfVGeUlHofIBwmwK7M+/dc="; 13881 }; 13882 propagatedBuildInputs = [ ModuleBuild ]; 13883 meta = { ··· 14078 14079 LogLog4perl = buildPerlPackage { 14080 pname = "Log-Log4perl"; 14081 + version = "1.57"; 14082 src = fetchurl { 14083 + url = "mirror://cpan/authors/id/E/ET/ETJ/Log-Log4perl-1.57.tar.gz"; 14084 + hash = "sha256-D4/Ldjio89tMeX35T9vFYBN0kULy+Uy8lbQ8n8oJahM="; 14085 }; 14086 meta = { 14087 description = "Log4j implementation for Perl"; ··· 15229 15230 MIMECharset = buildPerlPackage { 15231 pname = "MIME-Charset"; 15232 + version = "1.013.1"; 15233 src = fetchurl { 15234 + url = "mirror://cpan/authors/id/N/NE/NEZUMI/MIME-Charset-1.013.1.tar.gz"; 15235 + hash = "sha256-G7em4MDSUfI9bmC/hMmt78W3TuxYR1v+5NORB+YIcPA="; 15236 }; 15237 meta = { 15238 description = "Charset Information for MIME"; ··· 15476 url = "mirror://cpan/authors/id/L/LE/LEONT/Module-Build-0.4231.tar.gz"; 15477 hash = "sha256-fg9MaSwXQMGshOoU1+o9i8eYsvsmwJh3Ip4E9DCytxc="; 15478 }; 15479 + postConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 15480 + # for unknown reason, the first run of Build fails 15481 + ./Build || true 15482 + ''; 15483 + postPatch = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 15484 + # remove version check since miniperl uses a stub of File::Temp, which do not provide a version: 15485 + # https://github.com/arsv/perl-cross/blob/master/cnf/stub/File/Temp.pm 15486 + sed -i '/File::Temp/d' \ 15487 + Build.PL 15488 + 15489 + # fix discover perl function, it can not handle a wrapped perl 15490 + sed -i "s,\$self->_discover_perl_interpreter,'$(type -p perl)',g" \ 15491 + lib/Module/Build/Base.pm 15492 + ''; 15493 meta = { 15494 description = "Build and install Perl modules"; 15495 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 18636 18637 NumberFormat = buildPerlPackage { 18638 pname = "Number-Format"; 18639 + version = "1.76"; 18640 src = fetchurl { 18641 + url = "mirror://cpan/authors/id/R/RJ/RJBS/Number-Format-1.76.tar.gz"; 18642 + hash = "sha256-DgBg6zY2NaiFcGxqJvX8qv6udZ97Ksrkndpw4ZXdRNY="; 18643 }; 18644 meta = { 18645 description = "Perl extension for formatting numbers"; ··· 18763 18764 ObjectPad = buildPerlModule { 18765 pname = "Object-Pad"; 18766 + version = "0.79"; 18767 src = fetchurl { 18768 + url = "mirror://cpan/authors/id/P/PE/PEVANS/Object-Pad-0.79.tar.gz"; 18769 + hash = "sha256-+wsQ+J5i1UFlvWqyHbVfYLVT+gCPyOddNJhwwafiKtY="; 18770 }; 18771 + buildInputs = [ Test2Suite TestFatal TestRefcount ]; 18772 perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; 18773 propagatedBuildInputs = [ XSParseKeyword XSParseSublike ]; 18774 meta = { ··· 19218 19219 Parent = buildPerlPackage { 19220 pname = "parent"; 19221 + version = "0.241"; 19222 src = fetchurl { 19223 + url = "mirror://cpan/authors/id/C/CO/CORION/parent-0.241.tar.gz"; 19224 + hash = "sha256-sQs5YKs5l9q3Vx/+l1ukYtl50IZFB0Ch4Is5WedRKP4="; 19225 }; 19226 meta = { 19227 description = "Establish an ISA relationship with base classes at compile time"; ··· 20259 20260 PPR = buildPerlPackage { 20261 pname = "PPR"; 20262 + version = "0.001008"; 20263 src = fetchurl { 20264 + url = "mirror://cpan/authors/id/D/DC/DCONWAY/PPR-0.001008.tar.gz"; 20265 + hash = "sha256-EQ5xwF8uLJDrAfCgaU5VqdvpHIV+SBJeF0LRflzbHkk="; 20266 }; 20267 meta = { 20268 description = "Pattern-based Perl Recognizer"; ··· 21449 21450 ScopeUpper = buildPerlPackage { 21451 pname = "Scope-Upper"; 21452 + version = "0.34"; 21453 src = fetchurl { 21454 + url = "mirror://cpan/authors/id/V/VP/VPIT/Scope-Upper-0.34.tar.gz"; 21455 + hash = "sha256-WB2LxRDevQxFal/HlSy3E4rmZ78486d+ltdz3DGWpB4="; 21456 }; 21457 meta = { 21458 description = "Act on upper scopes"; ··· 23614 23615 Test2Harness = buildPerlPackage { 23616 pname = "Test2-Harness"; 23617 + version = "1.000152"; 23618 src = fetchurl { 23619 + url = "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Harness-1.000152.tar.gz"; 23620 + hash = "sha256-iIqWAdvTPuuaSTcdZmK7JE8Ad/QJlM4gvJClvlSRqls="; 23621 }; 23622 23623 checkPhase = '' ··· 23625 ./scripts/yath test -j $NIX_BUILD_CORES 23626 ''; 23627 23628 + propagatedBuildInputs = [ DataUUID Importer LongJump ScopeGuard TermTable Test2PluginMemUsage Test2PluginUUID Test2Suite YAMLTiny gotofile ]; 23629 meta = { 23630 description = "A new and improved test harness with better Test2 integration"; 23631 license = with lib.licenses; [ artistic1 gpl1Plus ]; ··· 23681 23682 Test2Suite = buildPerlPackage { 23683 pname = "Test2-Suite"; 23684 + version = "0.000155"; 23685 src = fetchurl { 23686 + url = "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-0.000155.tar.gz"; 23687 + hash = "sha256-x45rxNabwJeDaXaGM4K1K54MMe4YUGbOYMVL10uq1T0="; 23688 }; 23689 propagatedBuildInputs = [ ModulePluggable ScopeGuard SubInfo TermTable TestSimple13 ]; 23690 meta = { ··· 25023 25024 TestSimple13 = buildPerlPackage { 25025 pname = "Test-Simple"; 25026 + version = "1.302195"; 25027 src = fetchurl { 25028 + url = "mirror://cpan/authors/id/E/EX/EXODIST/Test-Simple-1.302195.tar.gz"; 25029 + hash = "sha256-s5C7I1kuC5Rsla27PDCxG8Y0ooayhHvmEa2SnFfjmmw="; 25030 }; 25031 meta = { 25032 description = "Basic utilities for writing tests"; ··· 25250 25251 TestWithoutModule = buildPerlPackage { 25252 pname = "Test-Without-Module"; 25253 + version = "0.21"; 25254 src = fetchurl { 25255 + url = "mirror://cpan/authors/id/C/CO/CORION/Test-Without-Module-0.21.tar.gz"; 25256 + hash = "sha256-PN6vraxIU+vq/miTRtVV2l36PPqdTITj5ee/7lC+7EY="; 25257 }; 25258 meta = { 25259 description = "Test fallback behaviour in absence of modules"; ··· 26010 26011 TestTrap = buildPerlModule { 26012 pname = "Test-Trap"; 26013 + version = "0.3.5"; 26014 src = fetchurl { 26015 + url = "mirror://cpan/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.3.5.tar.gz"; 26016 + hash = "sha256-VPmQFlYrWx1yEQEA8fK+Q3F4zfhDdvSV/9A3bx1+y5o="; 26017 }; 26018 propagatedBuildInputs = [ DataDump ]; 26019 meta = { ··· 27107 27108 VariableMagic = buildPerlPackage { 27109 pname = "Variable-Magic"; 27110 + version = "0.63"; 27111 src = fetchurl { 27112 + url = "mirror://cpan/authors/id/V/VP/VPIT/Variable-Magic-0.63.tar.gz"; 27113 + hash = "sha256-ukCDssMf8mlPI3EzPVVMgmqvJLTZjQPki1tKQ6Kg5nk="; 27114 }; 27115 meta = { 27116 description = "Associate user-defined magic to variables from Perl"; ··· 28018 28019 XSParseKeyword = buildPerlModule { 28020 pname = "XS-Parse-Keyword"; 28021 + version = "0.34"; 28022 src = fetchurl { 28023 + url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.34.tar.gz"; 28024 + hash = "sha256-EDPdtAmSTZ1Cs4MEodeXRaBDSrxrBJHrErbIu5bx1sE="; 28025 }; 28026 + buildInputs = [ ExtUtilsCChecker Test2Suite ]; 28027 perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; 28028 meta = { 28029 description = "XS functions to assist in parsing keyword syntax";
+1
pkgs/top-level/python-aliases.nix
··· 210 mrkd = throw "mrkd has been promoted to a top-level attribute"; # added 2023-08-01 211 mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02 212 net2grid = gridnet; # add 2022-04-22 213 nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16 214 nose_progressive = throw "nose_progressive has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; #added 2023-02-21 215 notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
··· 210 mrkd = throw "mrkd has been promoted to a top-level attribute"; # added 2023-08-01 211 mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02 212 net2grid = gridnet; # add 2022-04-22 213 + nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08 214 nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16 215 nose_progressive = throw "nose_progressive has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; #added 2023-02-21 216 notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
+16 -11
pkgs/top-level/python-packages.nix
··· 12 13 setuptools = callPackage ../development/python-modules/setuptools { }; 14 15 aadict = callPackage ../development/python-modules/aadict { }; 16 17 aafigure = callPackage ../development/python-modules/aafigure { }; ··· 2349 cython = callPackage ../development/python-modules/Cython { }; 2350 2351 cython_3 = self.cython.overridePythonAttrs (old: rec { 2352 - version = "3.0.0b2"; 2353 src = old.src.override { 2354 inherit version; 2355 - hash = "sha256-bEKAZWV56STBGURyR2ZLsi+v7cfezKWTqOogvdV9Z1U="; 2356 }; 2357 patches = [ ]; 2358 }); ··· 4835 4836 html5lib = callPackage ../development/python-modules/html5lib { }; 4837 4838 html5-parser = callPackage ../development/python-modules/html5-parser { }; 4839 4840 htmllaundry = callPackage ../development/python-modules/htmllaundry { }; ··· 5467 5468 jsonschema-spec = callPackage ../development/python-modules/jsonschema-spec { }; 5469 5470 jsonstreams = callPackage ../development/python-modules/jsonstreams { }; 5471 5472 json-tricks = callPackage ../development/python-modules/json-tricks { }; ··· 6065 6066 llvmlite = callPackage ../development/python-modules/llvmlite { 6067 # llvmlite always requires a specific version of llvm. 6068 - llvm = pkgs.llvm_11; 6069 }; 6070 6071 lmdb = callPackage ../development/python-modules/lmdb { ··· 7004 withPython = true; 7005 }); 7006 7007 - nghttp2 = (toPythonModule (pkgs.nghttp2.override { 7008 - python3Packages = self; 7009 - inherit (pkgs) ncurses; 7010 - enableApp = false; # build only libnghttp2 ... 7011 - enablePython = true; # ... and its Python bindings 7012 - })).python; 7013 - 7014 nh3 = callPackage ../development/python-modules/nh3 { }; 7015 7016 niaaml = callPackage ../development/python-modules/niaaml { }; ··· 7597 7598 panasonic-viera = callPackage ../development/python-modules/panasonic-viera { }; 7599 7600 - pandas = callPackage ../development/python-modules/pandas { }; 7601 7602 pandas-datareader = callPackage ../development/python-modules/pandas-datareader { }; 7603 ··· 8780 pydanfossair = callPackage ../development/python-modules/pydanfossair { }; 8781 8782 pydantic = callPackage ../development/python-modules/pydantic { }; 8783 8784 pydantic-scim = callPackage ../development/python-modules/pydantic-scim { }; 8785 ··· 12784 tqdm = callPackage ../development/python-modules/tqdm { }; 12785 12786 traceback2 = callPackage ../development/python-modules/traceback2 { }; 12787 12788 tracing = callPackage ../development/python-modules/tracing { }; 12789
··· 12 13 setuptools = callPackage ../development/python-modules/setuptools { }; 14 15 + a2wsgi = callPackage ../development/python-modules/a2wsgi { }; 16 + 17 aadict = callPackage ../development/python-modules/aadict { }; 18 19 aafigure = callPackage ../development/python-modules/aafigure { }; ··· 2351 cython = callPackage ../development/python-modules/Cython { }; 2352 2353 cython_3 = self.cython.overridePythonAttrs (old: rec { 2354 + version = "3.0.0"; 2355 src = old.src.override { 2356 inherit version; 2357 + hash = "sha256-NQsY+Wc+YxAdu/z3dO4vV8IKxGNtJVdB12ynkBaxvYI="; 2358 }; 2359 patches = [ ]; 2360 }); ··· 4837 4838 html5lib = callPackage ../development/python-modules/html5lib { }; 4839 4840 + html5tagger = callPackage ../development/python-modules/html5tagger { }; 4841 + 4842 html5-parser = callPackage ../development/python-modules/html5-parser { }; 4843 4844 htmllaundry = callPackage ../development/python-modules/htmllaundry { }; ··· 5471 5472 jsonschema-spec = callPackage ../development/python-modules/jsonschema-spec { }; 5473 5474 + jsonschema-specifications = callPackage ../development/python-modules/jsonschema-specifications { }; 5475 + 5476 jsonstreams = callPackage ../development/python-modules/jsonstreams { }; 5477 5478 json-tricks = callPackage ../development/python-modules/json-tricks { }; ··· 6071 6072 llvmlite = callPackage ../development/python-modules/llvmlite { 6073 # llvmlite always requires a specific version of llvm. 6074 + llvm = pkgs.llvm_14; 6075 }; 6076 6077 lmdb = callPackage ../development/python-modules/lmdb { ··· 7010 withPython = true; 7011 }); 7012 7013 nh3 = callPackage ../development/python-modules/nh3 { }; 7014 7015 niaaml = callPackage ../development/python-modules/niaaml { }; ··· 7596 7597 panasonic-viera = callPackage ../development/python-modules/panasonic-viera { }; 7598 7599 + pandas = callPackage ../development/python-modules/pandas { 7600 + inherit (pkgs.darwin) adv_cmds; 7601 + }; 7602 7603 pandas-datareader = callPackage ../development/python-modules/pandas-datareader { }; 7604 ··· 8781 pydanfossair = callPackage ../development/python-modules/pydanfossair { }; 8782 8783 pydantic = callPackage ../development/python-modules/pydantic { }; 8784 + 8785 + pydantic-core = callPackage ../development/python-modules/pydantic-core { }; 8786 8787 pydantic-scim = callPackage ../development/python-modules/pydantic-scim { }; 8788 ··· 12787 tqdm = callPackage ../development/python-modules/tqdm { }; 12788 12789 traceback2 = callPackage ../development/python-modules/traceback2 { }; 12790 + 12791 + tracerite = callPackage ../development/python-modules/tracerite { }; 12792 12793 tracing = callPackage ../development/python-modules/tracing { }; 12794