{ description = "softether-go - Standalone SoftEther VPN client in Go"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { packages.default = pkgs.buildGoModule { pname = "softether-go"; version = "0.1.0"; src = ./.; vendorHash = null; subPackages = [ "cmd/softether-go" ]; meta = with pkgs.lib; { description = "Standalone SoftEther VPN client"; license = licenses.mit; platforms = platforms.linux; }; }; devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ go gopls gotools ]; }; } ); }