nixpkgs/pkgs/applications/science/biology/octopus/default.nix

30 lines
747 B
Nix
Raw Normal View History

2021-05-09 22:09:08 +00:00
{lib, stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, xz, pkg-config}:
2019-06-17 01:59:30 +00:00
stdenv.mkDerivation rec {
pname = "octopus";
2021-05-09 22:09:08 +00:00
version = "0.7.4";
2019-06-17 01:59:30 +00:00
src = fetchFromGitHub {
owner = "luntergroup";
repo = "octopus";
rev = "v${version}";
2021-05-09 22:09:08 +00:00
sha256 = "sha256-FAogksVxUlzMlC0BqRu22Vchj6VX+8yNlHRLyb3g1sE=";
2019-06-17 01:59:30 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
2021-03-14 18:12:53 +00:00
buildInputs = [ boost gmp htslib zlib xz ];
2019-06-17 01:59:30 +00:00
postInstall = ''
mkdir $out/bin
mv $out/octopus $out/bin
'';
meta = with lib; {
2019-06-17 01:59:30 +00:00
description = "Bayesian haplotype-based mutation calling";
license = licenses.mit;
homepage = "https://github.com/luntergroup/octopus";
maintainers = with maintainers; [ jbedo ];
platforms = platforms.x86_64;
};
}