add: live-buds-cli, nil language server
This commit is contained in:
parent
ccffa13eb2
commit
6ef601aaa0
5 changed files with 327 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs ? (import ../nixpkgs.nix) { } }: {
|
||||
|
||||
nvchad = pkgs.callPackage ./nvchad { };
|
||||
live-buds-cli = pkgs.callPackage ./live-buds-cli { };
|
||||
|
||||
}
|
||||
|
|
|
|||
26
pkgs/live-buds-cli/default.nix
Normal file
26
pkgs/live-buds-cli/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, stdenv, pkgconfig, dbus, libpulseaudio, bluez }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "live-buds-cli";
|
||||
version = "0.1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JojiiOfficial";
|
||||
repo = "LiveBudsCli";
|
||||
rev = "v${version}";
|
||||
sha256 = "A4XQiJrk4ehb6+935L2JFOeAhUJ7bdukV5mL0Jxn0sQ=";
|
||||
|
||||
};
|
||||
|
||||
cargoSha256 = "w/dt7Q9TACw5N/+QNAKMUEngf8sAhWyGslnw3B16crQ="; # you will need to determine this hash
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libpulseaudio bluez dbus ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free cli tool to control your Galaxy buds live, Galaxy Buds+, Galaxy Buds Pro, Galaxy Buds 2 and Galaxy Buds 2 Pro";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.ooks-io ]; # replace with your maintainer info
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue