1# with import <nixpkgs>{};
2{ stdenv, fetchFromGitHub, buildGoPackage }:
3
4buildGoPackage rec {
5 name = "drone-cli-${version}";
6 version = "0.8.6";
7 revision = "v${version}";
8 goPackagePath = "github.com/drone/drone-cli";
9
10 goDeps= ./deps.nix;
11
12 src = fetchFromGitHub {
13 owner = "drone";
14 repo = "drone-cli";
15 rev = revision;
16 sha256 = "1vvilpqyx9jl0lc9hr73qxngwhwbyk81fycal7ys1w59gv9hxrh9";
17 };
18
19 meta = with stdenv.lib; {
20 maintainers = with maintainers; [ bricewge ];
21 license = licenses.asl20;
22 description = "Command line client for the Drone continuous integration server.";
23 };
24}