Files
nixpkgs/pkgs/development/python-modules/calysto/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

44 lines
765 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
metakernel,
svgwrite,
ipywidgets,
cairosvg,
numpy,
}:
buildPythonPackage rec {
pname = "calysto";
version = "1.0.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "Calysto";
repo = "calysto";
rev = "v${version}";
hash = "sha256-lr/cHFshpFs/PGMCsa3FKMRPTP+eE9ziH5XCpV+KzO8=";
};
propagatedBuildInputs = [
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 = with lib.maintainers; [ kranzes ];
};
}