paup: init at 4.0a169

This commit is contained in:
Gavin John 2024-07-12 14:28:31 -04:00 committed by Gavin John
parent eb22f9160b
commit 2b8abed1f3
No known key found for this signature in database
GPG Key ID: 792E158CDD33C3EE

View File

@ -0,0 +1,52 @@
{
lib,
stdenvNoCC,
fetchurl,
autoPatchelfHook,
curl,
gfortran,
zlib,
}:
stdenvNoCC.mkDerivation {
pname = "paup";
version = "4.0a168";
src = fetchurl {
url = "http://phylosolutions.com/paup-test/paup4a168_centos64.gz";
hash = "sha256-41dZswlrIQ05f1zJzId78DKmPf0QH1SfrexzvCAUxq8=";
};
unpackPhase = ''
runHook preUnpack
gunzip -c $src > paup
runHook postUnpack
'';
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [
curl
gfortran
zlib
];
installPhase = ''
runHook preInstall
install -Dm755 paup -t $out/bin
runHook postInstall
'';
meta = {
description = "A software package for inferring evolutionary trees";
homepage = "http://phylosolutions.com/paup-test/";
license = lib.licenses.unfree;
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
maintainers = with lib.maintainers; [ pandapip1 ];
mainProgram = "paup";
platforms = [ "x86_64-linux" ];
};
}