depot/third_party/nixpkgs/pkgs/development/python-modules/python-linkplay/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02: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.15";
pyproject = true;
src = fetchFromGitHub {
owner = "Velleman";
repo = "python-linkplay";
rev = "refs/tags/v${version}";
hash = "sha256-PDkDZchAXxrmjg7G/dbbUyZUS8dNrOppH96mLLdwK1s=";
};
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 ];
};
}