mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-02 19:00:12 +00:00
53 lines
1.0 KiB
Nix
53 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pillow,
|
|
pyprojectVersionPatchHook,
|
|
pytest-asyncio,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aioslimproto";
|
|
version = "3.6.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "music-assistant";
|
|
repo = "aioslimproto";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-2los1xXJpVVEX/jutr46CSlRstioSOCcgchIcGSK2NI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pyprojectVersionPatchHook
|
|
];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
pillow
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aioslimproto" ];
|
|
|
|
meta = {
|
|
description = "Module to control Squeezebox players";
|
|
homepage = "https://github.com/music-assistant/aioslimproto";
|
|
changelog = "https://github.com/music-assistant/aioslimproto/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|