diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a91395c7d540..f64ec24e8a6e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6242,6 +6242,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"; 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 f2c1dbde6923..11d6f6fa7141 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11981,6 +11981,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 {