3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/minia/default.nix

34 lines
785 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, hdf5, boost }:
2019-12-18 06:18:00 +00:00
stdenv.mkDerivation rec {
pname = "minia";
version = "3.2.1";
src = fetchFromGitHub {
owner = "GATB";
repo = "minia";
rev = "v${version}";
sha256 = "0bmfrywixaaql898l0ixsfkhxjf2hb08ssnqzlzacfizxdp46siq";
fetchSubmodules = true;
};
patches = [ ./no-bundle.patch ];
NIX_CFLAGS_COMPILE = [ "-Wformat" ];
nativeBuildInputs = [ cmake ];
buildInputs = [ hdf5 boost ];
prePatch = ''
rm -rf thirdparty/gatb-core/gatb-core/thirdparty/{hdf5,boost}
'';
meta = with lib; {
2019-12-18 06:18:00 +00:00
description = "Short read genome assembler";
homepage = "https://github.com/GATB/minia";
license = licenses.agpl3;
maintainers = with maintainers; [ jbedo ];
platforms = [ "x86_64-linux" ];
};
}