Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 62 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, niapy, numpy, pandas, poetry-core, pytestCheckHook, pythonOlder, pythonRelaxDepsHook, scikit-learn, toml-adapt,}:
buildPythonPackage rec { pname = "niaaml"; version = "2.0.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "lukapecnik"; repo = "NiaAML"; rev = "refs/tags/${version}"; hash = "sha256-d6UlpMrT0GBZlcD1BCZxInXTdyFMBVltxnSyUFbSy0g="; };
pythonRelaxDeps = [ "pandas" ];
nativeBuildInputs = [ poetry-core pythonRelaxDepsHook toml-adapt ];
propagatedBuildInputs = [ niapy numpy pandas scikit-learn ];
# create scikit-learn and niapy deps version consistent preBuild = '' toml-adapt -path pyproject.toml -a change -dep scikit-learn -ver X toml-adapt -path pyproject.toml -a change -dep niapy -ver X '';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "niaaml" ];
meta = with lib; { description = "Python automated machine learning framework"; homepage = "https://github.com/lukapecnik/NiaAML"; changelog = "https://github.com/lukapecnik/NiaAML/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ firefly-cpp ]; };}