chore: update project metadata

This commit is contained in:
Lucien Cartier-Tilet 2025-01-20 22:15:54 +01:00
parent e18533fecc
commit 6455ca0edd
Signed by: phundrak
GPG Key ID: 347803E8073EACE0
5 changed files with 23 additions and 1 deletions

View File

@ -18,12 +18,13 @@
rustc = rustVersion;
};
backendVersion = "0.1.0";
appNameBackend = "gejdr-backend";
appNameBot = "gejdr-bot";
appRustBuildBackend = rustPlatform.buildRustPackage {
pname = appNameBackend;
version = "0.1.0";
version = backendVersion;
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
buildPhase = ''
@ -62,6 +63,13 @@ SQLX_OFFLINE="1" cargo build --release --bin gejdr-bot
Entrypoint = [ "${appRustBuildBot}/bin/${appNameBot}" ];
Env = [ "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
Tag = "latest";
Label = {
"maintainer" = "Lucien Cartier-Tilet <lucien@phundrak.com>";
"version" = backendVersion;
"description" = "Backend for GéJDR, a Discord helper tool for the TTRPG L'Anneau Unique";
"source" = "https://labs.phundrak.com/phundrak/gejdr-rs";
"licenses" = "AGPL-3.0-or-later";
};
};
contents = [ appRustBuildBot pkgs.cacert ];
};

View File

@ -4,6 +4,8 @@ version = "0.1.0"
edition = "2021"
publish = false
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
license = "AGPL-3.0-or-later"
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,5 +2,9 @@
name = "gejdr-bot"
version = "0.1.0"
edition = "2021"
publish = false
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
license = "AGPL-3.0-or-later"
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
[dependencies]

View File

@ -2,6 +2,10 @@
name = "gejdr-core"
version = "0.1.0"
edition = "2021"
publish = false
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
license = "AGPL-3.0-or-later"
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
[dependencies]
chrono = { version = "0.4.38", features = ["serde"] }

View File

@ -2,6 +2,10 @@
name = "gejdr-macros"
version = "0.1.0"
edition = "2021"
publish = false
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
license = "AGPL-3.0-or-later"
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
[lib]
proc-macro = true