study-docker-repro-longevity/flake.nix

41 lines
966 B
Nix
Raw Normal View History

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
nickel
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-01 17:49:41 +02:00
latex = pkgs.mkShell {
packages = with pkgs; [
texliveFull
rubber
];
};
2024-07-09 18:36:38 +02:00
};
});
}