diff options
author | Shawn Warren <shawn.warren@rackspace.com> | 2016-07-22 17:29:18 -0500 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2016-07-23 00:29:18 +0200 |
commit | 9886c80daa8c5601f3a6de2a1512d00435da3432 (patch) | |
tree | 10b9e34c1ae379950faac330278cd76a9b755023 /pkgs/development/tools | |
parent | c4c378b6138ac224f2de13ecf172a760104dae3e (diff) | |
download | nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.tar nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.tar.gz nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.tar.bz2 nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.tar.lz nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.tar.xz nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.tar.zst nixlib-9886c80daa8c5601f3a6de2a1512d00435da3432.zip |
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.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/continuous-integration/gocd-agent/default.nix | 26 | ||||
-rw-r--r-- | pkgs/development/tools/continuous-integration/gocd-server/default.nix | 28 |
2 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/development/tools/continuous-integration/gocd-agent/default.nix b/pkgs/development/tools/continuous-integration/gocd-agent/default.nix new file mode 100644 index 000000000000..170f07ca5c3d --- /dev/null +++ b/pkgs/development/tools/continuous-integration/gocd-agent/default.nix @@ -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 + "; +} diff --git a/pkgs/development/tools/continuous-integration/gocd-server/default.nix b/pkgs/development/tools/continuous-integration/gocd-server/default.nix new file mode 100644 index 000000000000..0b9794fd6d7f --- /dev/null +++ b/pkgs/development/tools/continuous-integration/gocd-server/default.nix @@ -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 + "; +} |