9 # We depend on ZooKeeper for the Jute compiler.
13 stdenv.mkDerivation rec {
14 pname = "zookeeper_mt";
15 version = lib.getVersion zookeeper;
18 url = "mirror://apache/zookeeper/${zookeeper.pname}-${version}/apache-${zookeeper.pname}-${version}.tar.gz";
19 hash = "sha512-eo/9yeSPbik+5f3g3uc//N0aTx5VS0KCzkA/+wn/FFtAmHwnLex1GZOoOlQwly4KU10Y+pgY1shKab/aigPSFg==";
22 sourceRoot = "apache-${zookeeper.pname}-${version}/zookeeper-client/zookeeper-client-c";
35 # Generate the C marshallers/unmarshallers for the Jute-encoded
40 java -cp ${zookeeper}/lib/${zookeeper.pname}-jute-${version}.jar \
41 org.apache.jute.compiler.generated.Rcc -l c \
42 ../../../zookeeper-jute/src/main/resources/zookeeper.jute
47 # We're not going to start test servers in the sandbox anyway.
52 homepage = "https://zookeeper.apache.org";
53 description = "Apache Zookeeper";
54 license = licenses.asl20;
55 maintainers = with maintainers; [
59 platforms = platforms.unix;