2020-09-19 15:34:40 +00:00
|
|
|
{stdenv, fetchurl, gettext, jdk8, libmatthew_java}:
|
2010-01-02 13:28:51 +00:00
|
|
|
|
2020-09-19 15:34:40 +00:00
|
|
|
let jdk = jdk8; in
|
2010-01-02 13:28:51 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "dbus-java-2.7";
|
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://dbus.freedesktop.org/releases/dbus-java/dbus-java-2.7.tar.gz";
|
2010-01-02 13:28:51 +00:00
|
|
|
sha256 = "0cyaxd8x6sxmi6pklkkx45j311a6w51fxl4jc5j3inc4cailwh5y";
|
|
|
|
};
|
|
|
|
JAVA_HOME=jdk;
|
|
|
|
JAVA="${jdk}/bin/java";
|
|
|
|
PREFIX=''''${out}'';
|
|
|
|
JAVAUNIXLIBDIR="${libmatthew_java}/lib/jni";
|
|
|
|
JAVAUNIXJARDIR="${libmatthew_java}/share/java";
|
|
|
|
buildInputs = [ gettext jdk ];
|
|
|
|
# I'm too lazy to build the documentation
|
|
|
|
preBuild = ''
|
|
|
|
sed -i -e "s|all: bin doc man|all: bin|" \
|
|
|
|
-e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile
|
|
|
|
'';
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2018-11-01 20:01:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.sander ];
|
|
|
|
license = licenses.afl21;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2010-01-02 13:28:51 +00:00
|
|
|
}
|