summary refs log tree commit diff
path: root/pkgs/tools/filesystems/zkfuse/default.nix
blob: 89516d525af6ef1313be60b576c43df820950afc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, lib, zookeeper, zookeeper_mt, fuse, autoreconfHook, log4cxx, boost }:

stdenv.mkDerivation {
  pname = "zkfuse";
  inherit (zookeeper) version src;

  sourceRoot = "${zookeeper.name}/src/contrib/zkfuse";

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ zookeeper_mt log4cxx boost fuse ];

  installPhase = ''
    mkdir -p $out/bin
    cp -v src/zkfuse $out/bin
  '';

  meta = with lib; {
    platforms = platforms.linux;
    maintainers = with maintainers; [ cstrahan ];
    license = licenses.asl20;
  };
}