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