3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/continuous-integration/drone-cli/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
605 B
Nix

# 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.";
};
}