deadbeefPlugins.infobar: init at 1.4
This commit is contained in:
parent
54951b1bf8
commit
efb16b5829
33
pkgs/applications/audio/deadbeef/plugins/infobar.nix
Normal file
33
pkgs/applications/audio/deadbeef/plugins/infobar.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, pkgconfig, deadbeef, gtk3, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "deadbeef-infobar-plugin-${version}";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/dsimbiriatin/deadbeef-infobar/downloads/deadbeef-infobar-${version}.tar.gz";
|
||||
sha256 = "0c9wh3wh1hdww7v96i8cy797la06mylhfi0880k8vwh88079aapf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
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
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "DeadBeeF Infobar Plugin";
|
||||
homepage = https://bitbucket.org/dsimbiriatin/deadbeef-infobar;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -15811,6 +15811,7 @@ with pkgs;
|
||||
|
||||
deadbeefPlugins = {
|
||||
headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { };
|
||||
infobar = callPackage ../applications/audio/deadbeef/plugins/infobar.nix { };
|
||||
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
|
||||
opus = callPackage ../applications/audio/deadbeef/plugins/opus.nix { };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user