1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 metakernel,
6 svgwrite,
7 ipywidgets,
8 cairosvg,
9 numpy,
10}:
11
12buildPythonPackage rec {
13 pname = "calysto";
14 version = "1.0.6";
15 format = "setuptools";
16
17 src = fetchFromGitHub {
18 owner = "Calysto";
19 repo = "calysto";
20 rev = "v${version}";
21 hash = "sha256-lr/cHFshpFs/PGMCsa3FKMRPTP+eE9ziH5XCpV+KzO8=";
22 };
23
24 propagatedBuildInputs = [
25 metakernel
26 svgwrite
27 ipywidgets
28 cairosvg
29 numpy
30 ];
31
32 # there are no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "calysto" ];
36
37 meta = with lib; {
38 description = "Tools for Jupyter and Python";
39 homepage = "https://github.com/Calysto/calysto";
40 license = licenses.bsd2;
41 maintainers = with maintainers; [ kranzes ];
42 };
43}