-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflake.nix
47 lines (45 loc) · 1.4 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
config.allowUnfree = true;
inherit system overlays; };
python = pkgs.python3;
overlays = [ (import rust-overlay) ];
rustVersion = pkgs.rust-bin.stable.latest.default;
gr-python = import ./nix/python.nix { inherit pkgs; };
in {
devShell = pkgs.mkShell {
buildInputs = [
(python.withPackages gr-python.packages)
(rustVersion.override { extensions = [ "rust-src" ]; } )
# missing: bioawk csvtk bedgraphtobigwig
pkgs.bcftools
pkgs.bedtools
pkgs.bwa
pkgs.bowtie2
pkgs.datamash
pkgs.emboss
pkgs.emboss
# pkgs.fastqr
pkgs.fastp
pkgs.freebayes
pkgs.hisat2
pkgs.mafft
pkgs.nix-prefetch
pkgs.parallel
pkgs.samtools
pkgs.seqkit
pkgs.snpeff
pkgs.subread
pkgs.sratoolkit
pkgs.trimmomatic
pkgs.wget
]; }; }); }