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