swaglyrics: fix dependencies

This commit is contained in:
Sandro Jäckel 2022-07-20 14:47:08 +02:00 committed by Martin Weinelt
parent 4f705210ad
commit d6e2f6092c

View File

@ -16,6 +16,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-O48T1WsUIVnNQb8gmzSkFFHTOiFOKVSAEYhF9zUqZz0="; hash = "sha256-O48T1WsUIVnNQb8gmzSkFFHTOiFOKVSAEYhF9zUqZz0=";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace "==" ">="
'';
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4 beautifulsoup4
colorama colorama
@ -35,13 +40,6 @@ python3.pkgs.buildPythonApplication rec {
ncurses ncurses
]; ];
preConfigure = ''
substituteInPlace setup.py \
--replace 'beautifulsoup4==4.9.3' 'beautifulsoup4>=4.9.3' \
--replace 'unidecode==1.2.0' 'unidecode>=1.2.0' \
--replace 'flask==2.0.1' 'flask>=2.0.1'
'';
preBuild = '' preBuild = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
''; '';
@ -64,6 +62,5 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify"; homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ siraben ]; maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
}; };
} }