ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
27 lines
518 B
Nix
27 lines
518 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gwt-dnd";
|
|
version = "2.6.5";
|
|
|
|
src = fetchurl {
|
|
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;
|
|
};
|
|
}
|