ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / blspy / dont_fetch_dependencies.patch
blob3184e3f0ea8e83e73ccc697354e65d91054ac291
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 6922167..23d8da6 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -31,29 +31,18 @@ set(CMAKE_MODULE_PATH
6 include(FetchContent)
8 FetchContent_Declare(Sodium
9 - GIT_REPOSITORY https://github.com/AmineKhaldi/libsodium-cmake.git
10 - # Latest commit at the moment this was added here
11 - # Anchored to libsodium v1.0.18
12 - GIT_TAG f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65
13 + URL @sodium_src@
15 set(SODIUM_PCH "on" CACHE STRING "")
16 set(SODIUM_DISABLE_TESTS "on" CACHE STRING "")
17 set(SODIUM_CHIA_MINIMAL "on" CACHE STRING "")
18 FetchContent_MakeAvailable(Sodium)
20 -if (DEFINED ENV{RELIC_MAIN})
21 - set(RELIC_GIT_TAG "origin/main")
22 -else ()
23 - # This is currently anchored to upstream aecdcae7956f542fbee2392c1f0feb0a8ac41dc5
24 - set(RELIC_GIT_TAG "215c69966cb78b255995f0ee9c86bbbb41c3c42b")
25 -endif ()
27 message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")
29 FetchContent_Declare(
30 relic
31 - GIT_REPOSITORY https://github.com/Chia-Network/relic.git
32 - GIT_TAG ${RELIC_GIT_TAG}
33 + SOURCE_DIR @relic_src@
36 # Relic related options
37 diff --git a/python-bindings/CMakeLists.txt b/python-bindings/CMakeLists.txt
38 index 5a8c381..d9aa940 100644
39 --- a/python-bindings/CMakeLists.txt
40 +++ b/python-bindings/CMakeLists.txt
41 @@ -1,8 +1,7 @@
43 FetchContent_Declare(
44 pybind11
45 - GIT_REPOSITORY https://github.com/pybind/pybind11.git
46 - GIT_TAG v2.6.2
47 + SOURCE_DIR @pybind11_src@
49 FetchContent_MakeAvailable(pybind11 relic)
51 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
52 index 449164a..15a955e 100644
53 --- a/src/CMakeLists.txt
54 +++ b/src/CMakeLists.txt
55 @@ -37,8 +37,7 @@ install(FILES $<TARGET_FILE:bls> DESTINATION lib)
56 if(BUILD_BLS_TESTS)
57 FetchContent_Declare(
58 Catch2
59 - GIT_REPOSITORY https://github.com/catchorg/Catch2.git
60 - GIT_TAG v3.0.0-preview5
61 + URL @catch2_src@
63 FetchContent_MakeAvailable(Catch2)
64 add_executable(runtest test.cpp)