hoyolab-claim-bot/default.nix

29 lines
628 B
Nix
Raw Normal View History

2024-07-04 13:02:10 +03:00
{
lib,
rustPlatform,
openssl,
pkg-config,
}:
2024-02-02 20:49:17 +03:00
rustPlatform.buildRustPackage {
pname = "hoyolab-claim-bot";
2024-07-04 13:02:10 +03:00
version = "1.1.0";
src = lib.cleanSource (
builtins.path {
path = ./.;
name = "hoyolab-claim-bot";
}
);
2024-02-02 20:49:17 +03:00
cargoLock.lockFile = ./Cargo.lock;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "Hoyolab daily claim bot for Hoyoverse games";
homepage = "https://github.com/AtaraxiaSjel/hoyolab-claim-bot";
license = licenses.mit;
maintainers = with maintainers; [ ataraxiasjel ];
2024-07-04 13:02:10 +03:00
platforms = platforms.linux;
2024-02-02 20:49:17 +03:00
};
2024-07-04 13:02:10 +03:00
}