Merge pull request #146800 from fabaff/aiovlc
This commit is contained in:
commit
6ef7e9bdb7
4 changed files with 49 additions and 1 deletions
45
pkgs/development/python-modules/aiovlc/default.nix
Normal file
45
pkgs/development/python-modules/aiovlc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -945,7 +945,7 @@
|
|||
"vivotek" = ps: with ps; [ ]; # missing inputs: libpyvivotek
|
||||
"vizio" = ps: with ps; [ pyvizio ];
|
||||
"vlc" = ps: with ps; [ python-vlc ];
|
||||
"vlc_telnet" = ps: with ps; [ ]; # missing inputs: aiovlc
|
||||
"vlc_telnet" = ps: with ps; [ aiovlc ];
|
||||
"voicerss" = ps: with ps; [ ];
|
||||
"volkszaehler" = ps: with ps; [ volkszaehler ];
|
||||
"volumio" = ps: with ps; [ pyvolumio ];
|
||||
|
|
|
@ -723,6 +723,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"vesync"
|
||||
"vilfo"
|
||||
"vizio"
|
||||
"vlc_telnet"
|
||||
"voicerss"
|
||||
"volumio"
|
||||
# disabled, becaused AttributeError: <class 'vultr.vultr.Vultr'> does not have the attribute 'server_list'
|
||||
|
|
|
@ -401,6 +401,8 @@ in {
|
|||
|
||||
aiounittest = callPackage ../development/python-modules/aiounittest { };
|
||||
|
||||
aiovlc = callPackage ../development/python-modules/aiovlc { };
|
||||
|
||||
aiowatttime = callPackage ../development/python-modules/aiowatttime { };
|
||||
|
||||
aiowinreg = callPackage ../development/python-modules/aiowinreg { };
|
||||
|
|
Loading…
Reference in a new issue