2022-07-26 11:50:08 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, testers, goreman }:
|
2019-04-13 15:30:05 +01:00
|
|
|
|
2022-01-31 12:55:14 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "goreman";
|
2022-07-26 11:50:08 +01:00
|
|
|
version = "0.3.13";
|
2019-04-13 15:30:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mattn";
|
|
|
|
repo = "goreman";
|
|
|
|
rev = "v${version}";
|
2022-07-26 11:50:08 +01:00
|
|
|
sha256 = "sha256-BQMRkXHac2Is3VvqrBFA+/NrR3sw/gA1k3fPi3EzONQ=";
|
2019-04-13 15:30:05 +01:00
|
|
|
};
|
|
|
|
|
2022-07-26 11:50:08 +01:00
|
|
|
vendorSha256 = "sha256-BWfhvJ6kPz3X3TpHNvRIBgfUAQJB2f/lngRvHq91uyw=";
|
2022-01-31 12:55:14 +00:00
|
|
|
|
2022-07-26 11:50:08 +01:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = goreman;
|
|
|
|
command = "goreman version";
|
|
|
|
};
|
2022-01-31 12:55:14 +00:00
|
|
|
|
2019-04-13 15:30:05 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "foreman clone written in go language";
|
|
|
|
homepage = "https://github.com/mattn/goreman";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|