Files
nixpkgs/pkgs/development/python-modules/panel/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

62 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
bleach,
bokeh,
param,
pyviz-comms,
markdown,
pyct,
requests,
setuptools,
tqdm,
typing-extensions,
}:
buildPythonPackage rec {
pname = "panel";
version = "1.7.5";
format = "wheel";
# We fetch a wheel because while we can fetch the node
# artifacts using npm, the bundling invoked in setup.py
# tries to fetch even more artifacts
src = fetchPypi {
inherit pname version format;
hash = "sha256-HDtKM11W1aoM9dbhw2hKKX4kpiz5k0XF6euFUoN7l8M=";
dist = "py3";
python = "py3";
};
pythonRelaxDeps = [ "bokeh" ];
propagatedBuildInputs = [
bleach
bokeh
markdown
param
pyct
pyviz-comms
requests
setuptools
tqdm
typing-extensions
];
pythonImportsCheck = [ "panel" ];
# infinite recursion in test dependencies (hvplot)
doCheck = false;
meta = {
description = "High level dashboarding library for python visualization libraries";
mainProgram = "panel";
homepage = "https://github.com/holoviz/panel";
changelog = "https://github.com/holoviz/panel/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}