{ inputs.nixpkgs.url = "github:nixos/nixpkgs"; outputs = { self, nixpkgs, flake-utils, }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; }; org = "anyproto"; flakePkgs = rec { any-sync-node = with pkgs; buildGoModule rec { name = "any-sync-node"; src = fetchFromGitHub { owner = org; repo = name; rev = "v0.3.34"; hash = "sha256-lp2gV9aBOckjjD5ENWXwRijVQjA8fhxa/nMd+skR9sA="; }; vendorHash = "sha256-0Cs5j1p5AZK1CgCsTt7gOUleAwJFnHPOvlXtretAoe4="; hardeningDisable = ["all"]; }; }; in { packages = flake-utils.lib.flattenTree flakePkgs; devShell = pkgs.mkShell { packages = with pkgs; [ nixfmt-rfc-style ]; }; } ); }