159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
41 lines
910 B
Nix
41 lines
910 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-madvr2";
|
|
version = "1.6.32";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iloveicedgreentea";
|
|
repo = "py-madvr";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-yD8DNhYG9oauEGKnX8Qnh0oSwG/AZa8FIRtHVq4DyTE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "madvr" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
# https://github.com/iloveicedgreentea/py-madvr/issues/12
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/iloveicedgreentea/py-madvr/releases/tag/${version}";
|
|
description = "Control MadVR Envy over IP";
|
|
homepage = "https://github.com/iloveicedgreentea/py-madvr";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|