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"; + }; +}