nixpkgs-suyu/pkgs/servers/http/winstone/default.nix

27 lines
626 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "winstone-${version}";
version = "0.9.10";
src = fetchurl {
url = "mirror://sourceforge/winstone/${name}.jar";
sha256 = "17xvq3yk95335c6ag1bmbmxlvh7gqq35ifi64r2l6rnvrf6pqyan";
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/lib
cp $src $out/lib/winstone.jar
'';
meta = {
2014-11-11 14:20:43 +01:00
homepage = http://winstone.sourceforge.net/;
description = "A simple Java Servlet container";
license = stdenv.lib.licenses.cddl;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.rickynils ];
};
}