22 lines
596 B
Nix
22 lines
596 B
Nix
{ stdenv, zookeeper, bash }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zookeeper_mt-${stdenv.lib.getVersion zookeeper}";
|
|
|
|
src = zookeeper.src;
|
|
|
|
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c";
|
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionals (!stdenv.isDarwin) [ "-Wno-error=format-overflow" "-Wno-error=stringop-truncation" ];
|
|
|
|
buildInputs = [ zookeeper bash ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://zookeeper.apache.org;
|
|
description = "Apache Zookeeper";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.boothead ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|