nixpkgs/pkgs/applications/misc/hivemind/default.nix

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

28 lines
716 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, runtimeShell }:
2018-12-05 09:31:08 +01:00
buildGoModule rec {
pname = "hivemind";
version = "1.1.0";
2018-12-05 09:31:08 +01:00
postPatch = ''
substituteInPlace process.go --replace \"/bin/sh\" \"${runtimeShell}\"
'';
2018-12-05 09:31:08 +01:00
src = fetchFromGitHub {
owner = "DarthSim";
repo = "hivemind";
rev = "v${version}";
2023-08-29 08:33:47 +02:00
hash = "sha256-YUR9OwRuH1xSPs8iTsSIjLCt2TyYH357IAYULGTyYUc=";
2018-12-05 09:31:08 +01:00
};
2023-08-29 08:33:47 +02:00
vendorHash = "sha256-KweFhT8Zueg45Q/vw3kNET35hB+0WbUPfz0FYaAiIA8=";
2018-12-05 09:31:08 +01:00
meta = with lib; {
homepage = "https://github.com/DarthSim/";
2018-12-05 09:31:08 +01:00
description = "Process manager for Procfile-based applications";
license = with licenses; [ mit ];
maintainers = [ maintainers.sveitser ];
2024-02-11 03:19:15 +01:00
mainProgram = "hivemind";
2018-12-05 09:31:08 +01:00
};
}