1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 metakernel,
6 pytestCheckHook,
7 yasi,
8}:
9
10buildPythonPackage rec {
11 pname = "calysto-scheme";
12 version = "1.4.8";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "Calysto";
17 repo = "calysto_scheme";
18 tag = "v${version}";
19 hash = "sha256-gTBXdjm6Ry6DpjO9tP+acYxM+DQDh4dZQF+pyXrUCiI=";
20 };
21
22 propagatedBuildInputs = [
23 yasi
24 metakernel
25 ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 pythonImportsCheck = [ "calysto_scheme" ];
30
31 meta = with lib; {
32 description = "Scheme kernel for Jupyter that can use Python libraries";
33 homepage = "https://github.com/Calysto/calysto_scheme";
34 changelog = "https://github.com/Calysto/calysto_scheme/blob/${src.rev}/ChangeLog.md";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ kranzes ];
37 };
38}