Merge pull request #113788 from fabaff/pyvolumio

This commit is contained in:
Sandro 2021-02-21 05:30:22 +01:00 committed by GitHub
commit 22e6b1aaa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,32 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyvolumio";
version = "0.1.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "OnFreund";
repo = "PyVolumio";
rev = "v${version}";
sha256 = "0x2dzmd9lwnak2iy6v54y24qjq37y3nlfhsvx7hddgv8jj1klvap";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyvolumio" ];
meta = with lib; {
description = "Python module to control Volumio";
homepage = "https://github.com/OnFreund/PyVolumio";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -911,7 +911,7 @@
"vlc_telnet" = ps: with ps; [ ]; # missing inputs: python-telnet-vlc
"voicerss" = ps: with ps; [ ];
"volkszaehler" = ps: with ps; [ volkszaehler ];
"volumio" = ps: with ps; [ ]; # missing inputs: pyvolumio
"volumio" = ps: with ps; [ pyvolumio ];
"volvooncall" = ps: with ps; [ ]; # missing inputs: volvooncall
"vultr" = ps: with ps; [ vultr ];
"w800rf32" = ps: with ps; [ ]; # missing inputs: pyW800rf32

View File

@ -6606,6 +6606,8 @@ in {
pyvmomi = callPackage ../development/python-modules/pyvmomi { };
pyvolumio = callPackage ../development/python-modules/pyvolumio { };
pyvoro = callPackage ../development/python-modules/pyvoro { };
pywal = callPackage ../development/python-modules/pywal { };