mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
196f141973
Genomic tool to call structural variations. This packages requires 2 executables,packaging fermi2, bwt2, that are packaged in the same derivation and added to the path later on.
34 lines
809 B
Nix
34 lines
809 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
zlib,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
name = "ropebwt2";
|
|
version = "0-unstable-2021-02-01";
|
|
src = fetchFromGitHub {
|
|
owner = "lh3";
|
|
repo = "ropebwt2";
|
|
rev = "bd8dbd3db2e9e3cff74acc2907c0742c9ebbf033";
|
|
hash = "sha256-R/VvbprwcfXF2TBZOYmc1MU3AzCcXFfWCHoYYumXtI8=";
|
|
};
|
|
buildInputs = [ zlib ];
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm755 ropebwt2 -t $out/bin
|
|
|
|
runHook postInstall
|
|
'';
|
|
meta = {
|
|
homepage = "https://github.com/lh3/ropebwt2";
|
|
description = "Incremental construction of FM-index for DNA sequences";
|
|
mainProgram = "ropebwt2";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ apraga ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|