2016-07-22 23:29:18 +01:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gocd-server-${version}-${rev}";
|
2016-09-10 23:19:58 +01:00
|
|
|
version = "16.9.0";
|
|
|
|
rev = "4001";
|
2016-07-22 23:29:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-server-${version}-${rev}.zip";
|
2016-09-10 23:19:58 +01:00
|
|
|
sha256 = "0x5pmjbhrka6p27drkrca7872vgsjxaa5j0cbxsa2ds02wrn57a7";
|
2016-07-22 23:29:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2016-07-27 17:44:28 +01:00
|
|
|
maintainers = with maintainers; [ grahamc swarren83 ];
|
2016-07-22 23:29:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
buildCommand = "
|
|
|
|
unzip $src -d $out
|
|
|
|
mv $out/go-server-${version} $out/go-server
|
|
|
|
mkdir -p $out/go-server/conf
|
|
|
|
";
|
|
|
|
}
|