zaphyra's git: airpodsctl

Control and monitor your AirPods

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
{
  lib,
  fetchFromGitHub,
  unstable,
  pkg-config,
  dbus
}:

unstable.rustPlatform.buildRustPackage (finalAttrs: {
  pname = "kAirPodsd";
  version = "0.2.0";

  src = "${fetchFromGitHub {
    owner = "can1357";
    repo = "kAirPods";
    tag = "v${finalAttrs.version}";
    hash = "sha256-+FifFWwd4aAEk5ihDGVbTrW8f3AVnPZwBoPgM6VECu0=";
  }}/service";

  cargoHash = "sha256-y/WO0y3IPdhXOnsa+//HLXWEk7gs+MH0K62QUcnveiw=";

  buildType = "debug";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    dbus
  ];

  meta = {
    description = "Daemon from kAirPods";
    homepage = "https://github.com/can1357/kAirPods";
    mainProgram = "kairpodsd";
    license = lib.licenses.gpl3;
    maintainers = [ ];
  };
})