Skip to content

Commit

Permalink
bio-gappa: init at 0.8.4
Browse files Browse the repository at this point in the history
Update pkgs/by-name/bi/bio-gappa/package.nix

Co-authored-by: Aleksana <[email protected]>

Update pkgs/by-name/bi/bio-gappa/package.nix

Co-authored-by: Aleksana <[email protected]>

Update pkgs/by-name/bi/bio-gappa/package.nix

Co-authored-by: Aleksana <[email protected]>

Fixed package name

Update pkgs/by-name/bi/bio-gappa/package.nix

Co-authored-by: Arne Keller <[email protected]>

Update pkgs/by-name/bi/bio-gappa/package.nix

Co-authored-by: Arne Keller <[email protected]>

Reformatted with nixfmt-rfc-style
  • Loading branch information
bzizou authored and mkg20001 committed Dec 17, 2024
1 parent 0bb416b commit f82a739
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions pkgs/by-name/bi/bio-gappa/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
autoconf,
pkg-config,
libz,
bzip2,
xz,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "bio-gappa";
version = "0.8.4";

src = fetchFromGitHub {
owner = "lczech";
repo = "gappa";
rev = "v${finalAttrs.version}";
hash = "sha256-VAp9e5Cu3tTeWSOTZ8kPG1eOyocYZiJsy/s+MWbCMLI=";
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";
};
})

0 comments on commit f82a739

Please sign in to comment.