Commit graph

141 commits

Author SHA1 Message Date
Adam Joseph c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
misuzu 29e54e1311 protobuf: disable tests on 32-bit platforms 2023-10-27 19:07:46 +03:00
Aaron Jheng d4aee7541f
protobuf: fix eval failures 2023-10-25 09:47:50 +08:00
Gaetan Lepage 73cd37cec9 protobuf: 24.3 -> 24.4 2023-10-16 11:52:05 +02:00
Aaron Jheng 80aaa46d4c
protobuf: use new package definition only 2023-10-11 13:20:31 +00:00
Aaron Jheng d453b6e67a
protobuf_21: init at 21.12, protobuf_23: init at 23.4, protobuf_24: init at 24.3 2023-10-11 13:20:31 +00:00
Aaron Jheng 2814ef246f
protobuf3_19: remove 2023-10-01 01:33:31 +00:00
Aaron Jheng d2b4c7cec5
localproxy: use protobuf3_21 2023-09-28 13:03:44 +00:00
Vladimír Čunát 83ab82d09a
protobuf: off-by-one error in failing tests
Really, I was careless.  But at least the default version had it right.
2023-09-24 09:33:30 +02:00
Vladimír Čunát b9f372ba3b
protobuf: avoid the failing tests on darwin
abseil-cpp version hell makes it hard to switch versions (as I feared)
https://hydra.nixos.org/build/236112673/nixlog/1/tail
So let's avoid tests instead, until someone really investigates this.
2023-09-24 09:20:50 +02:00
github-actions[bot] c651d7d9e9
Merge master into staging-next 2023-09-22 00:02:14 +00:00
Aaron Jheng ce01771cce
protobuf: clean up 2023-09-20 22:04:25 +08:00
Gaetan Lepage d4c11433b8 protobuf: 3.24.1 -> 3.24.2 2023-08-25 23:33:35 +02:00
Gaetan Lepage 74ac830839 protobuf: init 3.24 2023-08-21 07:43:45 +02:00
Mario Rodas 9e5fabaf13 protobuf: update meta 2023-08-14 04:20:00 +00:00
Mario Rodas 301b33cd74 protobuf: add grpc as reverse dependency to passthru.tests 2023-08-14 04:20:00 +00:00
Mario Rodas 2cd0ae8311 protobuf: use finalAttrs pattern 2023-08-14 04:20:00 +00:00
Mario Rodas 81d8fdb6ab protobuf: use nixpkgs gtest
protobuf>3.20 allows to use the system GTest. Therefore, we can safely
remove the logic to use third_party/gmock from `generic-v3-cmake.nix`
because it's used only for protobuf>=3.21.
2023-08-14 04:20:00 +00:00
Gaetan Lepage 3eac04a72c protobuf: 3.24.2 -> 3.24.3 2023-09-08 11:00:45 +02:00
Theodore Ni c958dcee02
python3.pkgs.protobuf: fix build after updating protobuf to 3.23.4 (#248231) 2023-08-12 08:14:58 +02:00
Theodore Ni 61f38f6046
protobuf: move abseil-cpp to propagatedBuildInputs 2023-08-10 11:55:55 -07:00
Tobias Mayer 9e397b9d00
protobuf3: 21.12 -> 24.4 2023-08-05 11:26:17 +02:00
Felix Buehler bec27fabee treewide: use lib.optional instead of 'then []' 2023-07-12 09:36:28 +01:00
Aaron Jheng 9402ff9bd5
protobuf: clean up 2023-05-18 02:40:50 +00:00
Vladimír Čunát 674e3f033c
Merge #215050: protobuf3_21: don't build tests on 32-bit platforms 2023-02-12 13:29:10 +01:00
Ben Wolsieffer 025b08b580 protobuf3_21: don't build tests on 32-bit platforms
The tests fail to build on 32-bit platforms, due to an upstream bug which will
be fixed in 3.22. Previously, this was holding back the default protobuf version
on 32-bit platforms to 3.20, which in turn broke packages such as mypy-protobuf
which require 3.21

This commit disables building the tests on 32-bit platforms, allowing 3.21 to
build. Note that we don't ever run the tests on any platform, but they are
normally still built.

Now that 3.21 builds on 32-bit, this commit also unpins 3.20 as the default
version.
2023-02-06 22:17:54 -05:00
figsoda 42d1d60a92
Merge pull request #206773 from SuperSandro2000/cleanup-unused-bindings
treewide: cleanup some unused bindings
2023-02-06 20:07:50 -05:00
Sandro Jäckel 50e0012f9d
treewide: cleanup some unused bindings 2023-02-07 01:36:15 +01:00
Martin Weinelt c1e6c6af69 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 03:51:33 +01:00
Keegan Dahm 90901235c5 protobuf: fix uses of .override 2023-01-09 11:41:27 -08:00
Martin Weinelt f6d5846ee0 protobuf3_21: 3.21.8 -> 3.21.12
https://github.com/protocolbuffers/protobuf/blob/v21.12/CHANGES.txt
2023-01-05 13:20:48 +01:00
Mario Rodas 762574195d protobuf3_21: 3.21.6 -> 3.21.8
https://github.com/protocolbuffers/protobuf/releases/tag/v3.21.7
https://github.com/protocolbuffers/protobuf/releases/tag/v3.21.8
2022-10-22 04:20:00 +00:00
Mario Rodas 658850f9f7 protobuf3_20: 3.20.2 -> 3.20.3
https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3
2022-10-22 04:20:00 +00:00
Mario Rodas 443063f4a3 protobuf3_19: 3.19.5 -> 3.19.6
https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6
2022-10-22 04:20:00 +00:00
Thomas Gerbet 53e0aec6d3 protobuf3_7: remove
Part of #193370
2022-10-03 21:11:11 +02:00
Tobias Mayer 41963339b9 pkgsStatic.protobuf: fix installation of protoc 2022-10-03 08:28:17 +02:00
Martin Weinelt 9b5f227a93
protobuf3_11: remove
No consumers and does not receive updates anymore and therefore probably
vulnerable to CVE-2022-1941 and others.
2022-09-28 19:36:48 +02:00
Martin Weinelt d9550c1681
protobuf3_21: 3.21.2 -> 3.21.6
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf

Fixes: CVE-2022-1941
2022-09-28 18:58:10 +02:00
Martin Weinelt b399ddeab5
protobuf3_20: 3.20.1 -> 3.20.2
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf

Fixes: CVE-2022-1941
2022-09-28 18:54:21 +02:00
Martin Weinelt c9b98fe8b1
protobuf3_19: 3.19.4 -> 3.19.5
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf

Fixes: CVE-2022-1941
2022-09-28 18:53:34 +02:00
Vladimír Čunát 584c43419c
protobuf*: add .meta.mainProgram
In particular, this fixes `lib.getExe protobuf` in opencv.
2022-09-20 12:52:34 +02:00
Jonathan Ringer 950a258b9e protobuf3_21: init at 3.21.2 2022-07-17 23:25:30 -07:00
Jonathan Ringer 436f9e14b1 protobuf3_20: init at 3.20.1 2022-07-17 23:25:30 -07:00
Jonathan Ringer 5c38e6b3d2 protobuf: add cmake generic builder 2022-07-17 23:25:30 -07:00
Sandro Jäckel 41e6bc803a
protobuf: drop all unused versions 2022-05-12 21:39:27 +02:00
github-actions[bot] f39e774f11
Merge master into staging-next 2022-05-09 00:02:27 +00:00
Sandro 5f4a1c5b8e
Merge pull request #171746 from aaronjheng/protobuf-3.1
protobuf: remove 3.1
2022-05-09 01:25:44 +02:00
github-actions[bot] ff5c4d3404
Merge master into staging-next 2022-05-06 06:01:36 +00:00
Aaron Jheng 97a2e11a75
protobuf: remove 3.1 2022-05-06 00:14:39 +00:00
Malo Bourgon 9e4be53221 treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
2022-05-04 18:11:50 -07:00