1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/continuous-integration/drone-cli/default.nix
Brice Waegeneire fb25fe7879
drone-cli: add package
Signed-off-by: Brice Waegeneire <brice.wge@gmail.com>
2018-07-10 15:26:23 +02:00

25 lines
615 B
Nix

# with import <nixpkgs>{};
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
name = "drone-cli-${version}";
version = "0.8.6";
revision = "v${version}";
goPackagePath = "github.com/drone/drone-cli";
goDeps= ./deps.nix;
src = fetchFromGitHub {
owner = "drone";
repo = "drone-cli";
rev = revision;
sha256 = "1vvilpqyx9jl0lc9hr73qxngwhwbyk81fycal7ys1w59gv9hxrh9";
};
meta = with stdenv.lib; {
maintainers = with maintainers; [ bricewge ];
license = licenses.asl20;
description = "Command line client for the Drone continuous integration server.";
};
}