From 31dd1c41e3d168195c8b475ab21969a2e20cb45f Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 20 Jan 2025 22:15:54 +0100 Subject: [PATCH] chore: update project metadata --- flake.nix | 10 +++++++++- gejdr-backend/Cargo.toml | 2 ++ gejdr-bot/Cargo.toml | 4 ++++ gejdr-core/Cargo.toml | 4 ++++ gejdr-macros/Cargo.toml | 4 ++++ 5 files changed, 23 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a59c7eb..a39f6e7 100644 --- a/flake.nix +++ b/flake.nix @@ -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 "; + "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 ]; }; diff --git a/gejdr-backend/Cargo.toml b/gejdr-backend/Cargo.toml index d4f9b23..9aae718 100644 --- a/gejdr-backend/Cargo.toml +++ b/gejdr-backend/Cargo.toml @@ -4,6 +4,8 @@ version = "0.1.0" edition = "2021" publish = false authors = ["Lucien Cartier-Tilet "] +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 diff --git a/gejdr-bot/Cargo.toml b/gejdr-bot/Cargo.toml index c69aabf..467909c 100644 --- a/gejdr-bot/Cargo.toml +++ b/gejdr-bot/Cargo.toml @@ -2,5 +2,9 @@ name = "gejdr-bot" version = "0.1.0" edition = "2021" +publish = false +authors = ["Lucien Cartier-Tilet "] +license = "AGPL-3.0-or-later" +repository = "https://labs.phundrak.com/phundrak/gejdr-rs" [dependencies] diff --git a/gejdr-core/Cargo.toml b/gejdr-core/Cargo.toml index 60756f7..3920188 100644 --- a/gejdr-core/Cargo.toml +++ b/gejdr-core/Cargo.toml @@ -2,6 +2,10 @@ name = "gejdr-core" version = "0.1.0" edition = "2021" +publish = false +authors = ["Lucien Cartier-Tilet "] +license = "AGPL-3.0-or-later" +repository = "https://labs.phundrak.com/phundrak/gejdr-rs" [dependencies] chrono = { version = "0.4.38", features = ["serde"] } diff --git a/gejdr-macros/Cargo.toml b/gejdr-macros/Cargo.toml index 5c4fdeb..89e9ab1 100644 --- a/gejdr-macros/Cargo.toml +++ b/gejdr-macros/Cargo.toml @@ -2,6 +2,10 @@ name = "gejdr-macros" version = "0.1.0" edition = "2021" +publish = false +authors = ["Lucien Cartier-Tilet "] +license = "AGPL-3.0-or-later" +repository = "https://labs.phundrak.com/phundrak/gejdr-rs" [lib] proc-macro = true