goreman: 0.3.11 -> 0.3.13
This commit is contained in:
parent
28e2fa0534
commit
21f4acbace
|
@ -1,24 +1,24 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, testers, goreman }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "goreman";
|
pname = "goreman";
|
||||||
version = "0.3.11";
|
version = "0.3.13";
|
||||||
rev = "6006c6e410ec5a5ba22b50e96227754a42f2834d";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mattn";
|
owner = "mattn";
|
||||||
repo = "goreman";
|
repo = "goreman";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-TbJfeU94wakI2028kDqU+7dRRmqXuqpPeL4XBaA/HPo=";
|
sha256 = "sha256-BQMRkXHac2Is3VvqrBFA+/NrR3sw/gA1k3fPi3EzONQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
ldflags = [
|
vendorSha256 = "sha256-BWfhvJ6kPz3X3TpHNvRIBgfUAQJB2f/lngRvHq91uyw=";
|
||||||
"-s"
|
|
||||||
"-w"
|
|
||||||
"-X main.revision=${builtins.substring 0 7 rev}"
|
|
||||||
];
|
|
||||||
|
|
||||||
vendorSha256 = "sha256-87aHBRWm5Odv6LeshZty5N31sC+vdSwGlTYhk3BZkPo=";
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = goreman;
|
||||||
|
command = "goreman version";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "foreman clone written in go language";
|
description = "foreman clone written in go language";
|
||||||
|
|
Loading…
Reference in a new issue