aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: 25bbf34d4e57b81d266a90785e2d6f8330c54504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{nixpkgs ? import <nixpkgs> {}}:

let
  bionix = nixpkgs.lib.makeExtensible (self:
    let callBionix = file: import file { bionix = self; nixpkgs = nixpkgs; };
    in with self; {
      bwa = callBionix ./tools/bwa.nix;
      fastqc = callBionix ./tools/fastqc.nix;
      gridss = callBionix ./tools/gridss.nix;
      mosdepth = callBionix ./tools/mosdepth.nix;
      platypus = callBionix ./tools/platypus.nix;
      ref = callBionix ./references.nix;
      samtools = callBionix ./tools/samtools.nix;
      strelka = callBionix ./tools/strelka.nix;

      qsub = nixpkgs.callPackage ./lib/qsub.nix {};
  });
in bionix