File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[ ![ DOI] ( https://zenodo.org/badge/306332649.svg )] ( https://zenodo.org/badge/latestdoi/306332649 )
22[ ![ DOI] ( https://zenodo.org/badge/DOI/10.5281/zenodo.15733817.svg )] ( https://doi.org/10.5281/zenodo.15733817 )
33
4- ![ R-CMD-check] ( https://github.com/WonLab-CS/Vesalius/actions/workflows/R-CMD-check.yml /badge.svg?branch=main )
4+ ![ R-CMD-check] ( https://github.com/WonLab-CS/Vesalius/actions/workflows/R-CMD-check.yaml /badge.svg?branch=main )
55
66# Vesalius
77
Original file line number Diff line number Diff line change 1+ {
2+ description = "Vesalius Development Shell" ;
3+
4+ inputs = {
5+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-25.05" ;
6+ flake-utils . url = "github:numtide/flake-utils" ;
7+ } ;
8+
9+ outputs = { self , nixpkgs , flake-utils } :
10+ flake-utils . lib . eachDefaultSystem ( system :
11+ let
12+ pkgs = import nixpkgs { inherit system ; } ;
13+
14+ rpkgs = builtins . attrValues {
15+ inherit ( pkgs . rPackages )
16+ deldir
17+ sp
18+ tvR
19+ Matrix
20+ RColorBrewer
21+ future
22+ future_apply
23+ imagerExtra
24+ Signac
25+ ggpubr
26+ lmtest
27+ infix
28+ Seurat
29+ SeuratObject
30+ imager
31+ DESeq2
32+ RANN
33+ dplyr
34+ edgeR
35+ ggplot2
36+ igraph
37+ pwr
38+ purrr
39+ patchwork
40+ ggnewscale
41+ kohonen
42+ Rcpp
43+ RcppEigen
44+ TreeDist
45+ devtools
46+ tidyr ;
47+ } ;
48+
49+
50+
51+ system_packages = builtins . attrValues {
52+ inherit ( pkgs )
53+ glibcLocales
54+ nix
55+ R
56+ pandoc
57+ which ;
58+ } ;
59+ in
60+ {
61+ devShells . default = pkgs . mkShell {
62+ LOCALE_ARCHIVE = if pkgs . stdenv . hostPlatform . system == "x86_64-linux" then "${ pkgs . glibcLocales } /lib/locale/locale-archive" else "" ;
63+ LANG = "en_US.UTF-8" ;
64+ LC_ALL = "en_US.UTF-8" ;
65+ LC_TIME = "en_US.UTF-8" ;
66+ LC_MONETARY = "en_US.UTF-8" ;
67+ LC_PAPER = "en_US.UTF-8" ;
68+ LC_MEASUREMENT = "en_US.UTF-8" ;
69+
70+ buildInputs = rpkgs ++ system_packages ;
71+ shellHook = ''
72+ echo "Vesalius Shell activated"
73+
74+ '' ;
75+ } ;
76+ }
77+ ) ;
78+ }
You can’t perform that action at this time.
0 commit comments