this repo has no description
at main 93 lines 1.7 kB view raw
1{ 2 description = "This flake manages the Underrepresentation Theory project."; 3 4 inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; 5 6 outputs = inputs: 7 let 8 supportedSystems = [ 9 "x86_64-linux" 10 "aarch64-linux" 11 "x86_64-darwin" 12 "aarch64-darwin" 13 ]; 14 forEachSupportedSystem = f: inputs.nixpkgs.lib.genAttrs supportedSystems (system: f { 15 pkgs = import inputs.nixpkgs { inherit system; }; 16 }); 17 in { 18 devShells = forEachSupportedSystem ({ pkgs }: { 19 default = pkgs.mkShell { 20 venvDir = ".venv"; 21 packages = let 22 myRPackages = with pkgs.rPackages; [ 23 bslib 24 Matrix 25 SnowballC 26 TDA 27 deldir 28 dplyr 29 feather 30 flexdashboard 31 ggplot2 32 gutenbergr 33 jsonlite 34 lsa 35 pagedown 36 plotly 37 readr 38 remotes 39 resampledata 40 reshape2 41 reticulate 42 rhdf5 43 rmarkdown 44 rsconnect 45 s2 46 scales 47 sf 48 shiny 49 shinydashboard 50 shinylive 51 showtext 52 showtextdb 53 stringr 54 sysfonts 55 textdata 56 tidyr 57 tidytext 58 tidyverse 59 tinytex 60 units 61 word2vec 62 wordcloud 63 viridis 64 ]; 65 myPythonPackages = with pkgs.python313Packages; [ 66 colorama 67 ipykernel 68 jupyter-core 69 jupyterlab 70 matplotlib 71 numpy 72 openpyxl 73 pandas 74 pip 75 plotly 76 scipy 77 seaborn 78 statistics 79 tables 80 venvShellHook 81 ]; 82 in with pkgs; [ 83 git-lfs 84 R 85 rstudio 86 rounded-mgenplus 87 poetry 88 python313 89 ] ++ myRPackages ++ myPythonPackages; 90 }; 91 }); 92 }; 93}