mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03: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 New Issue
Block a user