about summary refs log tree commit diff
path: root/pkgs/development/python-modules/panel
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2019-02-24 10:24:42 -0500
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2019-02-24 18:52:42 -0500
commit5785c2c5ba91823a379db68519bf910ac5fee6d4 (patch)
tree0d65b2228e32457d3d5cd259538a89bf619ae69d /pkgs/development/python-modules/panel
parent0bf877b23a5fb14868cd2aaab174d79fa59ea02e (diff)
pythonPackages.panel: init at 0.4.0
Diffstat (limited to 'pkgs/development/python-modules/panel')
-rw-r--r--pkgs/development/python-modules/panel/default.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/panel/default.nix b/pkgs/development/python-modules/panel/default.nix
new file mode 100644
index 0000000000000..821a543eeb179
--- /dev/null
+++ b/pkgs/development/python-modules/panel/default.nix
@@ -0,0 +1,50 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, bokeh
+, param
+, pyviz-comms
+, markdown
+, pyct
+, testpath
+, pytest
+, scipy
+, plotly
+, altair
+, vega_datasets
+, hvplot
+}:
+
+buildPythonPackage rec {
+  pname = "panel";
+  version = "0.4.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "21fc6729909dba4ba8c9a84b7fadd293322cc2594d15ac73b0f66a5ceffd1f98";
+  };
+
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "testpath<0.4" "testpath"
+  '';
+
+  propagatedBuildInputs = [
+    bokeh
+    param
+    pyviz-comms
+    markdown
+    pyct
+    testpath
+  ];
+
+  # infinite recursion in test dependencies (hvplot)
+  doCheck = false;
+
+  meta = with lib; {
+    description = "A high level dashboarding library for python visualization libraries";
+    homepage = http://pyviz.org;
+    license = licenses.bsd3;
+    maintainers = [ maintainers.costrouc ];
+  };
+}