{ description = "MusicLink Bot - A link converter sidecar for Matterbridge"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { packages.default = pkgs.buildGoModule { pname = "musiclink"; version = "0.1.0"; src = ./.; # Run 'nix build' and update this hash if dependencies change vendorHash = "sha256-Upjt0Q2G6x5vGf0bG0TS9uWrHBow8/cQsZexhMgVb2I="; subPackages = [ "cmd/musiclink" ]; meta = with pkgs.lib; { description = "Music link converter bot for Matterbridge"; homepage = "https://github.com/dan/musiclink"; license = licenses.mit; maintainers = [ ]; }; }; devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ go gopls gotools matterbridge ]; }; } ); }