depot/third_party/nixpkgs/pkgs/development/python-modules/python-linkplay/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

55 lines
1.1 KiB
Nix

{
aiofiles,
aiohttp,
appdirs,
async-timeout,
async-upnp-client,
buildPythonPackage,
deprecated,
fetchFromGitHub,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "python-linkplay";
version = "0.0.11";
pyproject = true;
src = fetchFromGitHub {
owner = "Velleman";
repo = "python-linkplay";
rev = "refs/tags/v${version}";
hash = "sha256-IFDVIUBB/8FZMn6CKmZBbOEB3ghzer7Fe6YLhwtjJSU=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [ "aiofiles" ];
dependencies = [
aiofiles
aiohttp
appdirs
async-timeout
async-upnp-client
deprecated
];
pythonImportsCheck = [ "linkplay" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/Velleman/python-linkplay/releases/tag/v${version}";
description = "Python Library for Seamless LinkPlay Device Control";
homepage = "https://github.com/Velleman/python-linkplay";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}