macse: init at 2.03

This commit is contained in:
Bruno Bzeznik 2019-06-14 10:23:37 +02:00
parent 93d1127734
commit e4108becbe
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
pname = "macse";
version = "2.03";
src = fetchurl {
url = "https://bioweb.supagro.inra.fr/${pname}/releases/${pname}_v${version}.jar";
sha256 = "0jnjyz4f255glg37rawzdv4m6nfs7wfwc5dny7afvx4dz2sv4ssh";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
unpackPhase = ":";
installPhase = ''
runHook preInstall
mkdir -p $out/share/java
cp -s $src $out/share/java/macse.jar
makeWrapper ${jre}/bin/java $out/bin/macse --add-flags "-jar $out/share/java/macse.jar"
runHook postInstall
'';
meta = with stdenv.lib; {
description = "Multiple alignment of coding sequences";
homepage = "https://bioweb.supagro.inra.fr/macse/";
license = licenses.gpl2;
maintainers = [ maintainers.bzizou ];
platforms = platforms.all;
};
}

View file

@ -21898,6 +21898,8 @@ in
kallisto = callPackage ../applications/science/biology/kallisto { };
macse = callPackage ../applications/science/biology/macse { };
migrate = callPackage ../applications/science/biology/migrate { };
mirtk = callPackage ../development/libraries/science/biology/mirtk { };