Skip to content

Instantly share code, notes, and snippets.

@idontgetoutmuch
Created August 4, 2020 14:37
Show Gist options
  • Save idontgetoutmuch/ca004864e3871d9c97cc0044e71fd4a5 to your computer and use it in GitHub Desktop.
Save idontgetoutmuch/ca004864e3871d9c97cc0044e71fd4a5 to your computer and use it in GitHub Desktop.
{ stdenv
, fetchurl
, llvmPackages
, gfortran
, openmpi }:
let
openmp = llvmPackages.openmp;
in stdenv.mkDerivation rec {
pname = "PhysiCell";
version = "1.7.1";
buildInputs = [ gfortran openmpi openmp ];
nativeBuildInputs = [ gfortran openmpi openmp ];
src = fetchurl {
url = "https://github.com/MathCancer/${pname}/archive/${version}.tar.gz";
sha256 = "000pkw8maldb25b8g9cgr5qi4l905073pqrr3nfazc9n990260fi";
};
checkPhase = "make test";
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