{ inputs = { nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2311.*.tar.gz"; flake-utils.url = "https://flakehub.com/f/numtide/flake-utils/0.1.88.tar.gz"; }; outputs = { self, nixpkgs, flake-utils, ... }@inputs: { nixosModules = rec { icalproxy = import ./module self; default = icalproxy; }; } // flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; overlays = [ ]; }; icalproxy = pkgs.buildGoModule { name = "icalproxy"; src = ./.; vendorHash = "sha256-l/PQPEZC99umlSr6PBn/dXn2mZN4qf8YMBE8ENOm97I="; }; in { packages.icalproxy = icalproxy; packages.default = self.packages.${system}.icalproxy; devShells.default = pkgs.mkShell { inputsFrom = [ icalproxy ]; }; formatter = pkgs.nixpkgs-fmt; }); }