3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.chiapos: 1.0.4 -> 1.0.6

This commit is contained in:
Louis Bettens 2021-11-05 19:39:36 +01:00
parent 8ac539219d
commit 29791cd7aa
2 changed files with 12 additions and 8 deletions

View file

@ -6,6 +6,7 @@
, cxxopts
, ghc_filesystem
, pybind11
, pytestCheckHook
, pythonOlder
, psutil
, setuptools-scm
@ -13,12 +14,12 @@
buildPythonPackage rec {
pname = "chiapos";
version = "1.0.4";
version = "1.0.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-flI1vwtD0H28UDMcEEELECewkXZ6vf/XEYMqRKy5R6w=";
sha256 = "sha256-Zh5AULPgbG0oYPcBZMp/vm94MPyfdtYn4P5V+1LeMqA=";
};
patches = [
@ -34,7 +35,11 @@ buildPythonPackage rec {
buildInputs = [ pybind11 ];
checkInputs = [ psutil ];
checkInputs = [
psutil
pytestCheckHook
];
# CMake needs to be run by setuptools rather than by its hook
dontConfigure = true;

View file

@ -1,13 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b4a2f5..86f849c 100644
index b757b70..fcce055 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,22 +18,19 @@ include(FetchContent)
else()
@@ -21,23 +21,20 @@ include(${CMAKE_INSTALL_PREFIX}/share/cmake/pybind11/pybind11Config.cmake)
else()
FetchContent_Declare(
pybind11-src
- GIT_REPOSITORY https://github.com/pybind/pybind11.git
- GIT_TAG v2.6.2
- GIT_TAG v2.7.1
+ SOURCE_DIR @pybind11_src@
)
FetchContent_MakeAvailable(pybind11-src)
@ -29,4 +29,3 @@ index 9b4a2f5..86f849c 100644
)
FetchContent_MakeAvailable(gulrak)