Skip to content

Commit

Permalink
python3Packages.lrclibapi: init at 0.3.1 (#373542)
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium authored Jan 19, 2025
2 parents e272e72 + 85861a4 commit 3ab4aba
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/development/python-modules/lrclibapi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
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 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 3ab4aba

Please sign in to comment.