depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

24 lines
638 B
Nix

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