nixpkgs/pkgs/development/libraries/java/jetty-gwt/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

13 lines
358 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "jetty-gwt-6.1.14";
src = fetchurl {
url = http://repository.codehaus.org/org/mortbay/jetty/jetty-gwt/6.1.14/jetty-gwt-6.1.14.jar;
sha256 = "17x8ss75rx9xjn93rq861mdn9d6gw87rbrf24blawa6ahhb56ppf";
};
buildCommand = ''
mkdir -p $out/share/java
cp $src $out/share/java/$name.jar
'';
}