Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / syncedlyrics / default.nix
bloba53740b37253d18bb9ecee6395c40bd3bcdf608c
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , fetchFromGitHub
5 , poetry-core
6 , pythonOlder
7 , pythonRelaxDepsHook
8 , rapidfuzz
9 , requests
12 buildPythonPackage rec {
13   pname = "syncedlyrics";
14   version = "0.9.0";
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-Q0Hu403Hxr4iDuZfGQjgTSuNMVgsqd9zLRl9Vc1YzyQ=";
24   };
26   build-system = [
27     poetry-core
28     pythonRelaxDepsHook
29   ];
31   pythonRelaxDeps = [
32     "rapidfuzz"
33   ];
35   dependencies = [
36     requests
37     rapidfuzz
38     beautifulsoup4
39   ];
41   # Tests require network access
42   doCheck = false;
44   pythonImportsCheck = [
45     "syncedlyrics"
46   ];
48   meta = with lib; {
49     description = "Module to get LRC format (synchronized) lyrics";
50     mainProgram = "syncedlyrics";
51     homepage = "https://github.com/rtcq/syncedlyrics";
52     changelog = "https://github.com/rtcq/syncedlyrics/releases/tag/v${version}";
53     license = licenses.mit;
54     maintainers = with maintainers; [ fab ];
55   };