1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "host-spawn";
9 version = "1.6.2";
10
11 src = fetchFromGitHub {
12 owner = "1player";
13 repo = "host-spawn";
14 rev = "v${version}";
15 hash = "sha256-bCEyoHsISZ2K7fOsOOAhZRv/a6RptVDlwSspomacb/0=";
16 };
17
18 vendorHash = "sha256-Agc3hl+VDTNW7cnh/0g4G8BgzNAX11hKASYQKieBN4M=";
19
20 meta = with lib; {
21 homepage = "https://github.com/1player/host-spawn";
22 description = "Run commands on your host machine from inside your flatpak sandbox, toolbox or distrobox containers";
23 license = licenses.mit0;
24 platforms = platforms.linux;
25 maintainers = with maintainers; [ garrison ];
26 mainProgram = "host-spawn";
27 };
28}