Files
lidarr-mb-gap/nix/package-cleanup.nix
Danilo Reyes 026c7fe0d8 Add lidarr-cleanup-singles package and integration
- Introduced a new package `lidarr-cleanup-singles` to identify and manage duplicate single tracks in Lidarr.
- Updated `flake.nix` to include the new package in outputs and modified app definitions to support it.
- Created a new script in `src-cleanup` for the main functionality, including audio fingerprint verification.
- Added necessary dependencies and configuration in `pyproject.toml` for the new package.
- Removed unused `flake-utils` and `systems` entries from `flake.lock` to streamline the configuration.
2025-11-13 21:46:03 -06:00

24 lines
491 B
Nix

{ pkgs, src }:
pkgs.python3Packages.buildPythonApplication {
pname = "lidarr-cleanup-singles";
version = "1.0.0";
inherit src;
format = "pyproject";
nativeBuildInputs = with pkgs.python3Packages; [
setuptools
];
propagatedBuildInputs = with pkgs.python3Packages; [
requests
python-dotenv
];
buildInputs = [
pkgs.chromaprint
];
meta = {
mainProgram = "lidarr-cleanup-singles";
description = "Identify duplicate single tracks in Lidarr";
};
}