mopidy-spotify: 4.1.1-unstable-2024-02-27 -> 5.0.0a2
Diff: https://github.com/mopidy/mopidy-spotify/compare/v4.1.1...v5.0.0a2 Changelog: https://github.com/mopidy/mopidy-spotify/releases/tag/v5.0.0a2
This commit is contained in:
parent
beac2a59f9
commit
03023c3acb
@ -6,26 +6,45 @@
|
|||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "mopidy-spotify";
|
pname = "mopidy-spotify";
|
||||||
version = "4.1.1-unstable-2024-02-27";
|
version = "5.0.0a2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mopidy";
|
owner = "mopidy";
|
||||||
repo = "mopidy-spotify";
|
repo = "mopidy-spotify";
|
||||||
rev = "112d4abbb3f5b6477dab796f2824fa42196bfa0a";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-RkXDzAbOOll3uCNZ2mFRnjqMkT/NkXOGjywLRTC9i60=";
|
hash = "sha256-QeABG9rQKJ8sIoK38R74N0s5rRG+zws7AZR0xPysdcY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ pythonPackages.setuptools ];
|
build-system = [ pythonPackages.setuptools ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
mopidy
|
mopidy
|
||||||
pythonPackages.responses
|
pythonPackages.pykka
|
||||||
|
pythonPackages.requests
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pythonPackages.pytestCheckHook ];
|
optional-dependencies = {
|
||||||
|
lint = with pythonPackages; [
|
||||||
|
black
|
||||||
|
check-manifest
|
||||||
|
flake8
|
||||||
|
flake8-bugbear
|
||||||
|
isort
|
||||||
|
];
|
||||||
|
|
||||||
|
test = with pythonPackages; [
|
||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
responses
|
||||||
|
];
|
||||||
|
|
||||||
|
dev = optional-dependencies.lint ++ optional-dependencies.test ++ [ pythonPackages.tox ];
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeCheckInputs = [ pythonPackages.pytestCheckHook ] ++ optional-dependencies.test;
|
||||||
|
|
||||||
pythonImportsCheck = [ "mopidy_spotify" ];
|
pythonImportsCheck = [ "mopidy_spotify" ];
|
||||||
|
|
||||||
@ -36,6 +55,7 @@ pythonPackages.buildPythonApplication {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "Mopidy extension for playing music from Spotify";
|
description = "Mopidy extension for playing music from Spotify";
|
||||||
homepage = "https://github.com/mopidy/mopidy-spotify";
|
homepage = "https://github.com/mopidy/mopidy-spotify";
|
||||||
|
changelog = "https://github.com/mopidy/mopidy-spotify/releases/tag/v${version}";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ getchoo ];
|
maintainers = with lib.maintainers; [ getchoo ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user