blob: 54f7eb044b7f193f567ad9de88352b3a076d2db1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ 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 = with lib; {
description = "Tools for Jupyter and Python";
homepage = "https://github.com/Calysto/calysto";
license = licenses.bsd2;
maintainers = with maintainers; [ kranzes ];
};
}
|