2015-02-03 08:47:26 +00:00
|
|
|
{ stdenv, zookeeper, bash }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-01-11 05:18:49 +00:00
|
|
|
name = "zookeeper_mt-${stdenv.lib.getVersion zookeeper}";
|
2015-02-03 08:47:26 +00:00
|
|
|
|
2019-01-11 05:18:49 +00:00
|
|
|
src = zookeeper.src;
|
2015-02-03 08:47:26 +00:00
|
|
|
|
2019-01-11 05:18:49 +00:00
|
|
|
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c";
|
|
|
|
|
2019-10-30 11:34:47 +00:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-Wno-error=format-overflow -Wno-error=stringop-truncation";
|
2015-02-03 08:47:26 +00:00
|
|
|
|
2019-01-11 05:18:49 +00:00
|
|
|
buildInputs = [ zookeeper bash ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://zookeeper.apache.org";
|
2019-01-11 05:18:49 +00:00
|
|
|
description = "Apache Zookeeper";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.boothead ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|