mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Add Jetty code
svn path=/nixpkgs/trunk/; revision=1369
This commit is contained in:
parent
b458af7384
commit
c9bcdda7c6
7
pkgs/servers/http/jetty/bin-builder.sh
Normal file
7
pkgs/servers/http/jetty/bin-builder.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
set -e
|
||||
|
||||
. $stdenv/setup
|
||||
|
||||
tar zxf $src
|
||||
mkdir $out
|
||||
mv jetty*/* $out
|
12
pkgs/servers/http/jetty/default.nix
Normal file
12
pkgs/servers/http/jetty/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jetty-4.2.22";
|
||||
|
||||
builder = ./bin-builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://belnet.dl.sourceforge.net/sourceforge/jetty/jetty-4.2.22.tar.gz;
|
||||
md5 = "e89c582d1846cd7d31e402abaf801e17";
|
||||
};
|
||||
}
|
|
@ -646,6 +646,10 @@ rec {
|
|||
ant = apacheAntBlackdown14;
|
||||
};
|
||||
|
||||
jetty = (import ../servers/http/jetty) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
### OS-SPECIFIC
|
||||
|
||||
kernelHeaders = (import ../os-specific/linux/kernel-headers) {
|
||||
|
|
Loading…
Reference in a new issue