deadbeefPlugins.playlist-manager: init at unstable-2021-05-02
This commit is contained in:
parent
5bec894dc1
commit
dd52d40367
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, deadbeef
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "deadbeef-playlist-manager-plugin";
|
||||
version = "unstable-2021-05-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcee";
|
||||
repo = "deadbeef-playlist-manager";
|
||||
rev = "b1393022b2d9ea0a19b845420146e0fc56cd9c0a";
|
||||
sha256 = "sha256-dsKthlQ0EuX4VhO8K9VTyX3zN8ytzDUbSi/xSMB4xRw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
deadbeef
|
||||
gtk3
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/deadbeef/
|
||||
cp *.so $out/lib/deadbeef/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
buildFlags = [
|
||||
"CFLAGS=-I${deadbeef}/include/deadbeef"
|
||||
"gtk3"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Removes duplicate and vanished files from the current playlist";
|
||||
homepage = "https://github.com/kpcee/deadbeef-playlist-manager";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.cmm ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -25719,6 +25719,7 @@ with pkgs;
|
||||
lyricbar = callPackage ../applications/audio/deadbeef/plugins/lyricbar.nix { };
|
||||
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
|
||||
statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { };
|
||||
playlist-manager = callPackage ../applications/audio/deadbeef/plugins/playlist-manager.nix { };
|
||||
};
|
||||
|
||||
deadbeef-with-plugins = callPackage ../applications/audio/deadbeef/wrapper.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user