about summary refs log tree commit diff
path: root/pkgs/development/python-modules/calysto-scheme/default.nix
blob: 1e0dc0cd102d579628b76afd3618a81ddf7ae4ba (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
{ lib
, buildPythonPackage
, fetchFromGitHub
, metakernel
, pytestCheckHook
, yasi
}:

buildPythonPackage rec {
  pname = "calysto-scheme";
  version = "1.4.8";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Calysto";
    repo = "calysto_scheme";
    rev = "refs/tags/v${version}";
    hash = "sha256-gTBXdjm6Ry6DpjO9tP+acYxM+DQDh4dZQF+pyXrUCiI=";
  };

  propagatedBuildInputs = [
    yasi
    metakernel
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "calysto_scheme" ];

  meta = with lib; {
    description = "A Scheme kernel for Jupyter that can use Python libraries";
    homepage = "https://github.com/Calysto/calysto_scheme";
    changelog = "https://github.com/Calysto/calysto_scheme/blob/${src.rev}/ChangeLog.md";
    license = licenses.bsd3;
    maintainers = with maintainers; [ kranzes ];
  };
}