1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 21:17:46 +00:00
nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix
2020-05-30 11:32:34 -04:00

25 lines
638 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "jenkins";
version = "2.222.4";
src = fetchurl {
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
sha256 = "0z64w5rv1x9kpjxcb05if9pk0abl9nlbijh2i3nlja97j0dp55bc";
};
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 ];
};
}