tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
protobuf: use new package definition only
Aaron Jheng
2 years ago
80aaa46d
ee14e5df
+65
-205
15 changed files
expand all
collapse all
unified
split
pkgs
applications
kde
marble.nix
networking
localproxy
default.nix
by-name
ju
justbuild
package.nix
development
libraries
onnxruntime
default.nix
opencv
3.x.nix
4.x.nix
protobuf
3.21.nix
3.23.nix
3.24.nix
generic-v3-cmake.nix
generic.nix
servers
redpanda
server.nix
top-level
aliases.nix
all-packages.nix
python-packages.nix
+2
-2
pkgs/applications/kde/marble.nix
···
2
2
, extra-cmake-modules, kdoctools
3
3
, qtscript, qtsvg, qtquickcontrols, qtwebengine
4
4
, krunner, shared-mime-info, kparts, knewstuff
5
5
-
, gpsd, perl, protobuf3_21
5
5
+
, gpsd, perl, protobuf_21
6
6
}:
7
7
8
8
mkDerivation {
···
15
15
outputs = [ "out" "dev" ];
16
16
nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
17
17
propagatedBuildInputs = [
18
18
-
protobuf3_21 qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
18
18
+
protobuf_21 qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
19
19
knewstuff gpsd
20
20
];
21
21
preConfigure = ''
+2
-2
pkgs/applications/networking/localproxy/default.nix
···
3
3
, fetchFromGitHub
4
4
, cmake
5
5
, openssl
6
6
-
, protobuf3_21
6
6
+
, protobuf_21
7
7
, catch2
8
8
, boost181
9
9
, icu
10
10
}:
11
11
let
12
12
boost = boost181.override { enableStatic = true; };
13
13
-
protobuf = protobuf3_21.override { enableShared = false; };
13
13
+
protobuf = protobuf_21.override { enableShared = false; };
14
14
in
15
15
stdenv.mkDerivation (finalAttrs: {
16
16
pname = "localproxy";
+3
-3
pkgs/by-name/ju/justbuild/package.nix
···
11
11
openssl,
12
12
13
13
pkg-config,
14
14
-
protobuf3_23,
14
14
+
protobuf_23,
15
15
grpc,
16
16
pandoc,
17
17
python3,
···
87
87
# For future updates: The currently used version can be found in the file
88
88
# etc/repos.json: https://github.com/just-buildsystem/justbuild/blob/master/etc/repos.json
89
89
# under the key .repositories.protobuf
90
90
-
protobuf3_23
90
90
+
protobuf_23
91
91
python3
92
92
];
93
93
94
94
postPatch = ''
95
95
sed -ie 's|\./bin/just-mr.py|${python3}/bin/python3 ./bin/just-mr.py|' bin/bootstrap.py
96
96
sed -ie 's|#!/usr/bin/env python3|#!${python3}/bin/python3|' bin/parallel-bootstrap-traverser.py
97
97
-
jq '.repositories.protobuf.pkg_bootstrap.local_path = "${protobuf3_23}"' etc/repos.json > etc/repos.json.patched
97
97
+
jq '.repositories.protobuf.pkg_bootstrap.local_path = "${protobuf_23}"' etc/repos.json > etc/repos.json.patched
98
98
mv etc/repos.json.patched etc/repos.json
99
99
jq '.repositories.com_github_grpc_grpc.pkg_bootstrap.local_path = "${grpc}"' etc/repos.json > etc/repos.json.patched
100
100
mv etc/repos.json.patched etc/repos.json
+3
-3
pkgs/development/libraries/onnxruntime/default.nix
···
17
17
, microsoft-gsl
18
18
, iconv
19
19
, gtest
20
20
-
, protobuf3_21
20
20
+
, protobuf_21
21
21
, pythonSupport ? true
22
22
}:
23
23
···
92
92
cmake
93
93
pkg-config
94
94
python3Packages.python
95
95
-
protobuf3_21
95
95
+
protobuf_21
96
96
] ++ lib.optionals pythonSupport (with python3Packages; [
97
97
setuptools
98
98
wheel
···
177
177
'';
178
178
179
179
passthru = {
180
180
-
protobuf = protobuf3_21;
180
180
+
protobuf = protobuf_21;
181
181
tests = lib.optionalAttrs pythonSupport {
182
182
python = python3Packages.onnxruntime;
183
183
};
+2
-2
pkgs/development/libraries/opencv/3.x.nix
···
2
2
, fetchFromGitHub
3
3
, fetchpatch
4
4
, cmake, pkg-config, unzip, zlib, pcre, hdf5
5
5
-
, glog, boost, gflags, protobuf3_21
5
5
+
, glog, boost, gflags, protobuf_21
6
6
, config
7
7
8
8
, enableJPEG ? true, libjpeg
···
186
186
187
187
buildInputs =
188
188
[ zlib pcre hdf5 glog boost gflags ]
189
189
-
++ lib.optional useSystemProtobuf protobuf3_21
189
189
+
++ lib.optional useSystemProtobuf protobuf_21
190
190
++ lib.optional enablePython pythonPackages.python
191
191
++ lib.optional enableGtk2 gtk2
192
192
++ lib.optional enableGtk3 gtk3
+3
-3
pkgs/development/libraries/opencv/4.x.nix
···
11
11
, hdf5
12
12
, boost
13
13
, gflags
14
14
-
, protobuf3_21
14
14
+
, protobuf_21
15
15
, config
16
16
, ocl-icd
17
17
, buildPackages
···
317
317
echo '"(build info elided)"' > modules/core/version_string.inc
318
318
'';
319
319
320
320
-
buildInputs = [ zlib pcre boost gflags protobuf3_21 ]
320
320
+
buildInputs = [ zlib pcre boost gflags protobuf_21 ]
321
321
++ lib.optional enablePython pythonPackages.python
322
322
++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) hdf5
323
323
++ lib.optional enableGtk2 gtk2
···
369
369
"-DOPENCV_GENERATE_PKGCONFIG=ON"
370
370
"-DWITH_OPENMP=ON"
371
371
"-DBUILD_PROTOBUF=OFF"
372
372
-
"-DProtobuf_PROTOC_EXECUTABLE=${lib.getExe buildPackages.protobuf3_21}"
372
372
+
"-DProtobuf_PROTOC_EXECUTABLE=${lib.getExe buildPackages.protobuf_21}"
373
373
"-DPROTOBUF_UPDATE_FILES=ON"
374
374
"-DOPENCV_ENABLE_NONFREE=${printEnabled enableUnfree}"
375
375
"-DBUILD_TESTS=${printEnabled runAccuracyTests}"
-6
pkgs/development/libraries/protobuf/3.21.nix
···
1
1
-
{ callPackage, ... } @ args:
2
2
-
3
3
-
callPackage ./generic-v3-cmake.nix ({
4
4
-
version = "3.21.12";
5
5
-
sha256 = "sha256-VZQEFHq17UsTH5CZZOcJBKiScGV2xPJ/e6gkkVliRCU=";
6
6
-
} // args)
-6
pkgs/development/libraries/protobuf/3.23.nix
···
1
1
-
{ callPackage, ... } @ args:
2
2
-
3
3
-
callPackage ./generic-v3-cmake.nix ({
4
4
-
version = "3.23.4";
5
5
-
sha256 = "sha256-eI+mrsZAOLEsdyTC3B+K+GjD3r16CmPx1KJ2KhCwFdg=";
6
6
-
} // args)
-6
pkgs/development/libraries/protobuf/3.24.nix
···
1
1
-
{ callPackage, ... } @ args:
2
2
-
3
3
-
callPackage ./generic-v3-cmake.nix ({
4
4
-
version = "3.24.3";
5
5
-
sha256 = "sha256-wXGQW/o674DeLXX2IlyZskl5OrBcSRptOMoJqLQGm94=";
6
6
-
} // args)
-116
pkgs/development/libraries/protobuf/generic-v3-cmake.nix
···
1
1
-
# The cmake version of this build is meant to enable both cmake and .pc being exported
2
2
-
# this is important because grpc exports a .cmake file which also expects for protobuf
3
3
-
# to have been exported through cmake as well.
4
4
-
{ lib
5
5
-
, stdenv
6
6
-
, abseil-cpp
7
7
-
, buildPackages
8
8
-
, cmake
9
9
-
, fetchFromGitHub
10
10
-
, fetchpatch
11
11
-
, gtest
12
12
-
, zlib
13
13
-
, version
14
14
-
, sha256
15
15
-
16
16
-
# downstream dependencies
17
17
-
, python3
18
18
-
, grpc
19
19
-
, enableShared ? !stdenv.hostPlatform.isStatic
20
20
-
21
21
-
, ...
22
22
-
}:
23
23
-
24
24
-
stdenv.mkDerivation (finalAttrs: {
25
25
-
pname = "protobuf";
26
26
-
inherit version;
27
27
-
28
28
-
src = fetchFromGitHub {
29
29
-
owner = "protocolbuffers";
30
30
-
repo = "protobuf";
31
31
-
rev = "v${version}";
32
32
-
inherit sha256;
33
33
-
};
34
34
-
35
35
-
postPatch = lib.optionalString stdenv.isDarwin ''
36
36
-
substituteInPlace src/google/protobuf/testing/googletest.cc \
37
37
-
--replace 'tmpnam(b)' '"'$TMPDIR'/foo"'
38
38
-
'';
39
39
-
40
40
-
patches = lib.optionals (lib.versionOlder version "3.22") [
41
41
-
# fix protobuf-targets.cmake installation paths, and allow for CMAKE_INSTALL_LIBDIR to be absolute
42
42
-
# https://github.com/protocolbuffers/protobuf/pull/10090
43
43
-
(fetchpatch {
44
44
-
url = "https://github.com/protocolbuffers/protobuf/commit/a7324f88e92bc16b57f3683403b6c993bf68070b.patch";
45
45
-
sha256 = "sha256-SmwaUjOjjZulg/wgNmR/F5b8rhYA2wkKAjHIOxjcQdQ=";
46
46
-
})
47
47
-
] ++ lib.optionals stdenv.hostPlatform.isStatic [
48
48
-
./static-executables-have-no-rpath.patch
49
49
-
];
50
50
-
51
51
-
nativeBuildInputs =
52
52
-
let
53
53
-
protobufVersion = "${lib.versions.major version}_${lib.versions.minor version}";
54
54
-
in
55
55
-
[
56
56
-
cmake
57
57
-
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
58
58
-
# protoc of the same version must be available for build. For non-cross builds, it's able to
59
59
-
# re-use the executable generated as part of the build
60
60
-
buildPackages."protobuf${protobufVersion}"
61
61
-
];
62
62
-
63
63
-
buildInputs = [
64
64
-
gtest
65
65
-
zlib
66
66
-
];
67
67
-
68
68
-
propagatedBuildInputs = [
69
69
-
abseil-cpp
70
70
-
];
71
71
-
72
72
-
strictDeps = true;
73
73
-
74
74
-
cmakeDir = if lib.versionOlder version "3.22" then "../cmake" else null;
75
75
-
cmakeFlags = [
76
76
-
"-Dprotobuf_USE_EXTERNAL_GTEST=ON"
77
77
-
"-Dprotobuf_ABSL_PROVIDER=package"
78
78
-
] ++ lib.optionals enableShared [
79
79
-
"-Dprotobuf_BUILD_SHARED_LIBS=ON"
80
80
-
]
81
81
-
# Tests fail to build on 32-bit platforms; fixed in 3.22
82
82
-
# https://github.com/protocolbuffers/protobuf/issues/10418
83
83
-
++ lib.optionals (stdenv.targetPlatform.is32bit && lib.versionOlder version "3.22") [
84
84
-
"-Dprotobuf_BUILD_TESTS=OFF"
85
85
-
];
86
86
-
87
87
-
# FIXME: investigate. 3.24 and 3.23 have different errors.
88
88
-
# At least some of it is not reproduced on some other machine; example:
89
89
-
# https://hydra.nixos.org/build/235677717/nixlog/4/tail
90
90
-
doCheck = !(stdenv.isDarwin && lib.versionAtLeast version "3.23");
91
91
-
92
92
-
passthru = {
93
93
-
tests = {
94
94
-
pythonProtobuf = python3.pkgs.protobuf.override (_: {
95
95
-
protobuf = finalAttrs.finalPackage;
96
96
-
});
97
97
-
inherit grpc;
98
98
-
};
99
99
-
100
100
-
inherit abseil-cpp;
101
101
-
};
102
102
-
103
103
-
meta = {
104
104
-
description = "Google's data interchange format";
105
105
-
longDescription = ''
106
106
-
Protocol Buffers are a way of encoding structured data in an efficient
107
107
-
yet extensible format. Google uses Protocol Buffers for almost all of
108
108
-
its internal RPC protocols and file formats.
109
109
-
'';
110
110
-
license = lib.licenses.bsd3;
111
111
-
platforms = lib.platforms.all;
112
112
-
homepage = "https://protobuf.dev/";
113
113
-
maintainers = with lib.maintainers; [ jonringer ];
114
114
-
mainProgram = "protoc";
115
115
-
};
116
116
-
})
+2
-2
pkgs/development/libraries/protobuf/generic.nix
···
29
29
owner = "protocolbuffers";
30
30
repo = "protobuf";
31
31
rev = "v${version}";
32
32
-
sha256 = hash;
32
32
+
inherit hash;
33
33
};
34
34
35
35
postPatch = lib.optionalString stdenv.isDarwin ''
···
42
42
# https://github.com/protocolbuffers/protobuf/pull/10090
43
43
(fetchpatch {
44
44
url = "https://github.com/protocolbuffers/protobuf/commit/a7324f88e92bc16b57f3683403b6c993bf68070b.patch";
45
45
-
sha256 = "sha256-SmwaUjOjjZulg/wgNmR/F5b8rhYA2wkKAjHIOxjcQdQ=";
45
45
+
hash = "sha256-SmwaUjOjjZulg/wgNmR/F5b8rhYA2wkKAjHIOxjcQdQ=";
46
46
})
47
47
] ++ lib.optionals stdenv.hostPlatform.isStatic [
48
48
./static-executables-have-no-rpath.patch
+2
-2
pkgs/servers/redpanda/server.nix
···
16
16
, p11-kit
17
17
, pkg-config
18
18
, procps
19
19
-
, protobuf3_21
19
19
+
, protobuf_21
20
20
, python3
21
21
, snappy
22
22
, src
···
100
100
dpdk
101
101
hdr-histogram
102
102
p11-kit
103
103
-
protobuf3_21
103
103
+
protobuf_21
104
104
rapidjson
105
105
seastar
106
106
snappy
+3
pkgs/top-level/aliases.nix
···
689
689
prometheus-speedtest-exporter = throw "prometheus-speedtest-exporter was removed as unmaintained"; # Added 2023-07-31
690
690
protobuf3_17 = throw "protobuf3_17 does not receive updates anymore and has been removed"; # Added 2023-05-21
691
691
protobuf3_19 = throw "protobuf3_19 does not receive updates anymore and has been removed"; # Added 2023-10-01
692
692
+
protobuf3_24 = protobuf_24;
693
693
+
protobuf3_23 = protobuf_23;
694
694
+
protobuf3_21 = protobuf_21;
692
695
protonup = protonup-ng; # Added 2022-11-06
693
696
proxmark3-rrg = proxmark3; # Added 2023-07-25
694
697
proxmark3-unstable = throw "removed in favor of rfidresearchgroup fork"; # Added 2023-07-25
+41
-50
pkgs/top-level/all-packages.nix
···
770
770
protoc-gen-go-vtproto = callPackage ../development/tools/protoc-gen-go-vtproto { };
771
771
772
772
protoc-gen-grpc-web = callPackage ../development/tools/protoc-gen-grpc-web {
773
773
-
protobuf = protobuf3_21;
773
773
+
protobuf = protobuf_21;
774
774
};
775
775
776
776
protoc-gen-connect-go = callPackage ../development/tools/protoc-gen-connect-go { };
···
1094
1094
antlr = antlr4_10;
1095
1095
boost = boost177; # Configure checks for specific version.
1096
1096
icu = icu69;
1097
1097
-
protobuf = protobuf3_21;
1097
1097
+
protobuf = protobuf_21;
1098
1098
};
1099
1099
1100
1100
broadlink-cli = callPackage ../tools/misc/broadlink-cli { };
···
2672
2672
gensgs = pkgsi686Linux.callPackage ../applications/emulators/gens-gs { };
2673
2673
2674
2674
goldberg-emu = callPackage ../applications/emulators/goldberg-emu {
2675
2675
-
protobuf = protobuf3_21;
2675
2675
+
protobuf = protobuf_21;
2676
2676
};
2677
2677
2678
2678
gopsuinfo = callPackage ../tools/system/gopsuinfo { };
···
4172
4172
amoco = callPackage ../tools/security/amoco { };
4173
4173
4174
4174
anbox = callPackage ../os-specific/linux/anbox {
4175
4175
-
protobuf = protobuf3_21;
4175
4175
+
protobuf = protobuf_21;
4176
4176
};
4177
4177
4178
4178
androidenv = callPackage ../development/mobile/androidenv { };
···
4728
4728
common-licenses = callPackage ../data/misc/common-licenses { };
4729
4729
4730
4730
compactor = callPackage ../applications/networking/compactor {
4731
4731
-
protobuf = protobuf3_21;
4731
4731
+
protobuf = protobuf_21;
4732
4732
};
4733
4733
4734
4734
consul = callPackage ../servers/consul { };
···
5542
5542
ghdorker = callPackage ../tools/security/ghdorker { };
5543
5543
5544
5544
ghidra = darwin.apple_sdk_11_0.callPackage ../tools/security/ghidra/build.nix {
5545
5545
-
protobuf = protobuf3_21;
5545
5545
+
protobuf = protobuf_21;
5546
5546
};
5547
5547
5548
5548
ghidra-bin = callPackage ../tools/security/ghidra { };
···
6862
6862
clementine = libsForQt5.callPackage ../applications/audio/clementine {
6863
6863
gst_plugins =
6864
6864
with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-ugly gst-libav ];
6865
6865
-
protobuf = protobuf3_21;
6865
6865
+
protobuf = protobuf_21;
6866
6866
};
6867
6867
6868
6868
mellowplayer = libsForQt5.callPackage ../applications/audio/mellowplayer { };
···
7065
7065
7066
7066
mozc = callPackage ../tools/inputmethods/ibus-engines/ibus-mozc {
7067
7067
stdenv = clangStdenv;
7068
7068
-
protobuf = pkgs.protobuf3_21.overrideDerivation (_: { stdenv = clangStdenv; });
7068
7068
+
protobuf = pkgs.protobuf_21.overrideDerivation (_: { stdenv = clangStdenv; });
7069
7069
};
7070
7070
7071
7071
rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { };
···
10261
10261
10262
10262
netdata = callPackage ../tools/system/netdata {
10263
10263
inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit;
10264
10264
-
protobuf = protobuf3_21;
10264
10264
+
protobuf = protobuf_21;
10265
10265
};
10266
10266
# Exposed here so the bots can auto-upgrade it
10267
10267
netdata-go-plugins = callPackage ../tools/system/netdata/go.d.plugin.nix { };
···
11402
11402
nq = callPackage ../tools/system/nq { };
11403
11403
11404
11404
nsjail = callPackage ../tools/security/nsjail {
11405
11405
-
protobuf = protobuf3_21;
11405
11405
+
protobuf = protobuf_21;
11406
11406
};
11407
11407
11408
11408
nss_pam_ldapd = callPackage ../tools/networking/nss-pam-ldapd { };
···
11534
11534
oh-my-zsh = callPackage ../shells/zsh/oh-my-zsh { };
11535
11535
11536
11536
ola = callPackage ../applications/misc/ola {
11537
11537
-
protobuf = protobuf3_21;
11537
11537
+
protobuf = protobuf_21;
11538
11538
};
11539
11539
11540
11540
olive-editor = qt6Packages.callPackage ../applications/video/olive-editor {
···
11811
11811
p3x-onenote = callPackage ../applications/office/p3x-onenote { };
11812
11812
11813
11813
p4c = callPackage ../development/compilers/p4c {
11814
11814
-
protobuf = protobuf3_21;
11814
11814
+
protobuf = protobuf_21;
11815
11815
};
11816
11816
11817
11817
p7zip = callPackage ../tools/archivers/p7zip { };
···
15204
15204
zasm = callPackage ../development/compilers/zasm { };
15205
15205
15206
15206
zbackup = callPackage ../tools/backup/zbackup {
15207
15207
-
protobuf = protobuf3_21;
15207
15207
+
protobuf = protobuf_21;
15208
15208
};
15209
15209
15210
15210
zbar = libsForQt5.callPackage ../tools/graphics/zbar {
···
20139
20139
};
20140
20140
20141
20141
spoofer = callPackage ../tools/networking/spoofer {
20142
20142
-
protobuf = protobuf3_21;
20142
20142
+
protobuf = protobuf_21;
20143
20143
};
20144
20144
20145
20145
spoofer-gui = callPackage ../tools/networking/spoofer {
20146
20146
withGUI = true;
20147
20147
-
protobuf = protobuf3_21;
20147
20147
+
protobuf = protobuf_21;
20148
20148
};
20149
20149
20150
20150
spooles = callPackage ../development/libraries/science/math/spooles { };
···
20879
20879
cmrt = callPackage ../development/libraries/cmrt { };
20880
20880
20881
20881
codecserver = callPackage ../applications/audio/codecserver {
20882
20882
-
protobuf = protobuf3_21;
20882
20882
+
protobuf = protobuf_21;
20883
20883
};
20884
20884
20885
20885
coeurl = callPackage ../development/libraries/coeurl { };
···
21391
21391
gallia = callPackage ../tools/security/gallia { };
21392
21392
21393
21393
gamenetworkingsockets = callPackage ../development/libraries/gamenetworkingsockets {
21394
21394
-
protobuf = protobuf3_21;
21394
21394
+
protobuf = protobuf_21;
21395
21395
};
21396
21396
21397
21397
game-music-emu = callPackage ../development/libraries/audio/game-music-emu { };
···
23415
23415
libptytty = callPackage ../development/libraries/libptytty { };
23416
23416
23417
23417
libpulsar = callPackage ../development/libraries/libpulsar {
23418
23418
-
protobuf = protobuf3_21;
23418
23418
+
protobuf = protobuf_21;
23419
23419
};
23420
23420
23421
23421
libpwquality = callPackage ../development/libraries/libpwquality {
···
23824
23824
lightspark = callPackage ../misc/lightspark { };
23825
23825
23826
23826
lightstep-tracer-cpp = callPackage ../development/libraries/lightstep-tracer-cpp {
23827
23827
-
protobuf = protobuf3_21;
23827
23827
+
protobuf = protobuf_21;
23828
23828
};
23829
23829
23830
23830
ligolo-ng = callPackage ../tools/networking/ligolo-ng { };
···
24589
24589
24590
24590
prospector = callPackage ../development/tools/prospector { };
24591
24591
24592
24592
-
protobuf = protobuf3_24;
24592
24592
+
protobuf = protobuf_24;
24593
24593
24594
24594
-
# C++ 4.24 runtime, Python 4.24 runtime
24595
24594
protobuf_24 = callPackage ../development/libraries/protobuf/24.nix { };
24596
24596
-
# C++ 4.23 runtime, Python 4.23 runtime
24597
24595
protobuf_23 = callPackage ../development/libraries/protobuf/23.nix { };
24598
24598
-
# C++ 3.21 runtime, Python 4.21 runtime
24599
24596
protobuf_21 = callPackage ../development/libraries/protobuf/21.nix {
24600
24597
abseil-cpp = abseil-cpp_202103;
24601
24598
};
24602
24599
24603
24603
-
protobuf3_24 = callPackage ../development/libraries/protobuf/3.24.nix { };
24604
24604
-
protobuf3_23 = callPackage ../development/libraries/protobuf/3.23.nix { };
24605
24605
-
protobuf3_21 = callPackage ../development/libraries/protobuf/3.21.nix {
24606
24606
-
abseil-cpp = abseil-cpp_202103;
24607
24607
-
};
24608
24608
-
24609
24600
protobuf3_20 = callPackage ../development/libraries/protobuf/3.20.nix {
24610
24601
abseil-cpp = abseil-cpp_202103;
24611
24602
};
···
24775
24766
qm-dsp = callPackage ../development/libraries/audio/qm-dsp { };
24776
24767
24777
24768
qradiolink = callPackage ../applications/radio/qradiolink {
24778
24778
-
protobuf = protobuf3_21;
24769
24769
+
protobuf = protobuf_21;
24779
24770
};
24780
24771
24781
24772
qrupdate = callPackage ../development/libraries/qrupdate { };
···
25453
25444
25454
25445
valhalla = callPackage ../development/libraries/valhalla {
25455
25446
boost = boost.override { enablePython = true; python = python38; };
25456
25456
-
protobuf = protobuf3_21.override {
25447
25447
+
protobuf = protobuf_21.override {
25457
25448
abseil-cpp = abseil-cpp_202103.override {
25458
25449
cxxStandard = "17";
25459
25450
};
···
26992
26983
inherit (darwin.apple_sdk.frameworks) CoreServices;
26993
26984
boost = boost177; # Configure checks for specific version.
26994
26985
icu = icu69;
26995
26995
-
protobuf = protobuf3_21;
26986
26986
+
protobuf = protobuf_21;
26996
26987
};
26997
26988
26998
26989
mysql_jdbc = callPackage ../servers/sql/mysql/jdbc { };
···
27278
27269
rethinkdb = callPackage ../servers/nosql/rethinkdb {
27279
27270
stdenv = clangStdenv;
27280
27271
libtool = darwin.cctools;
27281
27281
-
protobuf = protobuf3_21;
27272
27272
+
protobuf = protobuf_21;
27282
27273
};
27283
27274
27284
27275
rippled = callPackage ../servers/rippled {
···
28724
28715
sgx-ssl = callPackage ../os-specific/linux/sgx/ssl { };
28725
28716
28726
28717
sgx-psw = callPackage ../os-specific/linux/sgx/psw {
28727
28727
-
protobuf = protobuf3_21;
28718
28718
+
protobuf = protobuf_21;
28728
28719
};
28729
28720
28730
28721
shadow = callPackage ../os-specific/linux/shadow { };
···
30494
30485
30495
30486
astroid = callPackage ../applications/networking/mailreaders/astroid {
30496
30487
vim = vim-full.override { features = "normal"; };
30497
30497
-
protobuf = protobuf3_21;
30488
30488
+
protobuf = protobuf_21;
30498
30489
};
30499
30490
30500
30491
aucatctl = callPackage ../applications/audio/aucatctl { };
···
32528
32519
};
32529
32520
32530
32521
hyperion-ng = libsForQt5.callPackage ../applications/video/hyperion-ng {
32531
32531
-
protobuf = protobuf3_21;
32522
32522
+
protobuf = protobuf_21;
32532
32523
};
32533
32524
32534
32525
hyperledger-fabric = callPackage ../tools/misc/hyperledger-fabric { };
···
34023
34014
avahi = avahi-compat;
34024
34015
pulseSupport = config.pulseaudio or false;
34025
34016
iceSupport = config.murmur.iceSupport or true;
34026
34026
-
protobuf = protobuf3_21;
34017
34017
+
protobuf = protobuf_21;
34027
34018
}).murmur;
34028
34019
34029
34020
mumble = (callPackages ../applications/networking/mumble {
34030
34021
avahi = avahi-compat;
34031
34022
jackSupport = config.mumble.jackSupport or false;
34032
34023
speechdSupport = config.mumble.speechdSupport or false;
34033
34033
-
protobuf = protobuf3_21;
34024
34024
+
protobuf = protobuf_21;
34034
34025
}).mumble;
34035
34026
34036
34027
mumble_overlay = callPackage ../applications/networking/mumble/overlay.nix {
···
34158
34149
osm2pgsql = callPackage ../tools/misc/osm2pgsql { };
34159
34150
34160
34151
ostinato = libsForQt5.callPackage ../applications/networking/ostinato {
34161
34161
-
protobuf = protobuf3_21;
34152
34152
+
protobuf = protobuf_21;
34162
34153
};
34163
34154
34164
34155
p4 = callPackage ../applications/version-management/p4 {
···
34267
34258
34268
34259
shogun = callPackage ../applications/science/machine-learning/shogun {
34269
34260
opencv = opencv3;
34270
34270
-
protobuf = protobuf3_21;
34261
34261
+
protobuf = protobuf_21;
34271
34262
};
34272
34263
34273
34264
smplayer = libsForQt5.callPackage ../applications/video/smplayer { };
···
34630
34621
osmo-sip-connector = callPackage ../servers/osmocom/osmo-sip-connector { };
34631
34622
34632
34623
osmscout-server = libsForQt5.callPackage ../applications/misc/osmscout-server {
34633
34633
-
protobuf = protobuf3_21.override {
34624
34624
+
protobuf = protobuf_21.override {
34634
34625
abseil-cpp = abseil-cpp_202103.override {
34635
34626
cxxStandard = "17";
34636
34627
};
···
35149
35140
rgp = libsForQt5.callPackage ../development/tools/rgp { };
35150
35141
35151
35142
ricochet = libsForQt5.callPackage ../applications/networking/instant-messengers/ricochet {
35152
35152
-
protobuf = protobuf3_21;
35143
35143
+
protobuf = protobuf_21;
35153
35144
};
35154
35145
35155
35146
ries = callPackage ../applications/science/math/ries { };
···
35472
35463
35473
35464
curaengine = callPackage ../applications/misc/curaengine {
35474
35465
inherit (python3.pkgs) libarcus;
35475
35475
-
protobuf = protobuf3_21;
35466
35466
+
protobuf = protobuf_21;
35476
35467
};
35477
35468
35478
35469
cura = libsForQt5.callPackage ../applications/misc/cura { };
···
35861
35852
tijolo = callPackage ../applications/editors/tijolo { };
35862
35853
35863
35854
tilemaker = callPackage ../applications/misc/tilemaker {
35864
35864
-
protobuf = protobuf3_21;
35855
35855
+
protobuf = protobuf_21;
35865
35856
};
35866
35857
35867
35858
timbreid = callPackage ../applications/audio/pd-plugins/timbreid {
···
37063
37054
37064
37055
bitcoin-abc = libsForQt5.callPackage ../applications/blockchains/bitcoin-abc {
37065
37056
withGui = true;
37066
37066
-
protobuf = protobuf3_21;
37057
37057
+
protobuf = protobuf_21;
37067
37058
};
37068
37059
bitcoind-abc = callPackage ../applications/blockchains/bitcoin-abc {
37069
37060
mkDerivation = stdenv.mkDerivation;
37070
37070
-
protobuf = protobuf3_21;
37061
37061
+
protobuf = protobuf_21;
37071
37062
withGui = false;
37072
37063
};
37073
37064
···
37642
37633
ckan = callPackage ../games/ckan { };
37643
37634
37644
37635
cockatrice = libsForQt5.callPackage ../games/cockatrice {
37645
37645
-
protobuf = protobuf3_21;
37636
37636
+
protobuf = protobuf_21;
37646
37637
};
37647
37638
37648
37639
commandergenius = callPackage ../games/commandergenius { };
···
38237
38228
pong3d = callPackage ../games/pong3d { };
38238
38229
38239
38230
pokerth = libsForQt5.callPackage ../games/pokerth {
38240
38240
-
protobuf = protobuf3_21;
38231
38231
+
protobuf = protobuf_21;
38241
38232
};
38242
38233
38243
38234
pokerth-server = libsForQt5.callPackage ../games/pokerth {
38244
38235
target = "server";
38245
38245
-
protobuf = protobuf3_21;
38236
38236
+
protobuf = protobuf_21;
38246
38237
};
38247
38238
38248
38239
pokete = callPackage ../games/pokete { };
···
39333
39324
39334
39325
or-tools = callPackage ../development/libraries/science/math/or-tools {
39335
39326
python = python3;
39336
39336
-
protobuf = protobuf3_21;
39327
39327
+
protobuf = protobuf_21;
39337
39328
# or-tools builds with -std=c++20, so abseil-cpp must
39338
39329
# also be built that way
39339
39330
abseil-cpp = abseil-cpp_202206.override {
+2
-2
pkgs/top-level/python-packages.nix
···
6068
6068
};
6069
6069
6070
6070
libarcus = callPackage ../development/python-modules/libarcus {
6071
6071
-
protobuf = pkgs.protobuf3_21;
6071
6071
+
protobuf = pkgs.protobuf_21;
6072
6072
};
6073
6073
6074
6074
libasyncns = callPackage ../development/python-modules/libasyncns {
···
9487
9487
# Protobuf 4.x
9488
9488
protobuf = callPackage ../development/python-modules/protobuf {
9489
9489
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
9490
9490
-
protobuf = pkgs.protobuf_24;
9490
9490
+
protobuf = pkgs.protobuf;
9491
9491
};
9492
9492
9493
9493
# Protobuf 3.x