Files
nixpkgs/pkgs/development/python-modules/jupyter-highlight-selected-word/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

31 lines
785 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "jupyter-highlight-selected-word";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "jcb91";
repo = "jupyter_highlight_selected_word";
tag = version;
hash = "sha256-KgM//SIfES46uZySwNR4ZOcolnJORltvThsmEvxXoIs=";
};
# This package does not have tests
doChecks = false;
pythonImportsCheck = [ "jupyter_highlight_selected_word" ];
meta = {
description = "Jupyter notebook extension that enables highlighting every instance of the current word in the notebook";
homepage = "https://github.com/jcb91/jupyter_highlight_selected_word";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}