Merge pull request #300588 from dotlambda/spotdl

spotdl: 4.2.4 -> 4.2.5
This commit is contained in:
Fabian Affolter 2024-04-06 10:53:38 +02:00 committed by GitHub
commit 7aa4c722e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 10 deletions

View File

@ -8,30 +8,37 @@
, pytest-benchmark
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "pykakasi";
version = "2.2.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "miurahr";
repo = pname;
repo = "pykakasi";
rev = "refs/tags/v${version}";
hash = "sha256-ivlenHPD00bxc0c9G368tfTEckOC3vqDB5kMQzHXbVM==";
};
nativeBuildInputs = [
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "klepto"' ""
'';
build-system = [
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
jaconv
deprecated
setuptools
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];

View File

@ -9,24 +9,24 @@ let
python = python3;
in python.pkgs.buildPythonApplication rec {
pname = "spotdl";
version = "4.2.4";
version = "4.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "spotDL";
repo = "spotify-downloader";
rev = "refs/tags/v${version}";
hash = "sha256-U0UA94t7WdCeU9Y86rcnT8BzXVx8ryhD3MTJxmNBYcc=";
hash = "sha256-vxMhFs2mLbVQndlC2UpeDP+M4pwU9Y4cZHbZ8y3vWbI=";
};
nativeBuildInputs = with python.pkgs; [
build-system = with python.pkgs; [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = true;
propagatedBuildInputs = with python.pkgs; [
dependencies = with python.pkgs; [
spotipy
ytmusicapi
pytube
@ -43,10 +43,8 @@ in python.pkgs.buildPythonApplication rec {
platformdirs
pykakasi
syncedlyrics
typing-extensions
soundcloud-v2
bandcamp-api
setuptools # for pkg_resources
] ++ python-slugify.optional-dependencies.unidecode;
nativeCheckInputs = with python.pkgs; [