@@ -0,0 +1,45 @@
1+{ lib
2+, buildPythonPackage
3+, click
4+, fetchFromGitHub
5+, pytest-asyncio
6+, pytest-timeout
7+, pytestCheckHook
8+, pythonOlder
9+}:
10+
11+buildPythonPackage rec {
12+ pname = "aiovlc";
13+ version = "0.1.0";
14+ format = "setuptools";
15+
16+ disabled = pythonOlder "3.8";
17+
18+ src = fetchFromGitHub {
19+ owner = "MartinHjelmare";
20+ repo = pname;
21+ rev = "v${version}";
22+ sha256 = "jB2V/Wpxmp92wba41mWZAeO63wy3NrkupllGxJMNkFM=";
23+ };
24+
25+ propagatedBuildInputs = [
26+ click
27+ ];
28+
29+ checkInputs = [
30+ pytest-asyncio
31+ pytest-timeout
32+ pytestCheckHook
33+ ];
34+
35+ pythonImportsCheck = [
36+ "aiovlc"
37+ ];
38+
39+ meta = with lib; {
40+ description = "Python module to control VLC";
41+ homepage = "https://github.com/MartinHjelmare/aiovlc";
42+ license = licenses.asl20;
43+ maintainers = with maintainers; [ fab ];
44+ };
45+}