caffe: add python package requirements
This commit is contained in:
parent
955ed925e5
commit
44324bdd7c
@ -73,9 +73,17 @@ stdenv.mkDerivation rec {
|
|||||||
++ lib.optionals stdenv.isDarwin [ Accelerate CoreGraphics CoreVideo ]
|
++ lib.optionals stdenv.isDarwin [ Accelerate CoreGraphics CoreVideo ]
|
||||||
;
|
;
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optional pythonSupport python.pkgs.protobuf;
|
propagatedBuildInputs = lib.optionals pythonSupport (
|
||||||
|
# requirements.txt
|
||||||
|
let pp = python.pkgs; in ([
|
||||||
|
pp.numpy pp.scipy pp.scikitimage pp.h5py
|
||||||
|
pp.matplotlib pp.ipython pp.networkx pp.nose
|
||||||
|
pp.pandas pp.dateutil pp.protobuf pp.gflags
|
||||||
|
pp.pyyaml pp.pillow pp.six
|
||||||
|
] ++ lib.optional leveldbSupport pp.leveldb)
|
||||||
|
);
|
||||||
|
|
||||||
outputs = [ "bin" "out"];
|
outputs = [ "bin" "out" ];
|
||||||
propagatedBuildOutputs = []; # otherwise propagates out -> bin cycle
|
propagatedBuildOutputs = []; # otherwise propagates out -> bin cycle
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user