Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchPypi, fastprogress, fastcore, fastdownload, torchvision, matplotlib, pillow, scikit-learn, scipy, spacy, pandas, requests, pythonOlder,}:
buildPythonPackage rec { pname = "fastai"; version = "2.8.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-ix3Sp/IKj7BLmuuGd/763LB0llSUYAbMWJD8fvWe/u8="; };
propagatedBuildInputs = [ fastprogress fastcore fastdownload torchvision matplotlib pillow scikit-learn scipy spacy pandas requests ];
doCheck = false; pythonImportsCheck = [ "fastai" ];
meta = with lib; { homepage = "https://github.com/fastai/fastai"; description = "Fastai deep learning library"; mainProgram = "configure_accelerate"; changelog = "https://github.com/fastai/fastai/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ rxiao ]; };}