From 27acef2e400893d6ea6c35d86fdfdc63ed03fbda Mon Sep 17 00:00:00 2001 From: Lila Hummel Date: Sun, 22 Feb 2026 22:06:34 +0100 Subject: [PATCH] redlist: init at 0-unstable-2026-01-30 --- pkgs/by-name/re/redlist/package.nix | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pkgs/by-name/re/redlist/package.nix diff --git a/pkgs/by-name/re/redlist/package.nix b/pkgs/by-name/re/redlist/package.nix new file mode 100644 index 000000000000..4a81f6dea55d --- /dev/null +++ b/pkgs/by-name/re/redlist/package.nix @@ -0,0 +1,48 @@ +{ + fetchFromGitHub, + lib, + python3Packages, +}: + +python3Packages.buildPythonApplication (finalAttrs: { + pname = "redlist"; + version = "0-unstable-2026-01-30"; + pyproject = true; + + src = fetchFromGitHub { + owner = "Laharah"; + repo = "redlist"; + rev = "3d465a12d79331eefde52351b441d8e0875f93e3"; + hash = "sha256-eROvTs4WCVeXE2+4FICC9Rl5bjIkf0E5sYvqCaskXEw="; + }; + + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = + with python3Packages; + [ + aiohttp + beets + humanize + confuse + pynentry + deluge-client + cryptography + ] + ++ aiohttp.optional-dependencies.speedups; + + postPatch = '' + substituteInPlace setup.py \ + --replace-fail '"pytest-runner"' "" + ''; + + meta = { + description = "Convert Spotify playlists to local m3u's and fill the gaps"; + mainProgram = "redlist"; + homepage = "https://github.com/Laharah/redlist"; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ lilahummel ]; + }; +})