Files
nixpkgs/pkgs/development/python-modules/jupyter-contrib-core/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

44 lines
934 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
jupyter-core,
notebook,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jupyter-contrib-core";
version = "0.4.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "jupyter-contrib";
repo = "jupyter_contrib_core";
tag = version;
hash = "sha256-UTtK+aKxBFkqKuHrt1ox8vdHyFz/9HiKFl7U4UQcG88=";
};
propagatedBuildInputs = [
jupyter-core
notebook
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# This test fails upstream too
"tests/test_application.py"
];
pythonImportsCheck = [ "jupyter_contrib_core" ];
meta = {
description = "Common utilities for jupyter-contrib projects";
mainProgram = "jupyter-contrib";
homepage = "https://github.com/jupyter-contrib/jupyter_contrib_core";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}