2014-02-10 21:07:12 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-08 17:05:15 +02:00
|
|
|
name = "jenkins-${version}";
|
2018-11-22 13:01:51 +01:00
|
|
|
version = "2.138.3";
|
2014-02-10 21:07:12 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-14 15:07:08 +01:00
|
|
|
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
|
2018-11-22 13:01:51 +01:00
|
|
|
sha256 = "0z8yfnqg43vqhhnp27wb28686zq9kqkyicqn0162hr9h5pd4sglm";
|
2014-02-10 21:07:12 +01: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 15:56:37 +01:00
|
|
|
maintainers = with maintainers; [ coconnor fpletz earldouglas ];
|
2014-02-10 21:07:12 +01:00
|
|
|
};
|
|
|
|
}
|