Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
970 B · 55 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, fastprogress, fastcore, fastdownload, torch, torchvision, matplotlib, pillow, scikit-learn, scipy, spacy, pandas, requests, pythonOlder}:
buildPythonPackage rec { pname = "fastai"; version = "2.7.12"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-5ayA/0bdgHDGcKNI8xpkyF6hqR3DIMIQZIjzQzMoKRY="; };
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 = "The fastai deep learning library"; changelog = "https://github.com/fastai/fastai/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ rxiao ]; };}