Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.8 kB · 91 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatch-vcs, hatchling,
# dependencies colorcet, numpy, pandas, panel, param, pyviz-comms,
# tests pytestCheckHook, pytest-asyncio, flaky,}:
buildPythonPackage rec { pname = "holoviews"; version = "1.21.0"; pyproject = true;
src = fetchFromGitHub { owner = "holoviz"; repo = "holoviews"; tag = "v${version}"; hash = "sha256-JEGTfi4CaJaL/5AFtB92RV0DJvaIYVloukWKQSUFBZA="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace '"ignore:No data was collected:coverage.exceptions.CoverageWarning",' "" '';
build-system = [ hatch-vcs hatchling ];
dependencies = [ colorcet numpy pandas panel param pyviz-comms ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio flaky ];
pytestFlags = [ "-Wignore::FutureWarning" ];
disabledTests = [ # All the below fail due to some change in flaky API "test_periodic_param_fn_non_blocking" "test_callback_cleanup" "test_poly_edit_callback" "test_launch_server_with_complex_plot" "test_launch_server_with_stream" "test_launch_simple_server" "test_server_dynamicmap_with_dims" "test_server_dynamicmap_with_stream" "test_server_dynamicmap_with_stream_dims"
# ModuleNotFoundError: No module named 'param' "test_no_blocklist_imports" ];
pythonImportsCheck = [ "holoviews" ];
meta = { description = "Python data analysis and visualization seamless and simple"; changelog = "https://github.com/holoviz/holoviews/releases/tag/${src.tag}"; mainProgram = "holoviews"; homepage = "https://www.holoviews.org/"; license = lib.licenses.bsd3; maintainers = [ ]; };}