2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
metakernel,
|
|
|
|
pytestCheckHook,
|
|
|
|
yasi,
|
2023-04-12 12:48:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "calysto-scheme";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.4.8";
|
2023-04-12 12:48:02 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Calysto";
|
|
|
|
repo = "calysto_scheme";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-gTBXdjm6Ry6DpjO9tP+acYxM+DQDh4dZQF+pyXrUCiI=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
yasi
|
|
|
|
metakernel
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|