From ab7ed101a137cb2ed5b483c998c14c6a34cda15f Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Sat, 26 Oct 2024 09:05:20 -0400 Subject: [PATCH] host-spawn: init at 1.6.0 (#349674) * host-spawn: init at 1.6.0 * Update `license` and `platforms` --- pkgs/by-name/ho/host-spawn/package.nix | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/ho/host-spawn/package.nix diff --git a/pkgs/by-name/ho/host-spawn/package.nix b/pkgs/by-name/ho/host-spawn/package.nix new file mode 100644 index 000000000000..6fd12d0968e6 --- /dev/null +++ b/pkgs/by-name/ho/host-spawn/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "host-spawn"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "1player"; + repo = "host-spawn"; + rev = "v${version}"; + hash = "sha256-017o50MSSkehn4zMEdCTPW2o2IQaXbI21z8Z+jfRuDs="; + }; + + vendorHash = "sha256-Agc3hl+VDTNW7cnh/0g4G8BgzNAX11hKASYQKieBN4M="; + + meta = with lib; { + homepage = "https://github.com/1player/host-spawn"; + description = "Run commands on your host machine from inside your flatpak sandbox, toolbox or distrobox containers"; + license = licenses.mit0; + platforms = platforms.linux; + maintainers = with maintainers; [ garrison ]; + mainProgram = "host-spawn"; + }; +}