mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #113788 from fabaff/pyvolumio
This commit is contained in:
commit
22e6b1aaa6
3 changed files with 35 additions and 1 deletions
32
pkgs/development/python-modules/pyvolumio/default.nix
Normal file
32
pkgs/development/python-modules/pyvolumio/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue