Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchFromGitHub, isPy27, setuptools, pytestCheckHook, scipy, numpy, scikit-learn, pandas, matplotlib, joblib,}:
buildPythonPackage rec { pname = "mlxtend"; version = "0.23.1"; pyproject = true;
disabled = isPy27;
src = fetchFromGitHub { owner = "rasbt"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-FlP6UqX/Ejk9c3Enm0EJ0xqy7iOhDlFqjWWxd4VIczQ="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ scipy numpy scikit-learn pandas matplotlib joblib ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "-sv" ];
disabledTestPaths = [ # image tests download files over the network "mlxtend/image" ];
meta = with lib; { description = "Library of Python tools and extensions for data science"; homepage = "https://github.com/rasbt/mlxtend"; license = licenses.bsd3; maintainers = with maintainers; [ evax ]; platforms = platforms.unix; # incompatible with nixpkgs scikit-learn version broken = true; };}