mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
fermi2: init at unstable-2021-05-21
Tiddit dependency.
This commit is contained in:
parent
81bfbe3d82
commit
602605237b
34
pkgs/by-name/fe/fermi2/package.nix
Normal file
34
pkgs/by-name/fe/fermi2/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
zlib,
|
||||
stdenv,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "fermi2";
|
||||
version = "0.1-unstable-2021-05-21";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lh3";
|
||||
repo = "fermi2";
|
||||
rev = "cb1410972b2bd330883823116931ae67ead8b30f";
|
||||
hash = "sha256-jDn1OBuGWDMEHI5A3R9meOykEGM6yjItSnUpx36DxgA=";
|
||||
};
|
||||
buildInputs = [ zlib ];
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 fermi2 -t $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
meta = {
|
||||
homepage = "https://github.com/lh3/fermi2";
|
||||
description = "Successor of fermi, a whole genome de novo assembler based on the FMD-index for large genomes";
|
||||
mainProgram = "fermi2";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ apraga ];
|
||||
platforms = lib.intersectLists lib.platforms.x86_64 lib.platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user