Add flake default package

This commit is contained in:
Victor Mignot 2023-04-23 16:27:53 +02:00
parent 62da46998f
commit 96cd51c5ce
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

View file

@ -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 = [
(