python3Packages.xformers: mark as broken on darwin (#413817)

authored by Yt and committed by GitHub 14a0e0b0 42943e0a

+9 -5
+9 -5
pkgs/development/python-modules/xformers/default.nix
··· 30 30 }: 31 31 let 32 32 inherit (torch) cudaCapabilities cudaPackages cudaSupport; 33 - version = "0.0.28.post3"; 33 + version = "0.0.30"; 34 34 in 35 35 buildPythonPackage { 36 36 pname = "xformers"; ··· 43 43 owner = "facebookresearch"; 44 44 repo = "xformers"; 45 45 tag = "v${version}"; 46 - hash = "sha256-23tnhCHK+Z0No8fqZxkgDFp2VIgXZR4jpM+pkb/vvmw="; 47 46 fetchSubmodules = true; 47 + hash = "sha256-ozaw9z8qnGpZ28LQNtwmKeVnrn7KDWNeJKtT6g6Q/W0="; 48 48 }; 49 49 50 50 patches = [ ./0001-fix-allow-building-without-git.patch ]; ··· 117 117 # flash-attn 118 118 ]; 119 119 120 - meta = with lib; { 120 + meta = { 121 121 description = "Collection of composable Transformer building blocks"; 122 122 homepage = "https://github.com/facebookresearch/xformers"; 123 123 changelog = "https://github.com/facebookresearch/xformers/blob/${version}/CHANGELOG.md"; 124 - license = licenses.bsd3; 125 - maintainers = with maintainers; [ happysalada ]; 124 + license = lib.licenses.bsd3; 125 + maintainers = with lib.maintainers; [ happysalada ]; 126 + badPlatforms = [ 127 + # fatal error: 'omp.h' file not found 128 + lib.systems.inspect.patterns.isDarwin 129 + ]; 126 130 }; 127 131 }