2014-02-10 12:07:12 -08:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "jenkins";
|
2019-10-29 08:57:46 -04:00
|
|
|
version = "2.190.2";
|
2014-02-10 12:07:12 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-14 07:07:08 -07:00
|
|
|
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
|
2019-10-29 08:57:46 -04:00
|
|
|
sha256 = "09zij2gpg1i0pkx1nsgccc26p8z4gy4ljhch8m767xaa0000lqj7";
|
2014-02-10 12:07:12 -08:00
|
|
|
};
|
2016-07-15 14:45:23 +02:00
|
|
|
|
|
|
|
buildCommand = ''
|
2016-07-15 16:57:16 +02:00
|
|
|
mkdir -p "$out/webapps"
|
|
|
|
cp "$src" "$out/webapps/jenkins.war"
|
2016-07-15 14:45:23 +02:00
|
|
|
'';
|
|
|
|
|
2014-09-08 17:05:15 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An extendable open source continuous integration server";
|
2018-11-22 13:01:51 +01:00
|
|
|
homepage = https://jenkins-ci.org;
|
2014-09-08 17:05:15 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2017-11-07 07:56:37 -07:00
|
|
|
maintainers = with maintainers; [ coconnor fpletz earldouglas ];
|
2014-02-10 12:07:12 -08:00
|
|
|
};
|
|
|
|
}
|