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
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoconf,
|
|
automake,
|
|
libtool,
|
|
pkg-config,
|
|
libxml2,
|
|
deadbeef,
|
|
glib,
|
|
gtk3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deadbeef-headerbar-gtk3-plugin";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "saivert";
|
|
repo = "ddb_misc_headerbar_GTK3";
|
|
rev = "v${version}";
|
|
sha256 = "1v1schvnps7ypjqgcbqi74a45w8r2gbhrawz7filym22h1qr9wn0";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
automake
|
|
libtool
|
|
pkg-config
|
|
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 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;
|
|
};
|
|
}
|