mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-15 09:17:31 -08:00
add pySVS for controlling SVS subwoofers
This commit is contained in:
parent
d542cbffd8
commit
b0050bc305
@ -12,6 +12,7 @@ in {
|
||||
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux
|
||||
ifuse # fuse filesystem implementation to access the contents of iOS devices
|
||||
usbtop
|
||||
pySVS # control SVS subwoofers from the command-line
|
||||
];
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
@ -8,4 +8,5 @@ final: prev: {
|
||||
gnome-set-panel-monitor = final.callPackage ../pkgs/gnome-set-panel-monitor.nix {};
|
||||
gnome-fullscreen-to-empty-workspace = final.callPackage ../pkgs/gnome-fullscreen-to-empty-workspace.nix {};
|
||||
ryujinx = final.callPackage ../pkgs/ryujinx/default.nix {};
|
||||
pySVS = final.callPackage ../pkgs/pySVS.nix {};
|
||||
}
|
||||
|
33
provision/pkgs/pySVS.nix
Normal file
33
provision/pkgs/pySVS.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib, stdenv, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pySVS";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "starr-dusT";
|
||||
repo = "pySVS";
|
||||
rev = "5c483d96c58aab77a18b64f3003dd67be584977c";
|
||||
sha256 = "sha256-2j4bIGmuQOBuRAy4s6M56USbrJ2SGK3cFYc3AkQ6lKg=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
requests
|
||||
bleak
|
||||
pillow
|
||||
setuptools
|
||||
];
|
||||
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/starr-dusT/pySVS";
|
||||
description = "Python CLI for controlling SVS subwoofers over bluetooth.";
|
||||
mainProgram = "pySVS";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.starr-dusT ];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user