summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/calysto-scheme/default.nix
blob: a514a15ea0d39e5f4452369145ef521b59f38219 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  metakernel,
  pytestCheckHook,
  yasi,
}:

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

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

  propagatedBuildInputs = [
    yasi
    metakernel
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "calysto_scheme" ];

  meta = {
    description = "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 = lib.licenses.bsd3;
    maintainers = [ ];
  };
}