Merge pull request #146251 from Stunkymonkey/smack-builder
This commit is contained in:
commit
deae59a278
@ -1,7 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir smack
|
||||
cd smack
|
||||
tar xfvz $src
|
||||
mkdir -p $out/share/java
|
||||
cp libs/smack-*.jar $out/share/java
|
@ -2,13 +2,23 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "smack-4.1.9";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.igniterealtime.org/downloadServlet?filename=smack/smack_4_1_9.tar.gz";
|
||||
sha256 = "009x0qcxd4dkvwcjz2nla470pwbabwvg37wc21pslpw42ldi0bzp";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/java
|
||||
cp libs/smack-*.jar $out/share/java
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A XMPP (Jabber) client library for instant messaging and presence";
|
||||
homepage = "http://www.igniterealtime.org/projects/smack/";
|
||||
|
Loading…
Reference in New Issue
Block a user