gwtdragdrop: remove builder.sh
This commit is contained in:
parent
2e9e94a32d
commit
ea6fb1e297
2 changed files with 16 additions and 9 deletions
|
@ -1,4 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/share/java
|
||||
cp $src $out/share/java/$name.jar
|
|
@ -1,14 +1,25 @@
|
|||
{lib, stdenv, fetchurl}:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gwt-dnd-2.6.5";
|
||||
builder = ./builder.sh;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gwt-dnd";
|
||||
version = "2.6.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://gwt-dnd.googlecode.com/files/gwt-dnd-2.6.5.jar";
|
||||
url = "http://gwt-dnd.googlecode.com/files/gwt-dnd-${version}.jar";
|
||||
sha256 = "07zdlr8afs499asnw0dcjmw1cnjc646v91lflx5dv4qj374c97fw";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/java
|
||||
cp $src $out/share/java/$name.jar
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
|
|
Loading…
Reference in a new issue