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