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

23 lines
611 B
Nix
Raw Normal View History

2019-09-07 08:55:45 -07:00
{ stdenv, fetchFromGitHub, buildGoModule }:
2016-08-12 21:58:05 -07:00
2019-09-07 08:55:45 -07:00
buildGoModule rec {
name = "drone.io-${version}";
version = "1.3.1";
2016-08-12 21:58:05 -07:00
goPackagePath = "github.com/drone/drone";
2019-09-07 08:55:45 -07:00
modSha256 = "128nnn8axnr30y3r46d11g8qznbsg82z2qw9qbxkq3bja6nz8fn2";
2016-08-12 21:58:05 -07:00
src = fetchFromGitHub {
owner = "drone";
repo = "drone";
2019-09-07 08:55:45 -07:00
rev = "v${version}";
sha256 = "0vp86k1z3r79sx0ln3vndzx8ycf0dbiv7jk56ncmk390iiz2a4g4";
2016-08-12 21:58:05 -07:00
};
meta = with stdenv.lib; {
2019-09-07 08:55:45 -07:00
maintainers = with maintainers; [ elohmeier vdemeester ];
2016-08-12 21:58:05 -07:00
license = licenses.asl20;
description = "Continuous Integration platform built on container technology";
};
}