From 39da307879ad0180ae4488093b10d6f2fb8a269b Mon Sep 17 00:00:00 2001 From: Danilo Soares Date: Sat, 15 Mar 2025 02:42:16 -0300 Subject: [PATCH 1/2] maintainers: add deudz --- maintainers/maintainer-list.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 354c16e3911c..68ff848422cb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5825,6 +5825,17 @@ github = "Dettorer"; githubId = 2761682; }; + deudz = { + name = "Danilo Soares"; + email = "deudzdev@gmail.com"; + github = "deudz"; + githubId = 77695632; + keys = [ + { + fingerprint = "42B9 5F7C 4FC2 CA13 FD4E 86B6 F0D8 B7CE 0B7E C148"; + } + ]; + }; developer-guy = { name = "Batuhan Apaydın"; email = "developerguyn@gmail.com"; From e12b4d1105fdc005b9cfef0bce918bf066f32c30 Mon Sep 17 00:00:00 2001 From: Danilo Soares Date: Sat, 15 Mar 2025 14:50:58 -0300 Subject: [PATCH 2/2] deadbeefPlugins.waveform-seekbar: init at 0-unstable-2024-11-13 --- .../deadbeef/plugins/waveform-seekbar.nix | 47 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/applications/audio/deadbeef/plugins/waveform-seekbar.nix diff --git a/pkgs/applications/audio/deadbeef/plugins/waveform-seekbar.nix b/pkgs/applications/audio/deadbeef/plugins/waveform-seekbar.nix new file mode 100644 index 000000000000..487a17425917 --- /dev/null +++ b/pkgs/applications/audio/deadbeef/plugins/waveform-seekbar.nix @@ -0,0 +1,47 @@ +{ + lib, + stdenv, + fetchFromGitHub, + deadbeef, + pkg-config, + gtk3, + sqlite, +}: + +stdenv.mkDerivation { + pname = "deadbeef-waveform-seekbar-plugin"; + version = "0-unstable-2024-11-13"; + + # using a fork because original throws a compilation error + src = fetchFromGitHub { + owner = "Jbsco"; + repo = "ddb_waveform_seekbar"; + rev = "2e5ea867a77e37698524d22f41fc59ffae16e63d"; + hash = "sha256-m6lBF+Yq1gah6kjb9VvIsjVg1i++08JPLzcLLMt+8J8="; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + deadbeef + gtk3 + sqlite + ]; + makeFlags = [ "gtk3" ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/lib/deadbeef/ + install -v -c -m 644 gtk3/ddb_misc_waveform_GTK3.so $out/lib/deadbeef/ + + runHook postInstall + ''; + + meta = { + description = "Waveform Seekbar plugin for DeaDBeeF audio player"; + homepage = "https://github.com/cboxdoerfer/ddb_waveform_seekbar"; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.linux; + maintainers = [ lib.maintainers.deudz ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8027a21d6b80..db02db5a6cd0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13032,6 +13032,7 @@ with pkgs; musical-spectrum = callPackage ../applications/audio/deadbeef/plugins/musical-spectrum.nix { }; statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { }; playlist-manager = callPackage ../applications/audio/deadbeef/plugins/playlist-manager.nix { }; + waveform-seekbar = callPackage ../applications/audio/deadbeef/plugins/waveform-seekbar.nix { }; }; deadbeef-with-plugins = callPackage ../applications/audio/deadbeef/wrapper.nix {