25 lines
689 B
Nix
Raw Normal View History

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