2015-11-19 17:53:34 -07:00
|
|
|
{ stdenv, lib, zookeeper, zookeeper_mt, fuse, pkgconfig, autoreconfHook, log4cxx, boost, tree }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-27 04:37:42 -07:00
|
|
|
name = "zkfuse-${version}";
|
|
|
|
inherit (zookeeper) version src;
|
2015-11-19 17:53:34 -07:00
|
|
|
|
2017-02-27 04:37:42 -07:00
|
|
|
sourceRoot = "${zookeeper.name}/src/contrib/zkfuse";
|
2015-11-19 17:53:34 -07:00
|
|
|
|
2017-09-05 15:26:13 -06:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ zookeeper_mt log4cxx boost fuse ];
|
2015-11-19 17:53:34 -07:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -v src/zkfuse $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|