Skip to content

Commit cfaeb51

Browse files
DPI-2832 Pack plotly in nix
1 parent e339280 commit cfaeb51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{ pkgs ? import <nixpkgs> {}, displayrUtils }:
2+
3+
pkgs.rPackages.buildRPackage {
4+
name = "plotly";
5+
version = displayrUtils.extractRVersion (builtins.readFile ./DESCRIPTION);
6+
src = ./.;
7+
description = "Create interactive web graphics from 'ggplot2' graphs and/or a custom interface to the (MIT-licensed) JavaScript library 'plotly.js' inspired by the grammar of graphics.";
8+
propagatedBuildInputs = with pkgs.rPackages; [ tools scales httr jsonlite magrittr digest viridisLite base64enc htmltools htmlwidgets tidyr RColorBrewer dplyr vctrs tibble lazyeval rlang crosstalk purrr data_table promises ];
9+
10+
}

0 commit comments

Comments
 (0)