Commit a5d33728 authored by emaryn's avatar emaryn
Browse files

python313Packages.xtensor-python: 0.27.0 -> 0.28.0

parent dd3c23d7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
{
  lib,
  toPythonModule,
  stdenv,
  toPythonModule,
  fetchFromGitHub,
  cmake,
  gtest,
@@ -13,23 +13,23 @@
toPythonModule (
  stdenv.mkDerivation (finalAttrs: {
    pname = "xtensor-python";
    version = "0.27.0";
    version = "0.28.0";

    src = fetchFromGitHub {
      owner = "xtensor-stack";
      repo = "xtensor-python";
      rev = finalAttrs.version;
      hash = "sha256-Cy/aXuiriE/qxSd4Apipzak30DjgE7jX8ai1ThJ/VnE=";
      tag = finalAttrs.version;
      hash = "sha256-xByqAYtSRKOnllMUFdRM25bXGft/43EEpEMIlcjdrgE=";
    };

    nativeBuildInputs = [ cmake ];
    buildInputs = [ pybind11 ];
    nativeCheckInputs = [ gtest ];
    doCheck = true;
    doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
    cmakeFlags = [
      # Always build the tests, even if not running them, because testing whether
      # they can be built is a test in itself.
      "-DBUILD_TESTS=ON"
      (lib.cmakeBool "BUILD_TESTS" true)
    ];

    propagatedBuildInputs = [