Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / jupyter-contrib-core / default.nix
bloba81c354974307884784f0a83dda4756cbed16636
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , jupyter-core
5 , notebook
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "jupyter-contrib-core";
11   version = "0.4.2";
13   src = fetchFromGitHub {
14     owner = "jupyter-contrib";
15     repo = "jupyter_contrib_core";
16     rev = "refs/tags/${version}";
17     hash = "sha256-UTtK+aKxBFkqKuHrt1ox8vdHyFz/9HiKFl7U4UQcG88=";
18   };
20   propagatedBuildInputs = [
21     jupyter-core
22     notebook
23   ];
25   nativeCheckInputs = [ pytestCheckHook ];
27   disabledTestPaths = [
28     # This test fails upstream too
29     "tests/test_application.py"
30   ];
32   pythonImportsCheck = [ "jupyter_contrib_core" ];
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   };