1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 pytest-asyncio,
6 pytestCheckHook,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "py-madvr2";
12 version = "1.6.33";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "iloveicedgreentea";
17 repo = "py-madvr";
18 tag = "v${version}";
19 hash = "sha256-z+PVLz9eApGJ94I/Jp0MyqNpKQwIemk8j+OyqFmIbgI=";
20 };
21
22 build-system = [ setuptools ];
23
24 pythonImportsCheck = [ "madvr" ];
25
26 nativeCheckInputs = [
27 pytest-asyncio
28 pytestCheckHook
29 ];
30
31 meta = {
32 changelog = "https://github.com/iloveicedgreentea/py-madvr/releases/tag/v${version}";
33 description = "Control MadVR Envy over IP";
34 homepage = "https://github.com/iloveicedgreentea/py-madvr";
35 license = lib.licenses.mit;
36 maintainers = with lib.maintainers; [ dotlambda ];
37 };
38}