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

23 lines
614 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-07-22 23:34:26 +01:00
version = "1.9.0";
2016-08-13 05:58:05 +01:00
goPackagePath = "github.com/drone/drone";
2020-07-22 23:34:26 +01:00
vendorSha256 = "0idf11sr417lxcjryplgb87affr6lgzxazzlyvk0y40hp8zbhwsx";
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-07-22 23:34:26 +01:00
sha256 = "1lsyd245fr1f74rpccvvw41h5g75b79afrb8g589bj13ggjav0xy";
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";
};
}