Add gocd agent and server service packages (#16273)
GoCD is an open source continuous delivery server specializing in advanced workflow modeling and visualization. Update maintainers list to include swarren83. Update module list to include gocd agent and server module. Update packages list to include gocd agent and server package. Update version, revision and checksum for GoCD release 16.5.0.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gocd-agent-${version}-${rev}";
|
||||
version = "16.5.0";
|
||||
rev = "3305";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
|
||||
sha256 = "2cb988d36ec747b2917f3be040b430f2a8289c07353a6b6bdc95bf741fa1ed97";
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
|
||||
homepage = http://www.go.cd;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ swarren83 ];
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
buildCommand = "
|
||||
unzip $src -d $out
|
||||
mv $out/go-agent-${version} $out/go-agent
|
||||
";
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gocd-server-${version}-${rev}";
|
||||
version = "16.5.0";
|
||||
rev = "3305";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-server-${version}-${rev}.zip";
|
||||
sha256 = "41139051f419dc340a5c05c76e5de06eeef3516526341f377ac77532511bfa2c";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
|
||||
homepage = http://www.go.cd;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ swarren83 ];
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
buildCommand = "
|
||||
unzip $src -d $out
|
||||
mv $out/go-server-${version} $out/go-server
|
||||
mkdir -p $out/go-server/conf
|
||||
";
|
||||
}
|
||||
Reference in New Issue
Block a user