mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
swaglyrics: fix dependencies
This commit is contained in:
parent
4f705210ad
commit
d6e2f6092c
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user