treewide: unpin SWIG 4

This commit is contained in:
Emily 2024-09-12 11:37:35 +01:00
parent e3360d745c
commit 2181ab3e22
15 changed files with 29 additions and 34 deletions

View File

@ -39,7 +39,7 @@
, pcre2
, libdeflate
, swig4
, swig
, python
, wxPython
, opencascade-occt_7_6
@ -168,7 +168,7 @@ stdenv.mkDerivation rec {
curl
openssl
boost
swig4
swig
python
unixODBC
libdeflate

View File

@ -8,7 +8,7 @@
, flex
, git
, python3
, swig4
, swig
, boost179
, cbc # for clp
, cimg
@ -51,7 +51,7 @@ mkDerivation rec {
flex
git
pkg-config
swig4
swig
];
buildInputs = [

View File

@ -29,7 +29,7 @@
, wrapGAppsHook3
, scriptingSupport ? true
, luajit
, swig4
, swig
, python3
, alsaSupport ? stdenv.isLinux
, alsa-lib
@ -94,7 +94,7 @@ stdenv.mkDerivation (finalAttrs: {
wrapGAppsHook3
wrapQtAppsHook
]
++ optional scriptingSupport swig4;
++ optional scriptingSupport swig;
buildInputs = [
curl

View File

@ -11,7 +11,7 @@
elfutils,
enablePython ? false,
pythonPackages ? null,
swig4,
swig,
}:
stdenv.mkDerivation (finalAttrs: {
@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
]
++ lib.optionals enablePython [
swig4
swig
pythonPackages.setuptools
];
buildInputs = [

View File

@ -30,7 +30,7 @@
#sundials,
superscs,
spral,
swig4,
swig,
tinyxml-2,
withUnfree ? false,
}:
@ -139,7 +139,7 @@ stdenv.mkDerivation (finalAttrs: {
#sundials
superscs
spral
swig4
swig
tinyxml-2
]
++ lib.optionals withUnfree [

View File

@ -10,7 +10,7 @@
, libiconv
, enablePython ? false
, python ? null
, swig4
, swig
, expat
, libuuid
, openjpeg
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
ApplicationServices
Cocoa
libiconv
] ++ lib.optionals enablePython [ swig4 python ];
] ++ lib.optionals enablePython [ swig python ];
disabledTests = [
# require networking:

View File

@ -15,7 +15,7 @@
buildPackages,
qtbase ? null,
pythonSupport ? false,
swig4 ? null,
swig ? null,
# only for passthru.tests
libsForQt5,
qt6Packages,
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
python3.pkgs.setuptools
python3.pkgs.wheel
ncurses
swig4
swig
which
];

View File

@ -14,7 +14,7 @@
, python
, re2
, stdenv
, swig4
, swig
, unzip
, zlib
}:
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
ensureNewerSourcesForZipFilesHook
pkg-config
python.pythonOnBuildForHost
swig4
swig
unzip
] ++ lib.optionals stdenv.isDarwin [
DarwinTools

View File

@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, cmake
, swig4
, swig
, lua
, elastix
, itk
@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
swig4
swig
];
buildInputs = [
elastix

View File

@ -2,7 +2,7 @@
toPythonModule,
python,
lttng-tools,
swig4,
swig,
}:
toPythonModule (
@ -15,7 +15,7 @@ toPythonModule (
{
pname = "lttng";
nativeBuildInputs = nativeBuildInputs ++ [ swig4 ];
nativeBuildInputs = nativeBuildInputs ++ [ swig ];
configureFlags = configureFlags ++ [
"--enable-python-bindings"

View File

@ -4,7 +4,7 @@
callPackage,
fetchPypi,
setuptools,
swig4,
swig,
}:
buildPythonPackage rec {
@ -19,7 +19,7 @@ buildPythonPackage rec {
build-system = [ setuptools ];
nativeBuildInputs = [ swig4 ];
nativeBuildInputs = [ swig ];
pypaBuildFlags = [ "--skip-dependency-check" ];

View File

@ -15,7 +15,7 @@
libXmu,
opencascade-occt,
rapidjson,
swig4,
swig,
}:
stdenv.mkDerivation rec {
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
swig4
swig
];
buildInputs = [
python

View File

@ -2,7 +2,7 @@
buildPythonPackage,
pythonOlder,
cmake,
swig4,
swig,
elastix,
itk,
numpy,
@ -27,7 +27,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
cmake
swig4
swig
scikit-build
];
propagatedBuildInputs = [

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, boost, libseccomp, flex, swig4, bison, cmake, python3 }:
{ lib, stdenv, fetchFromGitHub, boost, libseccomp, flex, swig, bison, cmake, python3 }:
stdenv.mkDerivation rec {
pname = "grap";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cmake
flex
python3
swig4
swig
];
buildInputs = [

View File

@ -32022,9 +32022,7 @@ with pkgs;
open-policy-agent = callPackage ../development/tools/open-policy-agent { };
openmm = callPackage ../development/libraries/science/chemistry/openmm {
swig = swig4;
};
openmm = callPackage ../development/libraries/science/chemistry/openmm { };
openshift = callPackage ../applications/networking/cluster/openshift { };
@ -37631,9 +37629,6 @@ with pkgs;
faiss = callPackage ../development/libraries/science/math/faiss {
pythonPackages = python3Packages;
# faiss wants the "-doxygen" option
# available only since swig4
swig = swig4;
};
faissWithCuda = faiss.override {