python3Packages.beets-importreplace: init at 0.3

This commit is contained in:
dish
2026-07-04 17:15:52 -04:00
parent 1774c9744a
commit 8cda5019af
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
beets-minimal,
pytestCheckHook,
writableTmpDirAsHomeHook,
nix-update-script,
}:
buildPythonPackage (finalAttrs: {
pname = "beets-importreplace";
version = "0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "edgars-supe";
repo = "beets-importreplace";
tag = "v${finalAttrs.version}";
hash = "sha256-lTfHuOBFzBM/uN4GCX6btQy0KRDP/tzG0fp9/qppQtw=";
};
build-system = [ setuptools ];
nativeBuildInputs = [
beets-minimal
];
nativeCheckInputs = [
writableTmpDirAsHomeHook
pytestCheckHook
];
pythonImportsCheck = [ "beetsplug.importreplace" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Plugin for beets to perform regex replacements during import";
homepage = "https://github.com/edgars-supe/beets-importreplace";
maintainers = with lib.maintainers; [ pyrox0 ];
license = [ lib.licenses.mit ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
})
+2
View File
@@ -2062,6 +2062,8 @@ self: super: with self; {
beets-filetote = callPackage ../development/python-modules/beets-filetote { };
beets-importreplace = callPackage ../development/python-modules/beets-importreplace { };
beets-minimal = beets.override {
disableAllPlugins = true;
};