1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/tools/filesystems/zkfuse/default.nix
Charles Strahan 3b73b726d4 zkfuse: init
2015-11-19 19:55:44 -05:00

26 lines
614 B
Nix

{ stdenv, lib, zookeeper, zookeeper_mt, fuse, pkgconfig, autoreconfHook, log4cxx, boost, tree }:
stdenv.mkDerivation rec {
name = "zkfuse";
src = zookeeper.src;
patches = [
# see: https://issues.apache.org/jira/browse/ZOOKEEPER-1929
./zookeeper-1929.patch
];
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/contrib/zkfuse";
buildInputs = [ autoreconfHook 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 ];
};
}