Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1016 B
Nix
57 lines
1016 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
fastprogress,
|
|
fastcore,
|
|
fastdownload,
|
|
torchvision,
|
|
matplotlib,
|
|
pillow,
|
|
scikit-learn,
|
|
scipy,
|
|
spacy,
|
|
pandas,
|
|
requests,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fastai";
|
|
version = "2.8.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-AmQoXZxnaNepeJzlw3A6jhIfVg9ABneRI4uV1WbkJY4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|