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