depot/third_party/nixpkgs/pkgs/applications/science/biology/octopus/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

29 lines
752 B
Nix

{lib, stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, lzma, pkg-config}:
stdenv.mkDerivation rec {
pname = "octopus";
version = "0.7.0";
src = fetchFromGitHub {
owner = "luntergroup";
repo = "octopus";
rev = "v${version}";
sha256 = "0y3g0xc3x3adbcmds6hh60023pfv1qrz6ak7jd88fg9vxi9bdrfb";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ boost gmp htslib zlib lzma ];
postInstall = ''
mkdir $out/bin
mv $out/octopus $out/bin
'';
meta = with lib; {
description = "Bayesian haplotype-based mutation calling";
license = licenses.mit;
homepage = "https://github.com/luntergroup/octopus";
maintainers = with maintainers; [ jbedo ];
platforms = platforms.x86_64;
};
}