2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-highlight-selected-word";
|
|
|
|
version = "0.2.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jcb91";
|
|
|
|
repo = "jupyter_highlight_selected_word";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-KgM//SIfES46uZySwNR4ZOcolnJORltvThsmEvxXoIs=";
|
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
# This package does not have tests
|
|
|
|
doChecks = false;
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
pythonImportsCheck = [ "jupyter_highlight_selected_word" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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 = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ GaetanLepage ];
|
|
|
|
};
|
|
|
|
}
|