diff --git a/pkgs/development/libraries/java/gwt-dragdrop/builder.sh b/pkgs/development/libraries/java/gwt-dragdrop/builder.sh new file mode 100644 index 000000000000..605daff0cc85 --- /dev/null +++ b/pkgs/development/libraries/java/gwt-dragdrop/builder.sh @@ -0,0 +1,4 @@ +source $stdenv/setup + +ensureDir $out/share/java +cp $src $out/share/java/$name.jar diff --git a/pkgs/development/libraries/java/gwt-dragdrop/default.nix b/pkgs/development/libraries/java/gwt-dragdrop/default.nix new file mode 100644 index 000000000000..2b56405640bd --- /dev/null +++ b/pkgs/development/libraries/java/gwt-dragdrop/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "gwt-dragdrop-1.2.6"; + builder = ./builder.sh; + + src = fetchurl { + url = http://gwt-dnd.googlecode.com/files/gwt-dragdrop-1.2.6.jar; + sha1 = "97bbbd3e8fb3f8feaa4cfab99b371aa3abec5896"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2c8a1c38d191..c4b39125e720 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3076,6 +3076,10 @@ rec { inherit stdenv fetchurl unzip; }; + gwtdragdrop = import ../development/libraries/java/gwt-dragdrop { + inherit stdenv fetchurl; + }; + gwtwidgets = import ../development/libraries/java/gwt-widgets { inherit stdenv fetchurl; };