aboutsummaryrefslogtreecommitdiff
path: root/tools/bwa-mem2-app.nix
blob: b303485df7a8ecf09cf5d57512f454642ba3f4f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ clangStdenv, fetchFromGitHub, zlib }:
  clangStdenv.mkDerivation rec {
  pname = "bwa-mem2";
  version = "2.0";
  src = fetchFromGitHub {
    fetchSubmodules = true;
    owner = "bwa-mem2";
    repo = "bwa-mem2";
    rev = "v${version}";
    sha256 = "0q5wqal0nfxd3yfbmxahyaiqqmsrrplnwhplcjvz1xzw7bxwwnnj";
  };
  buildInputs = [ zlib ];
  installPhase = ''
    mkdir -p $out/bin
    cp bwa-mem2 $out/bin
  '';
  disableHardening = [ "pie" ];
}