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 sha512 = "16994067d460a1b6af6a71f3458c64ee32629e876a1ff6646d57be62f1a5adab57462af84074ecaded4186dd3fde035ee24cd9d578b8e5044073eb05f4ab9c3e";
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;