2016-07-23 00:29:18 +02:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gocd-agent-${version}-${rev}";
|
2016-09-11 00:24:31 +02:00
|
|
|
version = "16.9.0";
|
|
|
|
rev = "4001";
|
2016-07-23 00:29:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
|
2016-09-11 00:24:31 +02:00
|
|
|
sha256 = "1xcwwjf2khhng6v1y7dvi579y2j643al9n0x80m0c46qb9mzd04x";
|
2016-07-23 00:29:18 +02: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-08-10 17:10:13 +02:00
|
|
|
maintainers = with maintainers; [ grahamc swarren83 ];
|
2016-07-23 00:29:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
buildCommand = "
|
|
|
|
unzip $src -d $out
|
|
|
|
mv $out/go-agent-${version} $out/go-agent
|
|
|
|
";
|
|
|
|
}
|