ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / pb / pbpctrl / package.nix
blob782fb1ac926b782e7d1e1634e353c791826704fc
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , dbus
6 , protobuf
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "pbpctrl";
11   version = "0.1.7";
13   src = fetchFromGitHub {
14     owner = "qzed";
15     repo = "${pname}";
16     rev = "v${version}";
17     hash = "sha256-u5I3Hs00JDPRBwThYTEmNiZj/zPVfHyyrt4E68d13do=";
18   };
20   cargoHash = "sha256-W59TRrFSm/IrStH9YitoG6nLs9pesDmL9+/DHnty3nw=";
22   nativeBuildInputs = [ pkg-config protobuf ];
23   buildInputs = [ dbus ];
25   meta = with lib; {
26     description = "Control Google Pixel Buds Pro from the Linux command line";
27     homepage = "https://github.com/qzed/pbpctrl";
28     license = with licenses; [ asl20 mit ];
29     maintainers = with maintainers; [ vanilla cafkafk ];
30     platforms = platforms.linux;
31     mainProgram = "pbpctrl";
32   };