python3Packages.blspy: 1.0.13 -> 1.0.16

This commit is contained in:
Louis Bettens 2023-01-04 00:20:37 +01:00 committed by Martin Weinelt
parent 4469b2ad1a
commit ac5bf82d8e
2 changed files with 8 additions and 8 deletions

View file

@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "blspy";
version = "1.0.13";
version = "1.0.16";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-feuHVtBgjzGBjY1eSKh47feTT8prdkSwvs993lJSSiI=";
hash = "sha256-XABdS6CCUJpZ9N1Vra078V0HoDU32u1l3yz96ZKHwFc=";
};
patches = [

View file

@ -1,5 +1,5 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6922167..23d8da6 100644
index 7922652..d85b058 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,29 +31,18 @@ set(CMAKE_MODULE_PATH
@ -10,7 +10,7 @@ index 6922167..23d8da6 100644
- # Latest commit at the moment this was added here
- # Anchored to libsodium v1.0.18
- GIT_TAG f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65
+ URL @sodium_src@
+ URL /nix/store/2nj48a8vb7rzxhwaigdcpa0yyax7yrv7-source
)
set(SODIUM_PCH "on" CACHE STRING "")
set(SODIUM_DISABLE_TESTS "on" CACHE STRING "")
@ -30,12 +30,12 @@ index 6922167..23d8da6 100644
relic
- GIT_REPOSITORY https://github.com/Chia-Network/relic.git
- GIT_TAG ${RELIC_GIT_TAG}
+ SOURCE_DIR @relic_src@
+ SOURCE_DIR /nix/store/6r9v1cmmy535q2y0pk0bkjh3ppyzb2ch-source
)
# Relic related options
diff --git a/python-bindings/CMakeLists.txt b/python-bindings/CMakeLists.txt
index 5a8c381..d9aa940 100644
index 2e331c3..d9aa940 100644
--- a/python-bindings/CMakeLists.txt
+++ b/python-bindings/CMakeLists.txt
@@ -1,8 +1,7 @@
@ -43,13 +43,13 @@ index 5a8c381..d9aa940 100644
FetchContent_Declare(
pybind11
- GIT_REPOSITORY https://github.com/pybind/pybind11.git
- GIT_TAG v2.6.2
- GIT_TAG v2.10.0
+ SOURCE_DIR @pybind11_src@
)
FetchContent_MakeAvailable(pybind11 relic)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 449164a..15a955e 100644
index 3164f7f..15a955e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -37,8 +37,7 @@ install(FILES $<TARGET_FILE:bls> DESTINATION lib)