1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix
2017-04-25 16:48:47 -04:00

25 lines
627 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "jenkins-${version}";
version = "2.56";
src = fetchurl {
url = "http://mirrors.jenkins-ci.org/war/${version}/jenkins.war";
sha256 = "1n0rqvnqv8dsqz8nmcxifg2qqs5hjqvi4bw3a3rjchndqyc3azij";
};
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 ];
};
}