depot/third_party/nixpkgs/pkgs/development/python-modules/calysto-scheme/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

39 lines
851 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, metakernel
, pytestCheckHook
, yasi
}:
buildPythonPackage rec {
pname = "calysto-scheme";
version = "1.4.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "Calysto";
repo = "calysto_scheme";
rev = "v${version}";
hash = "sha256-5InImTbucggjf/tl8K31ZtLrwu5hqvggl7sYb0eqIEg=";
};
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 ];
};
}