8 python3.pkgs.buildPythonApplication rec {
10 version = "unstable-2021-06-17";
11 format = "setuptools";
13 src = fetchFromGitHub {
15 repo = "SwagLyrics-For-Spotify";
16 rev = "99fe764a9e45cac6cb9fcdf724c7d2f8cb4524fb";
17 hash = "sha256-O48T1WsUIVnNQb8gmzSkFFHTOiFOKVSAEYhF9zUqZz0=";
21 substituteInPlace setup.py \
25 propagatedBuildInputs = with python3.pkgs; [
48 export HOME=$(mktemp -d)
52 # Disable tests which touch network
53 "test_database_for_unsupported_song"
54 "test_that_lyrics_works_for_unsupported_songs"
55 "test_that_get_lyrics_works"
56 "test_lyrics_are_shown_in_tab"
57 "test_songchanged_can_raise_songplaying"
60 pythonImportsCheck = [
65 description = "Lyrics fetcher for currently playing Spotify song";
66 homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify";
67 license = licenses.mit;
68 maintainers = with maintainers; [ siraben ];
69 mainProgram = "swaglyrics";