Skip to content

Commit 6b7111f

Browse files
Merge pull request #23 from Displayr/DPI-2832
DPI-2832: Pack plotly in nix
2 parents e339280 + 8ff12e2 commit 6b7111f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

package.nix

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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; [
9+
ggplot2
10+
scales
11+
httr
12+
jsonlite
13+
magrittr
14+
digest
15+
viridisLite
16+
base64enc
17+
htmltools
18+
htmlwidgets
19+
tidyr
20+
RColorBrewer
21+
dplyr
22+
vctrs
23+
tibble
24+
lazyeval
25+
rlang
26+
crosstalk
27+
purrr
28+
data_table
29+
promises
30+
];
31+
32+
}

0 commit comments

Comments
 (0)