summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-25 22:59:54 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-29 17:35:21 -0400
commit1859296186d22cae6eceb1acbd9d3e347d2e76db (patch)
treeaeca22dabaabdb82c014038e82549ab30ca20522 /Cargo.toml
parentc85201406bf351298832f136b2a89a1bf5b17202 (diff)
Package `hi` for Debian.
This commit provides a Docker-based build process for generating `.deb` packages, which can be run in Docker Desktop. I don't love it, but it's the best option I have _right now_ for doing this. The resulting packages: * Install `hi` (and `hi-recanonicalize`), in `/usr/bin`. * Create a user (`hi`) and a data directory (`/var/lib/hi`). * Create and start a systemd service unit for `hi`. Packages are built for arm64 and amd64 (aka x86_64).
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 989f8cc..03b6a67 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,16 @@ version = "0.1.0"
edition = "2021"
rust-version = "1.82"
default-run = "hi"
+authors = [
+ "Owen Jacobson <hi@grimoire.ca>",
+ "Kit La Touche <kit@transneptune.net>",
+]
+
+[package.metadata.deb]
+maintainer = "Owen Jacobson <hi@grimoire.ca>"
+maintainer-scripts = "debian"
+
+[package.metadata.deb.systemd-units]
[dependencies]
argon2 = "0.5.3"