{ buildGoModule , fetchFromGitHub , installShellFiles , lib }: buildGoModule rec { pname = "devbox"; version = "0.1.2"; src = fetchFromGitHub { owner = "jetpack-io"; repo = pname; rev = version; hash = "sha256-AUZPMNGhYimoqcFNeYg5lj3NGDnna5XE4plC9eEDVXg="; }; ldflags = [ "-s" "-w" "-X go.jetpack.io/devbox/build.Version=${version}" ]; # integration tests want file system access doCheck = false; vendorHash = "sha256-tnQCRrpOI1qgsouI7pLO4gLTDwEiHZV1KeNSy07wS4o="; nativeBuildInputs = [ installShellFiles ]; postInstall = '' installShellCompletion --cmd devbox \ --bash <($out/bin/devbox completion bash) \ --fish <($out/bin/devbox completion fish) \ --zsh <($out/bin/devbox completion zsh) ''; meta = with lib; { description = "Instant, easy, predictable shells and containers."; homepage = "https://www.jetpack.io/devbox"; license = licenses.asl20; maintainers = with maintainers; [ urandom ]; }; }