2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, deadbeef, gtk3, libxml2 }:
|
2018-08-30 19:20:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "deadbeef-infobar-plugin";
|
2018-08-30 19:20:32 +01:00
|
|
|
version = "1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar/downloads/deadbeef-infobar-${version}.tar.gz";
|
|
|
|
sha256 = "0c9wh3wh1hdww7v96i8cy797la06mylhfi0880k8vwh88079aapf";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-08-30 19:20:32 +01:00
|
|
|
buildInputs = [ deadbeef gtk3 libxml2 ];
|
|
|
|
|
|
|
|
buildFlags = [ "gtk3" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/lib/deadbeef
|
|
|
|
cp gtk3/ddb_infobar_gtk3.so $out/lib/deadbeef
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-06-12 13:25:55 +01:00
|
|
|
broken = true; # crashes DeaDBeeF and is abandoned (https://bitbucket.org/dsimbiriatin/deadbeef-infobar/issues/38/infobar-causes-deadbeef-180-to-crash)
|
|
|
|
description = "DeaDBeeF Infobar Plugin";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar";
|
2018-08-30 19:20:32 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|