diff --git a/pkgs/development/libraries/java/smack/builder.sh b/pkgs/development/libraries/java/smack/builder.sh new file mode 100644 index 000000000000..276e3f6e6a91 --- /dev/null +++ b/pkgs/development/libraries/java/smack/builder.sh @@ -0,0 +1,6 @@ +source $stdenv/setup + +tar xfvz $src +cd smack* +ensureDir $out/share/java +cp *.jar $out/share/java diff --git a/pkgs/development/libraries/java/smack/default.nix b/pkgs/development/libraries/java/smack/default.nix new file mode 100644 index 000000000000..0ccf525d57eb --- /dev/null +++ b/pkgs/development/libraries/java/smack/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "smack-3_0_4"; + builder = ./builder.sh; + + src = fetchurl { + url = http://www.igniterealtime.org/downloadServlet?filename=smack/smack_3_0_4.tar.gz; + md5 = "a7eb7df35ed8ab959badd370f995c671"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c4b39125e720..e642b79e5db3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3144,6 +3144,10 @@ rec { stdenv = overrideInStdenv stdenv [gnumake380]; }; + smack = import ../development/libraries/java/smack { + inherit stdenv fetchurl; + }; + swt = import ../development/libraries/java/swt { inherit stdenv fetchurl unzip jdk pkgconfig; inherit (gtkLibs) gtk;