Commit ffdf12ec authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python312Packages.spglib: 2.4.0 -> 2.5.0

parent ac6d25fb
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -21,12 +21,12 @@

buildPythonPackage rec {
  pname = "spglib";
  version = "2.4.0";
  version = "2.5.0";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-bmP57mG3DxU6ItO1ULGD2lMfiQR1kX/OIDutRZeqwkM=";
    hash = "sha256-+LtjiJe+kbnb1MCF2f3h9pBI9ZSeIPODLLlDjldBjUs=";
  };

  nativeBuildInputs = [
@@ -40,6 +40,12 @@ buildPythonPackage rec {

  dontUseCmakeConfigure = true;

  postPatch = ''
    # relax v2 constrain in [build-system] intended for binary backward compat
    substituteInPlace pyproject.toml \
      --replace-fail "numpy~=2.0" "numpy"
  '';

  propagatedBuildInputs = [ numpy ];

  nativeCheckInputs = [