Files
nixpkgs/pkgs/by-name/fe/fermi2/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
891 B
Nix

{
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;
};
}