push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
{
lib,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
requests,
responses,
six,
}:
buildPythonPackage rec {
pname = "lyricwikia";
version = "0.1.11";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "enricobacis";
repo = "lyricwikia";
tag = version;
hash = "sha256-P88DrRAa2zptt8JLy0/PLi0oZ/BghF/XGSP0kOObi7E=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
'';
propagatedBuildInputs = [
beautifulsoup4
requests
six
];
nativeCheckInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [ "lyricwikia" ];
disabledTests = [
# Test requires network access
"test_integration"
];
meta = with lib; {
description = "LyricWikia API for song lyrics";
mainProgram = "lyrics";
homepage = "https://github.com/enricobacis/lyricwikia";
changelog = "https://github.com/enricobacis/lyricwikia/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ kmein ];
};
}