Unverified Commit 3ab4abae authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python3Packages.lrclibapi: init at 0.3.1 (#373542)

parents e272e727 85861a40
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  requests,
  vcrpy,
  pytestCheckHook,
}:
buildPythonPackage rec {
  pname = "lrclibapi";
  version = "0.3.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Dr-Blank";
    repo = "lrclibapi";
    tag = "v${version}";
    hash = "sha256-K5wO3BexftnWe48loaW8TjySQvh2X+X3GSmG5qg+BGc=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    requests
  ];

  pythonImportsCheck = [
    "lrclib"
  ];

  nativeCheckInputs = [
    pytestCheckHook
    vcrpy
  ];

  meta = {
    homepage = "https://github.com/Dr-Blank/lrclibapi";
    changelog = "https://github.com/Dr-Blank/lrclibapi/releases/tag/v${version}";
    description = "Python wrapper for downloading synced lyrics from the lrclib.net api";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ DataHearth ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7735,6 +7735,8 @@ self: super: with self; {
  lrcalc-python = callPackage ../development/python-modules/lrcalc-python { };
  lrclibapi = callPackage ../development/python-modules/lrclibapi { };
  lru-dict = callPackage ../development/python-modules/lru-dict { };
  lsassy = callPackage ../development/python-modules/lsassy { };