Commit Graph
36 Commits
Author SHA1 Message Date
Tobias Mayer 21d546b7f0 google-cloud-cpp: enable darwin, fix cross 2024-10-13 20:08:43 +02:00
github-actions[bot]andGitHub 192fd67cc3 Merge master into staging-next 2024-10-03 18:04:30 +00:00
Peder Bergebakken Sundt 3100acba08 treewide: \xc2\xa0 ->
I have no idea what this escape sequence even is, but it breaks the nix parser with cryptic errors if not used in a comment.
A friend let me know MacOS is prone to input weird spaces, not sure if that is the source.

Candidates were located and created with:

    chr="$(echo -e '\xc2\xa0')"; rg -F "$chr" -l | xe sd -F "$chr" " "

There are some examples left, most being example output from `tree` in various markdown documents, some patches which we can't really touch, and `pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py` which I'm not sure if should be addressed
2024-10-02 15:33:06 +02:00
K900 d46eefeffd google-cloud-cpp: 2.14.0 -> 2.29.0
Fixes build with latest GCC/glibc/protobuf/etc, also
catches us up on a year of updates.
2024-09-29 08:21:18 +03:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
db7e0753ff google-cloud-cpp: simplify excluded test list (#291716)
* google-cloud-cpp: simplify excluded test list

The upstream project labels any test that requires contacting
Google Cloud Platform as an `integration-test`. It is easier to
skip the tests by label than explicitly listing each test.

* Fix formatting

* Update pkgs/development/libraries/google-cloud-cpp/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

* Fix formatting

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-03-01 00:25:40 +01:00
Peder Bergebakken SundtandMartin Weinelt 735674fc33 google-cloud-cpp: fix build with patch from upstream
The patch is merged in 2.16.0, but bumping is not
trivial and my machine takes 1h12m57s to build this.
2023-12-20 20:46:29 +01:00
Tobias Mayer 54e9994a6b grpc: refactor cxxStandard selection
GRPC is less aggressive in overriding `CMAKE_CXX_STANDARD` nowadays.
This allows us to take a less invasive approach to ensure that the
provided abseil package is configured with the same implementation
for the provided c++17 compatibility shims.
Instead of always setting `CMAKE_CXX_STANDARD`, we only do it to
override hard-coded downgrade on darwin. With that, we can use the
default configuration for abseil-cpp, reducing the number of instances
of that library in the build closure to one.
2023-08-14 11:50:30 +02:00
Tobias Mayer 69ea1516ca google-cloud-cpp: 2.4.0 -> 2.14.0 2023-08-13 18:10:55 +02:00
github-actions[bot]andGitHub b2f58f98dd Merge staging-next into staging 2023-06-05 00:03:13 +00:00
Vladimír Čunát 36689480f3 google-cloud-cpp: schedule on big-parallel machines
This time for real I hope, not like around 07310e59a6.
Otherwise it often takes 1-2 hours on Hydra, which seems unnecessary.
2023-06-04 21:51:26 +02:00
Vladimír Čunát 07310e59a6 Revert "google-cloud-cpp: schedule on big-parallel machines"
This reverts commit add8dd8402.
This attribute doesn't belong into meta and has no effect there.
2023-06-04 21:47:55 +02:00
Vladimír Čunát add8dd8402 google-cloud-cpp: schedule on big-parallel machines
Otherwise it often takes 1-2 hours on Hydra, which seems unnecessary.
2023-06-04 20:57:15 +02:00
Vladimír Čunát efd6f2ac30 google-cloud-cpp: downgrade a warning on aarch64-linux
I don't know why it started now, but it only happens in tests,
and generally -Werror is more suitable for upstreams than downstreams.
2023-06-04 20:57:15 +02:00
Vladimír Čunát 1dbc304759 google-cloud-cpp: extend .meta.platforms
The default is x86_64-linux only, but we build many packages
for aarch64-linux on Hydra that depend on this (possibly indirectly),
and it can be cumbersome when a dependency doesn't have its own job.
2023-06-04 20:57:15 +02:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Weijia Wang 6b15d096d7 google-cloud-cpp: inherit cxxStandard from grpc 2022-12-19 05:29:26 +01:00
Phillip Cloud a3cb8c8736 google-cloud-cpp: build with CMAKE_CXX_STANDARD=17 2022-12-06 09:46:15 -05:00
Phillip Cloud c8825268d2 google-cloud-cpp: 1.38.0 -> 2.4.0 2022-12-06 09:46:12 -05:00
Vladimír Čunát 823f0f1ef0 google-cloud-cpp: use abseil-cpp propagated from grpc
It's not the same version and now this difference would break the build.
2022-10-30 09:13:59 +01:00
Alexander ShpilkinandArtturin f2e74c1616 google-cloud-cpp: fix paths in pkg-config files 2022-09-07 21:49:31 +03:00
ajs124 945ac1c9d8 google-cloud-cpp: pin to openssl 1.1 2022-08-17 20:16:23 +02:00
bcd781941a google-cloud-cpp: 1.32.1 -> 1.38.0 (#163205)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-08 13:24:57 +01:00
Phillip Cloud c9ca529066 google-cloud-cpp: add comment about doInstallCheck and dependencies 2021-11-05 06:41:05 -04:00
Phillip Cloud 2db4ece355 google-cloud-cpp: add unit tests 2021-11-05 06:39:27 -04:00
Phillip Cloud 33c991cf65 google-cloud-cpp: 0.14.0 -> 1.32.1 2021-11-04 05:47:13 -04:00
Sandro Jäckel ad72e5fbc3 google-cloud-cpp: remove packages which are no longer required after #116317 2021-03-16 16:32:46 +01:00
Tom Hunger dd5f27ad1e google-cloud-cpp: add missing dependency 2021-03-02 20:54:36 +00:00
Ben SiraphobandJonathan Ringer 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Ben Siraphob b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Andreas Rammhold 7560a94bd1 google-cloud-cpp: drop maintainership
I am not using this anymore and do not plan to work on this package
anylonger.
2020-12-06 21:24:50 +01:00
Florian Klink 7741f925f1 google-cloud-cpp: remove myself from maintainers
This was only to enable https://github.com/NixOS/nix/pull/3021, which
has bitrotted sufficiently in the meantime.
2020-11-11 20:40:41 +01:00
Michael Weiss 48b2cb5126 google-cloud-cpp: Mark as broken
See https://hydra.nixos.org/build/129622012.
2020-11-09 19:33:02 +01:00
Michael ReillyandJörg Thalheim 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Florian Klink 5e225b7fd9 google-cloud-cpp: 0.11.0 -> 0.14.0
This bumps google-cloud-cpp to 0.14.0, which switched to using pkgconfig
for more of the dependencies. On top of that, the installation looks
much better (we don't need to fixup library paths and move files around)

On top of that, upstream introduced another intermediate dependency
(googleapis-cpp-cmakefiles).

Obsoletes #67769.
2019-10-05 20:41:21 +02:00
Andreas Rammhold 1a72fe89f8 google-cloud-cpp: init at 0.11.0 2019-08-13 17:26:51 +02:00