9 stdenv.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
13 owner = "xtensor-stack";
15 rev = finalAttrs.version;
16 hash = "sha256-qElJYW5QDj3s59L3NgZj5zkhnUMzIP2mBa1sPks3/CE=";
19 # Fix of https://github.com/xtensor-stack/xsimd/pull/1024 for
20 # https://github.com/xtensor-stack/xsimd/issues/456 and
21 # https://github.com/xtensor-stack/xsimd/issues/807,
23 url = "https://github.com/xtensor-stack/xsimd/commit/c8a87ed6e04b6782f48f94713adfb0cad6c11ddf.patch";
24 hash = "sha256-2/FvBGdqTPcayD7rdHPSzL+F8IYKAfMW0WBJ0cW9EZ0=";
26 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
27 # https://github.com/xtensor-stack/xsimd/issues/1030
28 ./disable-test_error_gamma.patch
31 # strictDeps raises the chance that xsimd will be able to be cross compiled
43 # Always build the tests, even if not running them, because testing whether
44 # they can be built is a test in itself.
49 checkTarget = "xtest";
52 changelog = "https://github.com/xtensor-stack/xsimd/blob/${finalAttrs.version}/Changelog.rst#${
53 builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version
55 description = "C++ wrappers for SIMD intrinsics";
56 homepage = "https://github.com/xtensor-stack/xsimd";
57 license = licenses.bsd3;
58 maintainers = with maintainers; [ tobim doronbehar ];
59 platforms = platforms.all;