Commit 64350aa0 authored by Valentin Reis's avatar Valentin Reis

Added libnrm.

parent b9655c7a
......@@ -24,6 +24,11 @@ in rec {
inherit pythonPackages nrm-containers;
src = packagepins.nrm.bandit;
};
libnrm = callPackage ./libnrm {
#inherit pythonPackages nrm-containers;
#src = packagepins.nrm.bandit;
};
}
# not buildable unless results are present(uses sudo: launch expes in nix-shell)
#appli-enforce = callPackage src/experiments/default.nix
......
{ stdenv, fetchgit, zeromq, mpich2,gfortran }:
stdenv.mkDerivation {
name = "libnrm";
src = fetchgit {
url="https://xgitlab.cels.anl.gov/argo/libnrm.git";
sha256="0n4bc29x9ngp7dv5np69bjg4nqbmqn93szpd6czzhs1r89wz0pdh";
};
#phases = ["unpackPhase" "installPhase"];
buildInputs = [zeromq mpich2 gfortran];
buildPhase = "make ZMQ_PATH=${zeromq} MPI_INCLUDE=${mpich2}";
#propagatedBuildInputs = [zulu];
installPhase = ''
mkdir -p $out/lib
mkdir -p $out/include
cp *.h $out/include
cp *.so $out/include
'';
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment