diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-29 16:35:56 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-29 16:35:56 +0100 |
commit | 8fd8da0cba402466fcdfbc23cd87eb730765a99f (patch) | |
tree | b453d4131e480e9bfb32b483f9082223db0ef419 /pkgs/by-name/be/beetsExtraPlugins/xtractor.nix | |
parent | fix(modules/legacy/conf/neomutt): Upload changed imap boxes again (diff) | |
download | nixos-config-8fd8da0cba402466fcdfbc23cd87eb730765a99f.zip |
fix(modules/legacy/conf/beets): Disable the xtractor plugin
This plugin never worked (because of some issue with gaia), but now it also stopped to build.
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/be/beetsExtraPlugins/xtractor.nix | 98 |
1 files changed, 51 insertions, 47 deletions
diff --git a/pkgs/by-name/be/beetsExtraPlugins/xtractor.nix b/pkgs/by-name/be/beetsExtraPlugins/xtractor.nix index 01c6207a..ecbc10ce 100644 --- a/pkgs/by-name/be/beetsExtraPlugins/xtractor.nix +++ b/pkgs/by-name/be/beetsExtraPlugins/xtractor.nix @@ -4,51 +4,55 @@ python3Packages, beets, }: -# FIXME: Find a way to update this derivation <2024-08-11> -let - version = "0.4.2"; - models = builtins.fetchTarball { - url = "https://essentia.upf.edu/svm_models/essentia-extractor-svm_models-v2.1_beta5.tar.gz"; - sha256 = "11ps1l4h8bl4l9rlvkhjs61908l18dh7mpq65brm8ki99hnp9g64"; - }; -in - python3Packages.buildPythonApplication { - inherit version; - pname = "beets-xtractor"; - pyproject = true; +# # NOTE: This fails to build now. It didn't work anyways. See +# https://git.sr.ht/~johnhamelink/nix/tree/master/item/home/hosts/sun/beets/beets-plugin-xtractor.nix +# for a possibly working version. <2025-03-29> - src = fetchFromGitHub { - repo = "BeetsPluginXtractor"; - owner = "adamjakab"; - rev = "v${version}"; - hash = "sha256-it4qQ2OS4qBEaGLJK8FVGpjlvg0MQICazV7TAM8lH9s="; - }; - - nativeBuildInputs = [ - beets - python3Packages.setuptools - ]; - - passthru = {inherit models;}; - - nativeCheckInputs = with python3Packages; [ - pytestCheckHook - pytest-cov - mock - typeguard - ]; - - preCheck = '' - export HOME="$(mktemp -d)" - ''; - postInstall = '' - mkdir --parents $out/models - cp ${models}/* $out/models - ''; - - meta = { - description = "Obtain low and high level musical information from your song"; - homepage = "https://github.com/adamjakab/BeetsPluginXtractor/releasesfhhhhh"; - license = lib.licenses.mit; - }; - } +# # FIXME: Find a way to update this derivation <2024-08-11> +# let +# version = "0.4.2"; +# models = builtins.fetchTarball { +# url = "https://essentia.upf.edu/svm_models/essentia-extractor-svm_models-v2.1_beta5.tar.gz"; +# sha256 = "11ps1l4h8bl4l9rlvkhjs61908l18dh7mpq65brm8ki99hnp9g64"; +# }; +# in +# python3Packages.buildPythonApplication { +# inherit version; +# pname = "beets-xtractor"; +# pyproject = true; +# +# src = fetchFromGitHub { +# repo = "BeetsPluginXtractor"; +# owner = "adamjakab"; +# rev = "v${version}"; +# hash = "sha256-it4qQ2OS4qBEaGLJK8FVGpjlvg0MQICazV7TAM8lH9s="; +# }; +# +# nativeBuildInputs = [ +# beets +# python3Packages.setuptools +# ]; +# +# passthru = {inherit models;}; +# +# nativeCheckInputs = with python3Packages; [ +# pytestCheckHook +# pytest-cov +# mock +# typeguard +# ]; +# +# preCheck = '' +# export HOME="$(mktemp -d)" +# ''; +# postInstall = '' +# mkdir --parents $out/models +# cp ${models}/* $out/models +# ''; +# +# meta = { +# description = "Obtain low and high level musical information from your song"; +# homepage = "https://github.com/adamjakab/BeetsPluginXtractor/releasesfhhhhh"; +# license = lib.licenses.mit; +# }; +# } |