at 24.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 isPy27, 6 setuptools, 7 pytestCheckHook, 8 scipy, 9 numpy, 10 scikit-learn, 11 pandas, 12 matplotlib, 13 joblib, 14}: 15 16buildPythonPackage rec { 17 pname = "mlxtend"; 18 version = "0.23.1"; 19 pyproject = true; 20 21 disabled = isPy27; 22 23 src = fetchFromGitHub { 24 owner = "rasbt"; 25 repo = pname; 26 rev = "refs/tags/v${version}"; 27 hash = "sha256-FlP6UqX/Ejk9c3Enm0EJ0xqy7iOhDlFqjWWxd4VIczQ="; 28 }; 29 30 nativeBuildInputs = [ setuptools ]; 31 32 propagatedBuildInputs = [ 33 scipy 34 numpy 35 scikit-learn 36 pandas 37 matplotlib 38 joblib 39 ]; 40 41 nativeCheckInputs = [ pytestCheckHook ]; 42 43 pytestFlagsArray = [ "-sv" ]; 44 45 disabledTestPaths = [ 46 # image tests download files over the network 47 "mlxtend/image" 48 ]; 49 50 meta = with lib; { 51 description = "A library of Python tools and extensions for data science"; 52 homepage = "https://github.com/rasbt/mlxtend"; 53 license = licenses.bsd3; 54 maintainers = with maintainers; [ evax ]; 55 platforms = platforms.unix; 56 # incompatible with nixpkgs scikit-learn version 57 broken = true; 58 }; 59}