blob: c668dc66af97ad1c4bfd8826b9ab86bb43b4f3e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ clangStdenv, fetchFromGitHub, zlib }:
clangStdenv.mkDerivation rec {
pname = "bwa-mem2";
version = "2.2.1";
src = fetchFromGitHub {
fetchSubmodules = true;
owner = "bwa-mem2";
repo = "bwa-mem2";
rev = "v${version}";
sha256 = "sha256-2wDhtTlxIsJAlQ+Z72kmwbVqD9GZnd845eIRYMxOzgU=";
};
buildInputs = [ zlib ];
installPhase = ''
mkdir -p $out/bin
cp bwa-mem2 bwa-mem2.* $out/bin
'';
NIX_CFLAGS_COMPILE = "-Wno-register -Wno-implicit-function-declaration";
}
|