mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
drone-cli: 1.2.0 -> 1.2.1
This commit is contained in:
parent
5d2a7238df
commit
032fddf103
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
let version = "1.2.0";
|
||||
let version = "1.2.1";
|
||||
in buildGoModule rec {
|
||||
inherit version;
|
||||
pname = "drone-cli";
|
||||
revision = "v${version}";
|
||||
goPackagePath = "github.com/drone/drone-cli";
|
||||
|
||||
modSha256 = "0jvhnrvqi1axypyzgjzbv44s7w1j53y6wak6xlkxdm64qw6pf1hc";
|
||||
modSha256 = "0g0vq4vm2hy00r2gjsrhg57xv9sldlqix3wzimiqdli085bcz46b";
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-X main.version=${version}")
|
||||
@ -17,7 +17,7 @@ in buildGoModule rec {
|
||||
owner = "drone";
|
||||
repo = "drone-cli";
|
||||
rev = revision;
|
||||
sha256 = "1b1c3mih760z3hx5xws9h4m1xhlx1pm4qhm3sm31cyim9p8rmi4s";
|
||||
sha256 = "19icihi5nxcafxlh4w61nl4cd0dhvik9zl8g4gqmazikjqsjms2j";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user