nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 24 lines 562 B view raw
1{ stdenv, fetchurl, unzip }: 2 3stdenv.mkDerivation { 4 name = "gwt-java-2.4.0"; 5 6 src = fetchurl { 7 url=http://google-web-toolkit.googlecode.com/files/gwt-2.4.0.zip; 8 sha1 = "a91ac20db0ddd5994ac3cbfb0e8061d5bbf66f88"; 9 }; 10 11 buildInputs = [ unzip ]; 12 13 installPhase = '' 14 mkdir -p $out 15 unzip $src 16 mv gwt-2.4.0 $out/bin 17 ''; 18 19 meta = { 20 homepage = http://code.google.com/webtoolkit/; 21 description = "A development toolkit for building and optimizing complex browser-based applications"; 22 platforms = stdenv.lib.platforms.unix; 23 }; 24}