2024-07-09 18:36:38 +02:00
|
|
|
{
|
|
|
|
description = "Flake study docker longevity";
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-11 13:35:54 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/23.11";
|
2024-07-09 18:36:38 +02:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2024-07-20 15:41:56 +02:00
|
|
|
kapack.url = "github:oar-team/nur-kapack";
|
|
|
|
kapack.inputs.nixpkgs.follows = "nixpkgs";
|
2024-07-09 18:36:38 +02:00
|
|
|
};
|
|
|
|
|
2024-07-20 15:41:56 +02:00
|
|
|
outputs = { self, nixpkgs, flake-utils, kapack }:
|
2024-07-09 18:36:38 +02:00
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
2024-07-20 15:41:56 +02:00
|
|
|
kapkgs = kapack.packages.${system};
|
2024-07-09 18:36:38 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells = {
|
|
|
|
default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
2024-07-11 13:35:54 +02:00
|
|
|
snakemake
|
|
|
|
gawk
|
2024-08-07 11:22:54 +02:00
|
|
|
gnused
|
2024-07-11 16:05:08 +02:00
|
|
|
nickel
|
2024-07-30 18:06:16 +02:00
|
|
|
graphviz
|
2024-07-20 15:41:56 +02:00
|
|
|
# TODO separate into several shells
|
2024-07-09 18:36:38 +02:00
|
|
|
(python3.withPackages (ps: with ps; [
|
|
|
|
requests
|
2024-07-20 15:41:56 +02:00
|
|
|
kapkgs.execo
|
2024-07-09 18:36:38 +02:00
|
|
|
]))
|
2024-08-09 18:31:17 +02:00
|
|
|
(rWrapper.override { packages = with rPackages; [ tidyverse reshape2 ]; })
|
2024-07-09 18:36:38 +02:00
|
|
|
];
|
|
|
|
};
|
2024-08-01 17:49:41 +02:00
|
|
|
latex = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
|
|
|
texliveFull
|
|
|
|
rubber
|
|
|
|
];
|
|
|
|
};
|
2024-07-09 18:36:38 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|