depot/third_party/nixpkgs/pkgs/development/python-modules/python-linkplay/default.nix

53 lines
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.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Velleman";
repo = "python-linkplay";
tag = "v${version}";
hash = "sha256-voAhqqisBgBOTS9aPcAAFt6OeZ5Eb8RDH0xWjCbEryE=";
};
build-system = [ setuptools ];
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 ];
};
}