8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
32 lines
859 B
Nix
32 lines
859 B
Nix
{ 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;
|
|
};
|
|
}
|