gwtdragdrop: remove builder.sh

This commit is contained in:
Felix Buehler 2021-11-20 13:35:29 +01:00
parent 2e9e94a32d
commit ea6fb1e297
2 changed files with 16 additions and 9 deletions

View file

@ -1,4 +0,0 @@
source $stdenv/setup
mkdir -p $out/share/java
cp $src $out/share/java/$name.jar

View file

@ -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;