2016-08-27 14:40:45 +01:00
|
|
|
{stdenv, fetchFromGitHub, cmake, torch, protobuf, protobufc}:
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "loadcaffe";
|
2016-08-27 14:40:45 +01:00
|
|
|
version = "0.0pre2016.08.01";
|
|
|
|
buildInputs = [cmake torch protobuf protobufc];
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "szagoruyko";
|
|
|
|
repo = "loadcaffe";
|
|
|
|
rev = "9be65cf6fa08e9333eae3553f68a8082debe9978";
|
|
|
|
sha256 = "0b22hvd9nvjsan2h93nl6y34kkkbs36d0k1zr3csjfb5l13xz0lh";
|
|
|
|
};
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''Torch7 loader for Caffe networks'';
|
|
|
|
license = stdenv.lib.licenses.bsd2 ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|