Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / calysto-scheme / default.nix
blob1e0dc0cd102d579628b76afd3618a81ddf7ae4ba
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , metakernel
5 , pytestCheckHook
6 , yasi
7 }:
9 buildPythonPackage rec {
10   pname = "calysto-scheme";
11   version = "1.4.8";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "Calysto";
16     repo = "calysto_scheme";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-gTBXdjm6Ry6DpjO9tP+acYxM+DQDh4dZQF+pyXrUCiI=";
19   };
21   propagatedBuildInputs = [
22     yasi
23     metakernel
24   ];
26   nativeCheckInputs = [
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [ "calysto_scheme" ];
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   };