lol

python312Packages.annoy: cleanup & mark as broken on darwin

+14 -7
+14 -7
pkgs/development/python-modules/annoy/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + 6 + # build-system 7 + setuptools, 8 + 9 + # nativeBuildInputs 5 10 h5py, 11 + 12 + # tests 6 13 numpy, 7 14 pytestCheckHook, 8 - pythonOlder, 9 - setuptools, 10 15 }: 11 16 12 17 buildPythonPackage rec { 13 18 pname = "annoy"; 14 19 version = "1.17.3"; 15 20 pyproject = true; 16 - 17 - disabled = pythonOlder "3.7"; 18 21 19 22 src = fetchFromGitHub { 20 23 owner = "spotify"; ··· 48 51 49 52 pythonImportsCheck = [ "annoy" ]; 50 53 51 - meta = with lib; { 54 + meta = { 52 55 description = "Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk"; 53 56 homepage = "https://github.com/spotify/annoy"; 54 57 changelog = "https://github.com/spotify/annoy/releases/tag/v${version}"; 55 - license = licenses.asl20; 56 - maintainers = with maintainers; [ timokau ]; 58 + license = lib.licenses.asl20; 59 + maintainers = with lib.maintainers; [ timokau ]; 60 + badPlatforms = [ 61 + # Several tests fail with AssertionError 62 + lib.systems.inspect.patterns.isDarwin 63 + ]; 57 64 }; 58 65 }