diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/java/smack/builder.sh | 6 | ||||
-rw-r--r-- | pkgs/development/libraries/java/smack/default.nix | 11 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
3 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/java/smack/builder.sh b/pkgs/development/libraries/java/smack/builder.sh new file mode 100644 index 0000000000000..276e3f6e6a912 --- /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 0000000000000..0ccf525d57eb8 --- /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 c4b39125e7207..e642b79e5db32 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; |