Commit 79a3ef01 authored by Weijia Wang's avatar Weijia Wang
Browse files

python312Packages.bokeh: cleanup

parent a8827e93
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchFromGitHub,
  pythonOlder,
  replaceVars,
  colorama,
@@ -56,13 +55,6 @@ buildPythonPackage rec {
    hash = "sha256-m4HWqepi51oEoanZ+TGUIBaJC+7Jq10SmipEMs9ZXAo=";
  };

  src_test = fetchFromGitHub {
    owner = "bokeh";
    repo = "bokeh";
    rev = "refs/tags/${version}";
    hash = "sha256-MAv+6bwc5f+jZasRDsYTJ/ir0i1pYCuwqPMumsYWvws=";
  };

  patches = [
    (replaceVars ./hardcode-nodejs-npmjs-paths.patch {
      node_bin = "${nodejs}/bin/node";
@@ -122,11 +114,8 @@ buildPythonPackage rec {
  ];

  doCheck = false; # need more work
  pytestFlagsArray = "tests/test_defaults.py";

  pythonImportsCheck = [ "bokeh" ];
  preCheck = ''
    cp -rv ''${src_test}/tests/* ./tests/
  '';

  meta = {
    description = "Statistical and novel interactive HTML plots for Python";