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

25 lines
634 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildGoModule }:
2016-08-13 04:58:05 +00:00
2019-09-07 15:55:45 +00:00
buildGoModule rec {
name = "drone.io-${version}";
2020-07-22 22:34:26 +00:00
version = "1.9.0";
2016-08-13 04:58:05 +00:00
goPackagePath = "github.com/drone/drone";
2020-07-22 22:34:26 +00:00
vendorSha256 = "0idf11sr417lxcjryplgb87affr6lgzxazzlyvk0y40hp8zbhwsx";
2016-08-13 04:58:05 +00:00
doCheck = false;
2016-08-13 04:58:05 +00:00
src = fetchFromGitHub {
owner = "drone";
repo = "drone";
2019-09-07 15:55:45 +00:00
rev = "v${version}";
2020-07-22 22:34:26 +00:00
sha256 = "1lsyd245fr1f74rpccvvw41h5g75b79afrb8g589bj13ggjav0xy";
2016-08-13 04:58:05 +00:00
};
meta = with stdenv.lib; {
2019-09-07 15:55:45 +00:00
maintainers = with maintainers; [ elohmeier vdemeester ];
2016-08-13 04:58:05 +00:00
license = licenses.asl20;
description = "Continuous Integration platform built on container technology";
};
}