forked from mirrors/nixpkgs
1095d2cc07
Fixes: * CVE-2017-2598 * CVE-2017-2599 * CVE-2017-2600 * CVE-2011-4969 * CVE-2017-2601 * CVE-2015-0886 * CVE-2017-2602 * CVE-2017-2603 * CVE-2017-2604 * CVE-2017-2605 * CVE-2017-2606 * CVE-2017-2607 * CVE-2017-2608 * CVE-2017-2609 * CVE-2017-2610 * CVE-2017-2611 * CVE-2017-2612 * CVE-2017-2613 See https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2017-02-01.
25 lines
627 B
Nix
25 lines
627 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jenkins-${version}";
|
|
version = "2.44";
|
|
|
|
src = fetchurl {
|
|
url = "http://mirrors.jenkins-ci.org/war/${version}/jenkins.war";
|
|
sha256 = "01v9p0p27czwsk7ljv1879b5qcrhgy7zan6dj8klr9rci1id8x0d";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p "$out/webapps"
|
|
cp "$src" "$out/webapps/jenkins.war"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An extendable open source continuous integration server";
|
|
homepage = http://jenkins-ci.org;
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ coconnor fpletz ];
|
|
};
|
|
}
|