mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-11 23:19:05 +03:00
paup: init at 4.0a169
This commit is contained in:
parent
eb22f9160b
commit
2b8abed1f3
52
pkgs/by-name/pa/paup/package.nix
Normal file
52
pkgs/by-name/pa/paup/package.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user