ropebwt2: init at 0-unstable-2021-02-01
Tiddit dependency. GCC use is hardcoded in Makefile so CC is overridden to use clang on other platforms.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
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 = "ropebwwith lib; t2";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ apraga ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user