1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, jupyter-core
5, notebook
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "jupyter-contrib-core";
11 version = "0.4.2";
12
13 src = fetchFromGitHub {
14 owner = "jupyter-contrib";
15 repo = "jupyter_contrib_core";
16 rev = "refs/tags/${version}";
17 hash = "sha256-UTtK+aKxBFkqKuHrt1ox8vdHyFz/9HiKFl7U4UQcG88=";
18 };
19
20 propagatedBuildInputs = [
21 jupyter-core
22 notebook
23 ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 disabledTestPaths = [
28 # This test fails upstream too
29 "tests/test_application.py"
30 ];
31
32 pythonImportsCheck = [ "jupyter_contrib_core" ];
33
34 meta = with lib; {
35 description = "Common utilities for jupyter-contrib projects";
36 homepage = "https://github.com/jupyter-contrib/jupyter_contrib_core";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ GaetanLepage ];
39 };
40}