mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 14:16:35 +01:00
Diff: https://github.com/fastai/fastprogress/compare/1.1.3...1.1.5 Changelog: https://github.com/AnswerDotAI/fastprogress/blob/1.1.5/CHANGELOG.md
44 lines
928 B
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 ];
|
|
};
|
|
})
|