aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-29 16:35:56 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-29 16:35:56 +0100
commit8fd8da0cba402466fcdfbc23cd87eb730765a99f (patch)
treeb453d4131e480e9bfb32b483f9082223db0ef419 /pkgs
parentfix(modules/legacy/conf/neomutt): Upload changed imap boxes again (diff)
downloadnixos-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 'pkgs')
-rw-r--r--pkgs/by-name/be/beetsExtraPlugins/package.nix2
-rw-r--r--pkgs/by-name/be/beetsExtraPlugins/xtractor.nix98
2 files changed, 52 insertions, 48 deletions
diff --git a/pkgs/by-name/be/beetsExtraPlugins/package.nix b/pkgs/by-name/be/beetsExtraPlugins/package.nix
index 0da472fa..1cea9d3b 100644
--- a/pkgs/by-name/be/beetsExtraPlugins/package.nix
+++ b/pkgs/by-name/be/beetsExtraPlugins/package.nix
@@ -1,3 +1,3 @@
{pkgs, ...}: {
- xtractor = pkgs.callPackage ./xtractor.nix {beets = pkgs.beetsPackages.beets-minimal;};
+ # xtractor = pkgs.callPackage ./xtractor.nix {beets = pkgs.beetsPackages.beets-minimal;};
}
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;
+# };
+# }