Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 64 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, fetchFromGitHub, isPy27, setuptools, pytestCheckHook, scipy, numpy, scikit-learn, pandas, matplotlib, joblib}:
buildPythonPackage rec { pname = "mlxtend"; version = "0.23.0"; pyproject = true;
disabled = isPy27;
src = fetchFromGitHub { owner = "rasbt"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-TUZ8SdQAOV1CaIlDl4uXYVHvdlEkOz6E48S3pUS6UE0="; };
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 = "A 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; };}