python3Packages.aiovlc: init at 0.1.0

This commit is contained in:
Fabian Affolter 2021-11-20 21:36:52 +01:00
parent 293e6f0ce5
commit 24cfd348b1
2 changed files with 47 additions and 0 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

@ -399,6 +399,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 { };