python310Packages.syncedlyrics: init at 0.4.0

This commit is contained in:
Fabian Affolter
2023-02-24 22:31:41 +01:00
parent 7d0ed7f2e5
commit 6bb802f7cf
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
, rapidfuzz
, requests
}:
buildPythonPackage rec {
pname = "syncedlyrics";
version = "0.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rtcq";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-dH9irIah9CdZ9Kv7bIymP1o5ifWEYCiSqegUpu8Y+Tg=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
requests
rapidfuzz
beautifulsoup4
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"syncedlyrics"
];
pytestFlagsArray = [
"test.py::test_all_providers"
];
meta = with lib; {
description = "Module to get LRC format (synchronized) lyrics";
homepage = "https://github.com/rtcq/syncedlyrics";
changelog = "https://github.com/rtcq/syncedlyrics/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -11240,6 +11240,8 @@ self: super: with self; {
sympy = callPackage ../development/python-modules/sympy { };
syncedlyrics = callPackage ../development/python-modules/syncedlyrics { };
syncer = callPackage ../development/python-modules/syncer { };
synergy = callPackage ../development/python-modules/synergy { };