Added smack library
svn path=/nixpkgs/trunk/; revision=10857
This commit is contained in:
parent
80d4c9ed4a
commit
1974f19dff
3 changed files with 21 additions and 0 deletions
6
pkgs/development/libraries/java/smack/builder.sh
Normal file
6
pkgs/development/libraries/java/smack/builder.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
source $stdenv/setup
|
||||
|
||||
tar xfvz $src
|
||||
cd smack*
|
||||
ensureDir $out/share/java
|
||||
cp *.jar $out/share/java
|
11
pkgs/development/libraries/java/smack/default.nix
Normal file
11
pkgs/development/libraries/java/smack/default.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue