thruster: init at 0.1.19 (#488532)
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildGo126Module,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGo126Module (finalAttrs: {
|
||||
pname = "thruster";
|
||||
version = "0.1.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "basecamp";
|
||||
repo = "thruster";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Bavw7w/3AWRqiMVGpsazmVOIGcqkZPAWVBOQRRlnaS0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-i5u1quR5V0ceFwRDW0Vym+9/dFUwzp9Wc1JrM0KGgY8=";
|
||||
|
||||
subPackages = [ "cmd/thrust" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Zero-config HTTP/2 proxy for Rails applications";
|
||||
homepage = "https://github.com/basecamp/thruster";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ philocalyst ];
|
||||
mainProgram = "thrust";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user