2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, lib, zookeeper, zookeeper_mt, fuse, autoreconfHook, log4cxx, boost }:
|
2015-11-20 01:53:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-27 12:37:42 +01:00
|
|
|
name = "zkfuse-${version}";
|
|
|
|
inherit (zookeeper) version src;
|
2015-11-20 01:53:34 +01:00
|
|
|
|
2017-02-27 12:37:42 +01:00
|
|
|
sourceRoot = "${zookeeper.name}/src/contrib/zkfuse";
|
2015-11-20 01:53:34 +01:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ zookeeper_mt log4cxx boost fuse ];
|
2015-11-20 01:53:34 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -v src/zkfuse $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2018-07-22 16:28:44 +02:00
|
|
|
license = licenses.asl20;
|
2015-11-20 01:53:34 +01:00
|
|
|
};
|
|
|
|
}
|