Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 690 B view raw
1{ lib, stdenv, fetchurl, unzip }: 2 3stdenv.mkDerivation rec { 4 pname = "gwt-java"; 5 version = "2.4.0"; 6 7 src = fetchurl { 8 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/google-web-toolkit/gwt-${version}.zip"; 9 sha256 = "1gvyg00vx7fdqgfl2w7nhql78clg3abs6fxxy7m03pprdm5qmm17"; 10 }; 11 12 nativeBuildInputs = [ unzip ]; 13 14 installPhase = '' 15 mkdir -p $out 16 unzip $src 17 mv gwt-2.4.0 $out/bin 18 ''; 19 20 meta = { 21 homepage = "https://www.gwtproject.org/"; 22 description = "A development toolkit for building and optimizing complex browser-based applications"; 23 license = lib.licenses.asl20; 24 platforms = lib.platforms.unix; 25 }; 26}