Files
2026-06-06 09:36:02 +07:00

49 lines
819 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
metakernel,
svgwrite,
ipywidgets,
cairosvg,
numpy,
}:
buildPythonPackage (finalAttrs: {
pname = "calysto";
version = "1.0.6";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "Calysto";
repo = "calysto";
tag = "v${finalAttrs.version}";
hash = "sha256-lr/cHFshpFs/PGMCsa3FKMRPTP+eE9ziH5XCpV+KzO8=";
};
build-system = [ setuptools ];
dependencies = [
metakernel
svgwrite
ipywidgets
cairosvg
numpy
];
# there are no tests
doCheck = false;
pythonImportsCheck = [ "calysto" ];
meta = {
description = "Tools for Jupyter and Python";
homepage = "https://github.com/Calysto/calysto";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})