mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #201877 from thenonameguy/process-compose
process-compose: init at 0.24.1
This commit is contained in:
commit
5e13281594
42
pkgs/applications/misc/process-compose/default.nix
Normal file
42
pkgs/applications/misc/process-compose/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "process-compose";
|
||||
version = "0.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "F1bonacc1";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "TKLLq6I+Mcvdz51m8nydTWcslBcQlJCJFoJ10SgfVWU=";
|
||||
};
|
||||
|
||||
ldflags = [ "-X main.version=v${version}" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
vendorSha256 = "IsO1B6z1/HoGQ8xdNKQqZ/eZd90WikDbU9XiP0z28mU=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{src,process-compose}
|
||||
|
||||
installShellCompletion --cmd process-compose \
|
||||
--bash <($out/bin/process-compose completion bash) \
|
||||
--zsh <($out/bin/process-compose completion zsh) \
|
||||
--fish <($out/bin/process-compose completion fish)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple and flexible scheduler and orchestrator to manage non-containerized applications";
|
||||
homepage = "https://github.com/F1bonacc1/process-compose";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ thenonameguy ];
|
||||
mainProgram = "process-compose";
|
||||
};
|
||||
}
|
@ -17584,6 +17584,8 @@ with pkgs;
|
||||
|
||||
privacyidea = callPackage ../applications/misc/privacyidea { };
|
||||
|
||||
process-compose = callPackage ../applications/misc/process-compose { };
|
||||
|
||||
process-viewer = callPackage ../applications/misc/process-viewer {
|
||||
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user