1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix
2017-10-23 15:39:26 -06:00

25 lines
627 B
Nix

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