7 # We depend on ZooKeeper for the Jute compiler.
11 stdenv.mkDerivation rec {
12 pname = "zookeeper_mt";
13 version = lib.getVersion zookeeper;
16 url = "mirror://apache/zookeeper/${zookeeper.pname}-${version}/apache-${zookeeper.pname}-${version}.tar.gz";
17 hash = "sha512-V1SFPtSytFZMyiR/cgwLA9zPUK5xuarP3leQCQiSfelUHnYMB+R6ZQfSHMHD9t+URvLc+KRFSriLTzethspkpA==";
20 sourceRoot = "apache-${zookeeper.pname}-${version}/zookeeper-client/zookeeper-client-c";
33 # Generate the C marshallers/unmarshallers for the Jute-encoded
38 java -cp ${zookeeper}/lib/${zookeeper.pname}-jute-${version}.jar \
39 org.apache.jute.compiler.generated.Rcc -l c \
40 ../../../zookeeper-jute/src/main/resources/zookeeper.jute
45 # We're not going to start test servers in the sandbox anyway.
50 homepage = "https://zookeeper.apache.org";
51 description = "Apache Zookeeper";
52 license = licenses.asl20;
53 maintainers = with maintainers; [ commandodev ztzg ];
54 platforms = platforms.unix;