mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 09:10:08 +00:00
Diff: https://github.com/music-assistant/client/compare/v1.4.3...v1.5.1 Changelog: https://github.com/music-assistant/client/releases/tag/v1.5.1
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pyprojectVersionPatchHook,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
aiohttp,
|
|
music-assistant-models,
|
|
orjson,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "music-assistant-client";
|
|
version = "1.5.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "music-assistant";
|
|
repo = "client";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-8EsLeRtPH/YZyl8uKyzA1L5n+6lkGAFqYipVbaW4sSg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pyprojectVersionPatchHook ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
music-assistant-models
|
|
orjson
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [
|
|
"music_assistant_client"
|
|
];
|
|
|
|
meta = {
|
|
description = "Python client to interact with the Music Assistant Server API";
|
|
homepage = "https://github.com/music-assistant/client";
|
|
changelog = "https://github.com/music-assistant/client/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
})
|