deadbeefPlugins.headerbar-gtk3: init at 1.2

This commit is contained in:
Jan Tojnar 2018-08-28 23:03:24 +02:00
parent 045c4d8f64
commit 89586ed0d0
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, libxml2, deadbeef, glib, gtk3 }:
stdenv.mkDerivation rec {
name = "deadbeef-headerbar-gtk3-plugin-${version}";
version = "1.2";
src = fetchFromGitHub {
owner = "saivert";
repo = "ddb_misc_headerbar_GTK3";
rev = "v${version}";
sha256 = "1v1schvnps7ypjqgcbqi74a45w8r2gbhrawz7filym22h1qr9wn0";
};
nativeBuildInputs = [ autoconf automake libtool pkgconfig libxml2 ];
buildInputs = [ deadbeef glib gtk3 ];
# Choose correct installation path
# https://github.com/saivert/ddb_misc_headerbar_GTK3/commit/50ff75f76aa9d40761e352311670a894bfcd5cf6#r30319680
makeFlags = [ "pkglibdir=$(out)/lib/deadbeef" ];
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
description = "Plug-in that adds GTK 3 header bar to the DeaDBeeF music player";
homepage = https://github.com/saivert/ddb_misc_headerbar_GTK3;
license = licenses.gpl2Plus;
maintainers = [ maintainers.jtojnar ];
platforms = platforms.linux;
};
}

View file

@ -15841,6 +15841,7 @@ with pkgs;
}; };
deadbeefPlugins = { deadbeefPlugins = {
headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { };
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { }; mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
opus = callPackage ../applications/audio/deadbeef/plugins/opus.nix { }; opus = callPackage ../applications/audio/deadbeef/plugins/opus.nix { };
}; };