1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 packaging, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "fastcore"; 12 version = "1.8.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "fastai"; 19 repo = "fastcore"; 20 tag = version; 21 hash = "sha256-GoOddw2kxOMqmV6m8E6vWdpFLyGGkooMtgE1WTAWm7U="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ packaging ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "fastcore" ]; 32 33 meta = with lib; { 34 description = "Python module for Fast AI"; 35 homepage = "https://github.com/fastai/fastcore"; 36 changelog = "https://github.com/fastai/fastcore/blob/${src.tag}/CHANGELOG.md"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}