Merge pull request #146800 from fabaff/aiovlc

This commit is contained in:
Martin Weinelt 2021-11-20 22:58:50 +01:00 committed by GitHub
commit 6ef7e9bdb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, pytest-asyncio
, pytest-timeout
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiovlc";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "MartinHjelmare";
repo = pname;
rev = "v${version}";
sha256 = "jB2V/Wpxmp92wba41mWZAeO63wy3NrkupllGxJMNkFM=";
};
propagatedBuildInputs = [
click
];
checkInputs = [
pytest-asyncio
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [
"aiovlc"
];
meta = with lib; {
description = "Python module to control VLC";
homepage = "https://github.com/MartinHjelmare/aiovlc";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -945,7 +945,7 @@
"vivotek" = ps: with ps; [ ]; # missing inputs: libpyvivotek "vivotek" = ps: with ps; [ ]; # missing inputs: libpyvivotek
"vizio" = ps: with ps; [ pyvizio ]; "vizio" = ps: with ps; [ pyvizio ];
"vlc" = ps: with ps; [ python-vlc ]; "vlc" = ps: with ps; [ python-vlc ];
"vlc_telnet" = ps: with ps; [ ]; # missing inputs: aiovlc "vlc_telnet" = ps: with ps; [ aiovlc ];
"voicerss" = ps: with ps; [ ]; "voicerss" = ps: with ps; [ ];
"volkszaehler" = ps: with ps; [ volkszaehler ]; "volkszaehler" = ps: with ps; [ volkszaehler ];
"volumio" = ps: with ps; [ pyvolumio ]; "volumio" = ps: with ps; [ pyvolumio ];

View file

@ -723,6 +723,7 @@ in with py.pkgs; buildPythonApplication rec {
"vesync" "vesync"
"vilfo" "vilfo"
"vizio" "vizio"
"vlc_telnet"
"voicerss" "voicerss"
"volumio" "volumio"
# disabled, becaused AttributeError: <class 'vultr.vultr.Vultr'> does not have the attribute 'server_list' # disabled, becaused AttributeError: <class 'vultr.vultr.Vultr'> does not have the attribute 'server_list'

View file

@ -401,6 +401,8 @@ in {
aiounittest = callPackage ../development/python-modules/aiounittest { }; aiounittest = callPackage ../development/python-modules/aiounittest { };
aiovlc = callPackage ../development/python-modules/aiovlc { };
aiowatttime = callPackage ../development/python-modules/aiowatttime { }; aiowatttime = callPackage ../development/python-modules/aiowatttime { };
aiowinreg = callPackage ../development/python-modules/aiowinreg { }; aiowinreg = callPackage ../development/python-modules/aiowinreg { };