a48827d898
https://github.com/Sendspin/aiosendspin/releases/tag/1.2.0 diff: https://github.com/Sendspin/aiosendspin/compare/1.1.5...1.2.0
60 lines
985 B
Nix
60 lines
985 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
aiohttp,
|
|
av,
|
|
mashumaro,
|
|
orjson,
|
|
pillow,
|
|
zeroconf,
|
|
|
|
# meta
|
|
music-assistant,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosendspin";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Sendspin";
|
|
repo = "aiosendspin";
|
|
tag = version;
|
|
hash = "sha256-3vTEfXeFqouPswRKST/9U7yg9ah7J9m2KAMoxaBZNR0=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
av
|
|
mashumaro
|
|
orjson
|
|
pillow
|
|
zeroconf
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [
|
|
"aiosendspin"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/Sendspin/aiosendspin/releases/tag/${src.tag}";
|
|
description = "Async Python library implementing the Sendspin Protocol";
|
|
homepage = "https://github.com/Sendspin/aiosendspin";
|
|
license = lib.licenses.asl20;
|
|
inherit (music-assistant.meta) maintainers;
|
|
};
|
|
}
|