2014-02-10 20:07:12 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-08 16:05:15 +01:00
|
|
|
name = "jenkins-${version}";
|
2016-07-17 15:36:06 +01:00
|
|
|
version = "2.13";
|
2014-02-10 20:07:12 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.jenkins-ci.org/war/${version}/jenkins.war";
|
2016-07-17 15:36:06 +01:00
|
|
|
sha256 = "0rb3spml2c7cd34zjjc5mwsdcnwmcbcdc784nl8cczayiwz8nq3p";
|
2014-02-10 20:07:12 +00:00
|
|
|
};
|
2016-07-15 13:45:23 +01:00
|
|
|
|
|
|
|
buildCommand = ''
|
2016-07-15 15:57:16 +01:00
|
|
|
mkdir -p "$out/webapps"
|
|
|
|
cp "$src" "$out/webapps/jenkins.war"
|
2016-07-15 13:45:23 +01:00
|
|
|
'';
|
|
|
|
|
2014-09-08 16:05:15 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An extendable open source continuous integration server";
|
2014-02-10 20:07:12 +00:00
|
|
|
homepage = http://jenkins-ci.org;
|
2014-09-08 16:05:15 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2016-07-17 15:36:06 +01:00
|
|
|
maintainers = with maintainers; [ coconnor fpletz ];
|
2014-02-10 20:07:12 +00:00
|
|
|
};
|
|
|
|
}
|