531e4b80c9
Only acts on one-line dependency lists.
22 lines
532 B
Nix
22 lines
532 B
Nix
{ stdenv, lib, zookeeper, zookeeper_mt, fuse, pkgconfig, autoreconfHook, log4cxx, boost, tree }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zkfuse-${version}";
|
|
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 ];
|
|
};
|
|
}
|