python312Packages.annoy: cleanup & mark as broken on darwin
This commit is contained in:
@@ -2,11 +2,16 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# nativeBuildInputs
|
||||
h5py,
|
||||
|
||||
# tests
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -14,8 +19,6 @@ buildPythonPackage rec {
|
||||
version = "1.17.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spotify";
|
||||
repo = "annoy";
|
||||
@@ -48,11 +51,15 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "annoy" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk";
|
||||
homepage = "https://github.com/spotify/annoy";
|
||||
changelog = "https://github.com/spotify/annoy/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ timokau ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ timokau ];
|
||||
badPlatforms = [
|
||||
# Several tests fail with AssertionError
|
||||
lib.systems.inspect.patterns.isDarwin
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user