Files
nixpkgs/pkgs/development/python-modules/fastcore/default.nix
T

38 lines
777 B
Nix

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