python3Packages.beets-importreplace: init at 0.3
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user