add even more metadata to Cargo.toml

Also just parse the `Cargo.toml` for the nix `meta` attribute.
This commit is contained in:
wucke13
2023-02-24 10:51:00 +01:00
parent 462efa73d7
commit 036eeffbbb
2 changed files with 2 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["Karolin Varner <karo@cupdev.net>", "wucke13 <wucke13@gmail.com>"] authors = ["Karolin Varner <karo@cupdev.net>", "wucke13 <wucke13@gmail.com>"]
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "Build post-quantum-secure VPNs with WireGuard!"
homepage = "https://rosenpass.eu/" homepage = "https://rosenpass.eu/"
repository = "https://github.com/rosenpass/rosenpass" repository = "https://github.com/rosenpass/rosenpass"

View File

@@ -110,10 +110,9 @@
'' else ""; '' else "";
meta = with pkgs.lib; { meta = with pkgs.lib; {
description = "Post-quantum crypto frontend for WireGuard"; inherit (cargoToml.package) description homepage;
license = with licenses; [ mit asl20 ]; license = with licenses; [ mit asl20 ];
maintainers = [ maintainers.wucke13 ]; maintainers = [ maintainers.wucke13 ];
homepage = "https://rosenpass.eu/";
platforms = platforms.all; platforms = platforms.all;
}; };
}; };