02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
29 lines
718 B
Nix
29 lines
718 B
Nix
{ lib, buildGoModule, fetchFromGitHub, testers, goreman }:
|
|
|
|
buildGoModule rec {
|
|
pname = "goreman";
|
|
version = "0.3.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattn";
|
|
repo = "goreman";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-BQMRkXHac2Is3VvqrBFA+/NrR3sw/gA1k3fPi3EzONQ=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-BWfhvJ6kPz3X3TpHNvRIBgfUAQJB2f/lngRvHq91uyw=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = goreman;
|
|
command = "goreman version";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "foreman clone written in go language";
|
|
homepage = "https://github.com/mattn/goreman";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
};
|
|
}
|