Diff: https://github.com/fastai/fastcore/compare/refs/tags/1.5.33...1.5.35 Changelog: https://github.com/fastai/fastcore/blob/1.5.35/CHANGELOG.md
42 lines
862 B
Nix
42 lines
862 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
packaging,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fastcore";
|
|
version = "1.5.35";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fastai";
|
|
repo = "fastcore";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-dhYmy7dAHmmRfC2mpn49UsE4+hpqMbB1PHGmrowCTIQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ packaging ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fastcore" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python module for Fast AI";
|
|
homepage = "https://github.com/fastai/fastcore";
|
|
changelog = "https://github.com/fastai/fastcore/blob/${version}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|