2020-03-21 09:52:00 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
2016-08-13 05:58:05 +01:00
|
|
|
|
2019-09-07 16:55:45 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
name = "drone.io-${version}";
|
2020-02-19 07:40:12 +00:00
|
|
|
version = "1.6.5";
|
2016-08-13 05:58:05 +01:00
|
|
|
goPackagePath = "github.com/drone/drone";
|
|
|
|
|
2020-02-19 07:40:12 +00:00
|
|
|
modSha256 = "1fyb9218s52w8c6c3v6rgivbyzy5hz4q4z8r75ng2yrmjmmiv2gr";
|
2016-08-13 05:58:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "drone";
|
|
|
|
repo = "drone";
|
2019-09-07 16:55:45 +01:00
|
|
|
rev = "v${version}";
|
2020-02-19 07:40:12 +00:00
|
|
|
sha256 = "05cgd72qyss836fby0adhrm5p8g7639psk2yslhg6pmz0cqfbq9m";
|
2016-08-13 05:58:05 +01:00
|
|
|
};
|
|
|
|
|
2020-03-21 09:52:00 +00:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
2016-08-13 05:58:05 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-09-07 16:55:45 +01:00
|
|
|
maintainers = with maintainers; [ elohmeier vdemeester ];
|
2016-08-13 05:58:05 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
description = "Continuous Integration platform built on container technology";
|
|
|
|
};
|
|
|
|
}
|