Skip to content

Commit b41d116

Browse files
committed
fix: rely on manifest fully
1 parent 1a2db4e commit b41d116

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "bot"
3+
description = "Telegram bot manager for Uzbek Rust community"
34
version = "0.1.0"
45
edition = "2021"
56
license = "Apache-2.0"

default.nix

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
manifest = (pkgs.lib.importTOML ./Cargo.toml).package;
77
in
88
pkgs.rustPlatform.buildRustPackage {
9-
pname = "bot";
9+
pname = manifest.name;
1010
version = manifest.version;
1111
cargoLock.lockFile = ./Cargo.lock;
1212
src = pkgs.lib.cleanSource ./.;
@@ -43,24 +43,9 @@ in
4343

4444
meta = with lib; {
4545
homepage = manifest.homepage;
46-
description = "Telegram bot manager for Uzbek Rust community";
46+
description = manifest.description;
4747
license = with lib.licenses; [asl20];
48-
4948
platforms = with platforms; linux ++ darwin;
50-
51-
maintainers = [
52-
{
53-
name = "Sokhibjon Orzikulov";
54-
email = "sakhib@orzklv.uz";
55-
handle = "orzklv";
56-
github = "orzklv";
57-
githubId = 54666588;
58-
keys = [
59-
{
60-
fingerprint = "00D2 7BC6 8707 0683 FBB9 137C 3C35 D3AF 0DA1 D6A8";
61-
}
62-
];
63-
}
64-
];
49+
maintainers = [lib.maintainers.orzklv];
6550
};
6651
}

0 commit comments

Comments
 (0)