mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
Diff: https://github.com/fastai/fastcore/compare/1.14.5...2.2.13 Changelog: https://github.com/fastai/fastcore/blob/2.2.13/CHANGELOG.md
38 lines
800 B
Nix
38 lines
800 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
packaging,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "fastcore";
|
|
version = "2.2.13";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fastai";
|
|
repo = "fastcore";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-m+LCtC80uBAPv2LYhYcMFkI7ZJ6y32BinoiABpmKykM=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|