mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 01:21:11 +00:00
opencamlib: Fix build failing on deprecated flag
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git i/pyproject.toml w/pyproject.toml
|
||||
index 20be73f..3773051 100644
|
||||
--- i/pyproject.toml
|
||||
+++ w/pyproject.toml
|
||||
@@ -36,7 +36,7 @@ requires = ["scikit-build-core"]
|
||||
build-backend = "scikit_build_core.build"
|
||||
|
||||
[tool.scikit-build]
|
||||
-cmake.verbose = true
|
||||
+build.verbose = true
|
||||
logging.level = "DEBUG"
|
||||
wheel.packages = ["src/pythonlib/opencamlib"]
|
||||
@@ -23,6 +23,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-pUj71PdWo902dqF9O6SLnpvFooFU2OfLBv8hAVsH/iA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Upstream status: https://github.com/aewallin/opencamlib/pull/180
|
||||
./01-build-verbose.patch
|
||||
];
|
||||
|
||||
build-system = [
|
||||
scikit-build-core
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user