nixpkgs/pkgs/development/python-modules/fastprogress/default.nix

44 lines
928 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
fastcore,
numpy,
fasthtml,
ipython,
}:
buildPythonPackage (finalAttrs: {
pname = "fastprogress";
version = "1.1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "fastai";
repo = "fastprogress";
tag = finalAttrs.version;
hash = "sha256-n4FwOgxYn2JWlF8VwtO7m7mOXg1l27lT/3Rd+GeDlvw=";
};
build-system = [ setuptools ];
dependencies = [
fastcore
numpy
fasthtml
ipython
];
# no real tests
doCheck = false;
pythonImportsCheck = [ "fastprogress" ];
meta = {
homepage = "https://github.com/fastai/fastprogress";
changelog = "https://github.com/AnswerDotAI/fastprogress/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Simple and flexible progress bar for Jupyter Notebook and console";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ris ];
};
})