mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
02dfbde639
Candidates identified with git grep -F "$(grep -v '#' pkgs/build-support/fetchurl/mirrors.nix | grep -v nixos.org | grep :// | cut -d '"' -f 2)" and then manually reviewed and tested.
26 lines
695 B
Nix
26 lines
695 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jetty";
|
|
version = "9.4.43.v20210629";
|
|
src = fetchurl {
|
|
url = "mirror://maven/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
|
|
sha256 = "sha256-AfrmVLCZMuRGAZqoWeevbgXifbreErVM17rjJJ/HI9k=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
mv etc lib modules start.ini start.jar $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A Web server and javax.servlet container";
|
|
homepage = "https://www.eclipse.org/jetty/";
|
|
platforms = platforms.all;
|
|
license = with licenses; [ asl20 epl10 ];
|
|
maintainers = with maintainers; [ emmanuelrosa ];
|
|
};
|
|
}
|