mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
31 lines
745 B
Nix
31 lines
745 B
Nix
{ lib, buildGoModule, fetchFromGitHub, testers, goreman }:
|
|
|
|
buildGoModule rec {
|
|
pname = "goreman";
|
|
version = "0.3.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattn";
|
|
repo = "goreman";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Z6b245tC6UsTaHTTlKEFH0egb5z8HTmv/554nkileng=";
|
|
};
|
|
|
|
vendorHash = "sha256-Qbi2GfBrVLFbH9SMZOd1JqvD/afkrVOjU4ECkFK+dFA=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = goreman;
|
|
command = "goreman version";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "foreman clone written in go language";
|
|
mainProgram = "goreman";
|
|
homepage = "https://github.com/mattn/goreman";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
};
|
|
}
|