{ buildGoModule, fetchFromGitHub, lib }: buildGoModule rec { pname = "railway"; version = "2.1.0"; src = fetchFromGitHub { owner = "railwayapp"; repo = "cli"; rev = "v${version}"; sha256 = "sha256-JpIy8u6L7yOZgTFxFft+vhcat3uPT9EvOXAQOmrpvpc="; }; ldflags = [ "-s" "-w" ]; vendorHash = "sha256-nLuomuAScodgLUKzMTiygtFBnNHrqAojOySZgKLVGJY="; postInstall = '' mv $out/bin/cli $out/bin/railway ''; meta = with lib; { description = "Railway CLI"; homepage = "https://railway.app"; license = licenses.mit; maintainers = with maintainers; [ Crafter ]; }; }