14 buildPythonPackage rec {
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-YLCNLpg2qrdFon0/gdggJd9XovHwRHAdleBFQc18qzE=";
26 nativeCheckInputs = [ pytestCheckHook ];
27 # image tests download files over the network
28 pytestFlagsArray = [ "-sv" "--ignore=mlxtend/image" ];
29 # Fixed in master, but failing in release version
30 # see: https://github.com/rasbt/mlxtend/pull/721
31 disabledTests = [ "test_variance_explained_ratio" ];
33 propagatedBuildInputs = [
43 description = "A library of Python tools and extensions for data science";
44 homepage = "https://github.com/rasbt/mlxtend";
45 license= licenses.bsd3;
46 maintainers = with maintainers; [ evax ];
47 platforms = platforms.unix;
48 # incompatible with nixpkgs scikit-learn version