Files
nixpkgs/pkgs/development/python-modules/fastcore/default.nix
T
2026-02-22 04:14:55 +00:00

38 lines
801 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
packaging,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "fastcore";
version = "1.12.16";
pyproject = true;
src = fetchFromGitHub {
owner = "fastai";
repo = "fastcore";
tag = finalAttrs.version;
hash = "sha256-E/f+bJ6p645ZdavmQ75sxBqEuM5Y7aKXN7mJA+554RA=";
};
build-system = [ setuptools ];
dependencies = [ packaging ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "fastcore" ];
meta = {
description = "Python module for Fast AI";
homepage = "https://github.com/fastai/fastcore";
changelog = "https://github.com/fastai/fastcore/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})