Files
nixpkgs/pkgs/by-name/bi/bio-gappa/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

60 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
autoconf,
pkg-config,
libz,
bzip2,
xz,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bio-gappa";
version = "0.9.0";
src = fetchFromGitHub {
owner = "lczech";
repo = "gappa";
tag = "v${finalAttrs.version}";
hash = "sha256-WV8PO0v+e14tyjEm+xQGveQ0Pslgeh+osEMCqF8mue0=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
autoconf
];
buildInputs = [
libz
bzip2
xz
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -Dm755 ../bin/gappa $out/bin/gappa
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/lczech/gappa";
description = "Toolkit for analyzing and visualizing phylogenetic (placement) data";
longDescription = ''
gappa is a collection of commands for working with phylogenetic data. Its
main focus are evolutionary placements of short environmental sequences
on a reference phylogenetic tree. Such data are typically produced by
tools such as EPA-ng, RAxML-EPA or pplacer, and usually stored in jplace
files.
'';
platforms = platforms.all;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ bzizou ];
mainProgram = "gappa";
};
})