depot/third_party/nixpkgs/pkgs/development/python-modules/calysto-scheme/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

39 lines
861 B
Nix

{ 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 ];
};
}