diff options
Diffstat (limited to 'pkgs/applications/science/biology/veryfasttree/default.nix')
-rw-r--r-- | pkgs/applications/science/biology/veryfasttree/default.nix | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/pkgs/applications/science/biology/veryfasttree/default.nix b/pkgs/applications/science/biology/veryfasttree/default.nix index 6f46524a5ba..e29b2da0fc4 100644 --- a/pkgs/applications/science/biology/veryfasttree/default.nix +++ b/pkgs/applications/science/biology/veryfasttree/default.nix @@ -1,28 +1,37 @@ -{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages}: +{ lib +, stdenv +, fetchFromGitHub +, cmake +, llvmPackages +}: -stdenv.mkDerivation rec { - pname = "veryfasttree"; - version = "4.0.1"; +stdenv.mkDerivation (finalAttrs: { + pname = "veryfasttree"; + version = "4.0.2"; src = fetchFromGitHub { owner = "citiususc"; - repo = pname; - rev = "v${version}"; - hash = "sha256-fv5ovi180Osok5GYJEidjMqmL8gZKUcxrcCQ/00lvi4="; + repo = "veryfasttree"; + rev = "v${finalAttrs.version}"; + hash = "sha256-JMBhSxfGO3qz7Yl4s5r6zWHFefXGzu0ktEJdRUh/Uqg="; }; nativeBuildInputs = [ cmake ]; buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp; installPhase = '' + runHook preInstall + install -m755 -D VeryFastTree $out/bin/VeryFastTree + + runHook postInstall ''; - meta = with lib; { + meta = { description = "Speeding up the estimation of phylogenetic trees for large alignments through parallelization and vectorization strategies"; - license = licenses.gpl3Plus; - homepage = "https://github.com/citiususc/veryfasttree"; - maintainers = with maintainers; [ thyol ]; - platforms = platforms.all; + homepage = "https://github.com/citiususc/veryfasttree"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ thyol ]; + platforms = lib.platforms.all; }; -} +}) |