summary refs log tree commit diff
path: root/pkgs/development/libraries/zookeeper_mt/default.nix
blob: ba53e8e54451c96f5ac1f88a6b835ffc71bd942e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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;
  };
}