Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
886 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}