Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
989 B
Nix
52 lines
989 B
Nix
{
|
|
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;
|
|
};
|
|
}
|