Commit eb20a01b authored by Valentin Reis's avatar Valentin Reis

adds nrm-dist

parent fda9e935
Pipeline #7781 failed with stages
in 2 minutes and 32 seconds
......@@ -70,13 +70,32 @@ let
cp -r examples $out/share
'';
});
nrm-virtualenv = nrm.overrideAttrs (o:{
buildInputs=o.buildInputs ++ [ pkgs.blas pkgs.liblapack pkgs.binutils-unwrapped];
buildPhase=''
virtualenv .
bin/pip install -r requirements.txt
'';
});
nrm-dist = pkgs.stdenv.mkDerivation {
name = "nrm-dist";
src = nrm-src;
buildInputs =
[
pkgs.curl
pkgs.bash
pkgs.coreutils
(pkgs.python.withPackages (ps: [
ps.sphinx_rtd_theme
ps.sphinx
ps.breathe
ps.recommonmark
]))
];
buildPhase = ''
python ./setup.py build_sphinx --build-dir doc
python ./setup.py sdist
'';
installPhase = ''
mkdir -p $out
cp dist/* $out/
'';
};
containers = callPackage ./containers {src=containers-src;};
libnrm = callPackage ./libnrm {src=libnrm-src;};
libnrm-pinned = callPackage ./libnrm {src=fetched libnrm/pin.json;};
......
......@@ -2,8 +2,8 @@
"fetch": {
"args": {
"fetchSubmodules": false,
"rev": "a4c6197c994e9bb068215232c920e2cec34c973c",
"sha256": "0gpbnxpyv4l0mc6kd1qnc41frvm8vkr2c2s46qy5cvrw7zmarpah",
"rev": "a6552f206b9723848564c97215167e8b27ce0e4b",
"sha256": "1g8l9n37h659qwpvq39d0qs5mwvxwvvybjim5fg6g529xvba6z0q",
"url": "https://xgitlab.cels.anl.gov/argo/nrm.git"
},
"fn": "fetchgit"
......
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