python3Packages.dscribe: fix numpy compatibility

This commit is contained in:
Phillip Seeber
2026-03-23 11:32:56 +01:00
parent 5d9f772259
commit d529fde2ab
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
# build-system
pybind11,
@@ -34,6 +35,15 @@ buildPythonPackage rec {
hash = "sha256-2JY24cR2ie4+4svVWC4rm3Iy6Wfg0n2vkINz032kPWc=";
};
patches = [
# Fixes numpy compatibility
(fetchpatch {
name = "dscribe-numpy-compatibility";
url = "https://github.com/SINGROUP/dscribe/pull/162.patch";
hash = "sha256-mSKIerAIqdRp6b/ylqcYr8VwLCGxw5fz/5foo0ZQqgk=";
})
];
build-system = [
pybind11
setuptools