1 { lib, stdenv, fetchurl, gettext, jdk8, libmatthew_java }:
3 stdenv.mkDerivation rec {
8 url = "https://dbus.freedesktop.org/releases/dbus-java/dbus-java-${version}.tar.gz";
9 sha256 = "0cyaxd8x6sxmi6pklkkx45j311a6w51fxl4jc5j3inc4cailwh5y";
12 JAVA="${jdk8}/bin/java";
14 JAVAUNIXLIBDIR="${libmatthew_java}/lib/jni";
15 JAVAUNIXJARDIR="${libmatthew_java}/share/java";
16 buildInputs = [ gettext jdk8 ];
17 # I'm too lazy to build the documentation
19 sed -i -e "s|all: bin doc man|all: bin|" \
20 -e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile
24 platforms = platforms.linux;
25 maintainers = [ maintainers.sander ];
26 license = licenses.afl21;