3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/goreman/default.nix

32 lines
724 B
Nix
Raw Normal View History

2022-01-31 12:55:14 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2019-04-13 15:30:05 +01:00
2022-01-31 12:55:14 +00:00
buildGoModule rec {
pname = "goreman";
version = "0.3.9";
rev = "df1209e7cdbad10aecc0aa75d332bc32822925f5";
2019-04-13 15:30:05 +01:00
src = fetchFromGitHub {
owner = "mattn";
repo = "goreman";
rev = "v${version}";
2022-01-31 12:55:14 +00:00
sha256 = "1irjf5i5ybdchyn42bamfq8pj3w00p633h1gg202n0vsr39h0bxw";
2019-04-13 15:30:05 +01:00
};
2022-01-31 12:55:14 +00:00
ldflags = [
"-s"
"-w"
"-X main.revision=${builtins.substring 0 7 rev}"
];
vendorSha256 = "sha256-+RFh6Ppxxs7P7DWqOBeEJTvPsBgOfopMjx22hPEI1/U=";
doCheck = false;
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 ];
};
}