Files
nixpkgs/pkgs/development/python-modules/fastcore/default.nix
T
2025-11-14 15:45:26 +00:00

38 lines
780 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
packaging,
setuptools,
}:
buildPythonPackage rec {
pname = "fastcore";
version = "1.8.16";
pyproject = true;
src = fetchFromGitHub {
owner = "fastai";
repo = "fastcore";
tag = version;
hash = "sha256-l06pX1WHhPHrfNYVKIAPxrKlSaPywPhldouvTHOciMc=";
};
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/${src.tag}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}