nixpkgs/pkgs/tools/system/goreman/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
716 B
Nix
Raw Normal View History

2022-07-26 10:50:08 +00:00
{ lib, buildGoModule, fetchFromGitHub, testers, goreman }:
2019-04-13 14:30:05 +00:00
2022-01-31 12:55:14 +00:00
buildGoModule rec {
pname = "goreman";
2023-03-23 02:23:40 +00:00
version = "0.3.15";
2019-04-13 14:30:05 +00:00
src = fetchFromGitHub {
owner = "mattn";
repo = "goreman";
rev = "v${version}";
2023-03-23 02:23:40 +00:00
sha256 = "sha256-Z6b245tC6UsTaHTTlKEFH0egb5z8HTmv/554nkileng=";
2019-04-13 14:30:05 +00:00
};
2023-03-19 12:38:02 +00:00
vendorHash = "sha256-Qbi2GfBrVLFbH9SMZOd1JqvD/afkrVOjU4ECkFK+dFA=";
2022-01-31 12:55:14 +00:00
2022-07-26 10:50:08 +00: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 14:30:05 +00:00
meta = with lib; {
description = "foreman clone written in go language";
homepage = "https://github.com/mattn/goreman";
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
}