3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix
2019-04-06 15:26:16 -04:00

25 lines
646 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "jenkins-${version}";
version = "2.164.1";
src = fetchurl {
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
sha256 = "02r2kf0v7pbi6xfak5ii7cwi5pq2awq4pcsi6d7k8m7f69b3ym35";
};
buildCommand = ''
mkdir -p "$out/webapps"
cp "$src" "$out/webapps/jenkins.war"
'';
meta = with stdenv.lib; {
description = "An extendable open source continuous integration server";
homepage = https://jenkins-ci.org;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ coconnor fpletz earldouglas ];
};
}