f489a6e46e
CI / build-ubuntu (, default) (push) Has been cancelled
CI / build-ubuntu (--features networking, networking) (push) Has been cancelled
CI / build-ubuntu (--no-default-features, no-default-features) (push) Has been cancelled
CI / build-debian (push) Has been cancelled
CI / build-fedora (push) Has been cancelled
CI / build-arch (push) Has been cancelled
CI / build-opensuse (push) Has been cancelled
- Add new system.rs module for system monitoring via D-Bus: - Battery status (UPower) - Media player controls and metadata (MPRIS) - WiFi/Bluetooth status (NetworkManager) - Keyboard layout tracking - Add media key support (XF86 Play/Pause/Next/Prev) - Add function keys F1-F3 for Suspend/Reboot/PowerOff - Replace deprecated timer.rs with async system management - Add GitHub Actions CI/CD workflows (CI + Release) - Update dependencies and add optional networking feature
24 lines
372 B
Nix
24 lines
372 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.rustPlatform.buildRustPackage {
|
|
pname = "rustlock";
|
|
version = "0.1.0";
|
|
src = ./.;
|
|
cargoLock = { lockFile = ./Cargo.lock; };
|
|
|
|
buildInputs = with pkgs; [
|
|
cairo
|
|
pam
|
|
gdk-pixbuf
|
|
librsvg
|
|
pango
|
|
libxkbcommon
|
|
dbus
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgs.pkg-config
|
|
pkgs.rustPlatform.bindgenHook
|
|
];
|
|
}
|