mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
drone: init at 0.5-20160813
This commit is contained in:
parent
1b5ab63bd2
commit
9bd197fc97
|
@ -0,0 +1,39 @@
|
|||
{ stdenv, fetchFromGitHub, buildGoPackage, go-bindata, go-bindata-assetfs }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "drone.io-${version}";
|
||||
version = "0.5-20160813-${stdenv.lib.strings.substring 0 7 revision}";
|
||||
revision = "e82ddd002276deb1741eca5345260ff1c2059abb";
|
||||
goPackagePath = "github.com/drone/drone";
|
||||
|
||||
extraSrcs = [
|
||||
{
|
||||
goPackagePath = "github.com/drone/drone-ui";
|
||||
src = fetchFromGitHub {
|
||||
owner = "drone";
|
||||
repo = "drone-ui";
|
||||
rev = "43bdae89a59c4d26e24f80f65748b9f78f1df0a9";
|
||||
sha256 = "0k0kg07nkk595yk10n1fym3x8wlgn34n3f4mb237gqp8hhlnp5ra";
|
||||
};
|
||||
}
|
||||
];
|
||||
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
|
||||
|
||||
preBuild = ''
|
||||
go generate github.com/drone/drone/server/template
|
||||
go generate github.com/drone/drone/store/datastore/ddl
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drone";
|
||||
repo = "drone";
|
||||
rev = revision;
|
||||
sha256 = "11ld8dzjn4g7wbfm4xqr3ih2dqaqqa8rdnw7m7d3sd78w7r7s3gs";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
maintainer = with maintainers; [ avnik ];
|
||||
license = licenses.asl20;
|
||||
description = "Continuous Integration platform built on container technology";
|
||||
};
|
||||
}
|
|
@ -1443,6 +1443,8 @@ in
|
|||
|
||||
driftnet = callPackage ../tools/networking/driftnet {};
|
||||
|
||||
drone = callPackage ../development/tools/continuous-integration/drone { };
|
||||
|
||||
dropbear = callPackage ../tools/networking/dropbear { };
|
||||
|
||||
dtach = callPackage ../tools/misc/dtach { };
|
||||
|
|
Loading…
Reference in a new issue