about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/continuous-integration/drone-cli/default.nix
blob: b20d5cfbeee1950fcf5419ef92c801edc4f89560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# with import <nixpkgs>{};
{ stdenv, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec {
  pname = "drone-cli";
  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.";
  };
}