emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / holoviews / default.nix
blobdfadc6952ea4c9156fbaf32d7bbdef8fccc79ebb
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   hatch-vcs,
9   hatchling,
11   # dependencies
12   colorcet,
13   numpy,
14   pandas,
15   panel,
16   param,
17   pyviz-comms,
19   # tests
20   pytestCheckHook,
21   pytest-cov,
22   flaky,
25 buildPythonPackage rec {
26   pname = "holoviews";
27   version = "1.19.1";
28   pyproject = true;
30   disabled = pythonOlder "3.9";
32   src = fetchPypi {
33     inherit pname version;
34     hash = "sha256-uehejAcnWkVsDvjQa8FX0Cs37/Zvs2AqoS9chvCEhlw=";
35   };
37   build-system = [
38     hatch-vcs
39     hatchling
40   ];
42   dependencies = [
43     colorcet
44     numpy
45     pandas
46     panel
47     param
48     pyviz-comms
49   ];
51   nativeCheckInputs = [
52     pytestCheckHook
53     pytest-cov
54     flaky
55   ];
57   disabledTests = [
58     # All the below fail due to some change in flaky API
59     "test_periodic_param_fn_non_blocking"
60     "test_callback_cleanup"
61     "test_poly_edit_callback"
62     "test_launch_server_with_complex_plot"
63     "test_launch_server_with_stream"
64     "test_launch_simple_server"
65     "test_server_dynamicmap_with_dims"
66     "test_server_dynamicmap_with_stream"
67     "test_server_dynamicmap_with_stream_dims"
68   ];
70   pythonImportsCheck = [ "holoviews" ];
72   meta = {
73     description = "Python data analysis and visualization seamless and simple";
74     mainProgram = "holoviews";
75     homepage = "https://www.holoviews.org/";
76     license = lib.licenses.bsd3;
77     maintainers = [ ];
78   };