bscpkgs/garlic/apps/heat/default.nix
Rodrigo Arias Mallo 7e10a43b40 heat: update new app version
The blocksize is now specified at runtime
2021-03-05 16:16:06 +01:00

34 lines
427 B
Nix

{
stdenv
, mpi
, tampi
, mcxx
, gitBranch ? "master"
}:
stdenv.mkDerivation rec {
name = "heat";
src = builtins.fetchGit {
url = "ssh://git@bscpm03.bsc.es/garlic/apps/heat.git";
ref = gitBranch;
};
buildInputs = [
mpi
mcxx
tampi
];
programPath = "/bin/${name}";
installPhase = ''
mkdir -p $out/bin
cp ${name} $out/bin/
mkdir -p $out/etc
cp heat.conf $out/etc/
'';
}