Files
nixpkgs/pkgs/development/python-modules/calysto-scheme/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
849 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";
tag = "v${version}";
hash = "sha256-gTBXdjm6Ry6DpjO9tP+acYxM+DQDh4dZQF+pyXrUCiI=";
};
propagatedBuildInputs = [
yasi
metakernel
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "calysto_scheme" ];
meta = {
description = "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 = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ kranzes ];
};
}