2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gocd-agent-${version}-${rev}";
|
|
|
|
version = "19.3.0";
|
|
|
|
rev = "8959";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
|
|
|
|
sha256 = "1nirdv82i8x4s1dyb0rmxldh8avappd4g3mbbl6xp7r7s0drcprp";
|
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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; [ grahamc swarren83 ];
|
|
|
|
};
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildCommand = "
|
|
|
|
unzip $src -d $out
|
|
|
|
mv $out/go-agent-${version} $out/go-agent
|
|
|
|
";
|
|
|
|
}
|