Add flake default package
This commit is contained in:
parent
62da46998f
commit
96cd51c5ce
15
flake.nix
15
flake.nix
|
@ -17,6 +17,21 @@
|
||||||
in
|
in
|
||||||
with pkgs;
|
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 {
|
devShells.default = mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue