evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / nocturne / dependencies.patch
blob18843ff6309f3601ba5592ae89107ac8ea647548
1 diff --git a/nocturne/cpp/CMakeLists.txt b/nocturne/cpp/CMakeLists.txt
2 index c67815f..e1f825b 100644
3 --- a/nocturne/cpp/CMakeLists.txt
4 +++ b/nocturne/cpp/CMakeLists.txt
5 @@ -62,8 +62,7 @@ include(FetchContent)
7 FetchContent_Declare(
8 googletest
9 - GIT_REPOSITORY https://github.com/google/googletest.git
10 - GIT_TAG main
11 + SOURCE_DIR @gtest_src@
14 set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
15 diff --git a/setup.py b/setup.py
16 index 4863ae6..b5d3545 100644
17 --- a/setup.py
18 +++ b/setup.py
19 @@ -92,6 +92,8 @@ def main():
20 # with open("./requirements.txt", "r") as f:
21 # requires = f.read().splitlines()
22 setup(
23 + # Adding `packages=` is necessary to get `python setup.py install` to work
24 + packages=["nocturne", "cfgs"],
25 ext_modules=[CMakeExtension("nocturne", "./nocturne")],
26 cmdclass=dict(build_ext=CMakeBuild),