diff --git a/flake.nix b/flake.nix index f800649..2651b01 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,21 @@ in with pkgs; { + packages.default = pkgs.rustPlatform.buildRustPackage rec { + pname = "yorokobot"; + version = "0.1.0"; + + src = self; + + cargoSha256 = "sha256-iPHtsaIXw1WdyFZPaTlbwhBF35PvM/oM6jCxxeQ1+58="; + + meta = with pkgs.lib; { + description = "Discord bot implementing a topic management system"; + homepage = "https://sr.ht/~dala/yorokobot"; + license = licenses.agpl3; + }; + }; + devShells.default = mkShell { buildInputs = [ (