dalphaball: init at 0-unstable-2023-06-15 (#397514)

This commit is contained in:
Weijia Wang
2025-04-22 21:30:06 +02:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
+5
View File
@@ -2129,6 +2129,11 @@
githubId = 11493130;
name = "Asbjørn Olling";
};
aschleck = {
name = "April Schleck";
github = "aschleck";
githubId = 115766;
};
ascii17 = {
name = "Allen Conlon";
email = "software@conlon.dev";
+46
View File
@@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchFromGitHub,
gfortran,
gmp,
}:
stdenv.mkDerivation rec {
pname = "dalphaball";
version = "0-unstable-2023-06-15";
src = fetchFromGitHub {
owner = "outpace-bio";
repo = "DAlphaBall";
rev = "7b9dc05fa2a40f7ea36c6d89973d150eaed459d9";
hash = "sha256-mUxEL9b67z/mG+0pcM5uQ/jPAfEUpJlXOXPmqDea+U4=";
};
sourceRoot = "${src.name}/src";
strictDeps = true;
nativeBuildInputs = [
gfortran
];
buildInputs = [
gfortran.cc.lib
gmp
];
installPhase = ''
runHook preInstall
install -Dm755 DAlphaBall.gcc $out/bin/DAlphaBall
runHook postInstall
'';
meta = {
description = "Computes the surface area and volume of unions of many balls";
mainProgram = "DAlphaBall";
homepage = "https://github.com/outpace-bio/DAlphaBall";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ aschleck ];
platforms = lib.platforms.unix;
};
}