Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 packaging, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "fastcore"; 12 version = "1.5.55"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "fastai"; 19 repo = "fastcore"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-PjJYlOXiH9PBjv9mNe3PuXC7S95JXqOHQtrYFezGBpk="; 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/${version}/CHANGELOG.md"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}