anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / syncedlyrics / default.nix
blob40a69fc50322a56be784026bbfc67fede2cfe7ee
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   fetchFromGitHub,
6   poetry-core,
7   pythonOlder,
8   rapidfuzz,
9   requests,
12 buildPythonPackage rec {
13   pname = "syncedlyrics";
14   version = "1.0.1";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "rtcq";
21     repo = "syncedlyrics";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-rKYze8Z7F6cEkpex6UCFUW9+mf2UWT+T86C5COhYQHY=";
24   };
26   build-system = [
27     poetry-core
28   ];
30   pythonRelaxDeps = [ "rapidfuzz" ];
32   dependencies = [
33     requests
34     rapidfuzz
35     beautifulsoup4
36   ];
38   # Tests require network access
39   doCheck = false;
41   pythonImportsCheck = [ "syncedlyrics" ];
43   meta = with lib; {
44     description = "Module to get LRC format (synchronized) lyrics";
45     homepage = "https://github.com/rtcq/syncedlyrics";
46     changelog = "https://github.com/rtcq/syncedlyrics/releases/tag/v${version}";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49     mainProgram = "syncedlyrics";
50   };