nixpkgs-suyu/pkgs/development/libraries/zookeeper_mt/default.nix

22 lines
596 B
Nix
Raw Normal View History

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