nixpkgs/pkgs/development/python-modules/calysto-scheme/default.nix

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