nixpkgs/pkgs/development/tools/continuous-integration/drone/default.nix

22 lines
613 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildGoModule }:
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";
vendorSha256 = "1dvf8vz3jr9smki3jql0kvd8z8rwdq93y7blbr2yjjfsdvx6lxl1";
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
};
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";
};
}