Created
August 5, 2020 07:24
-
-
Save idontgetoutmuch/20da73431d25666ba868dcc49ca501b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv | |
, fetchurl | |
, llvmPackages | |
, overrideCC | |
, gcc }: | |
let | |
openmp = llvmPackages.openmp; | |
in (overrideCC stdenv gcc).mkDerivation rec { | |
pname = "PhysiCell"; | |
version = "1.7.1"; | |
buildInputs = [ openmp ]; | |
nativeBuildInputs = [ openmp ]; | |
src = fetchurl { | |
url = "https://github.com/MathCancer/${pname}/archive/${version}.tar.gz"; | |
sha256 = "000pkw8maldb25b8g9cgr5qi4l905073pqrr3nfazc9n990260fi"; | |
}; | |
PHYSICELL_CPP="${gcc}/bin/g++"; | |
installPhase = '' | |
mkdir -p "$out"/bin | |
cp heterogeneity $out/heterogeneity | |
''; | |
meta = with stdenv.lib; { | |
description = "PhysiCell: an Open Source Physics-Based Cell Simulator for 3-D Multicellular Systems."; | |
homepage = http://physicell.org; | |
platforms = platforms.all; | |
maintainers = with maintainers; [ idontgetoutmuch ]; | |
license = licenses.bsd3; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment