bwa: include static library and some key headers in output

This commit is contained in:
Robert Scott 2020-09-19 01:59:07 +01:00
parent 770ecb1d31
commit f1d2491057

View file

@ -11,8 +11,15 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ];
# it's unclear which headers are intended to be part of the public interface
# so we may find ourselves having to add more here over time
installPhase = ''
install -vD bwa $out/bin/bwa
install -vD -t $out/bin bwa
install -vD -t $out/lib libbwa.a
install -vD -t $out/include bntseq.h
install -vD -t $out/include bwa.h
install -vD -t $out/include bwamem.h
install -vD -t $out/include bwt.h
'';
meta = with stdenv.lib; {