summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix
blob: 68c70ccc5632a2e8609a7e55fc800a122b4c8167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  stdenv,
  fetchFromGitHub,
  pkg-config,
  deadbeef,
  gtkmm3,
  libxmlxx3,
}:

stdenv.mkDerivation {
  pname = "deadbeef-lyricbar-plugin";
  version = "0.1-unstable-2019-01-29";

  src = fetchFromGitHub {
    owner = "C0rn3j";
    repo = "deadbeef-lyricbar";
    rev = "8f99b92ef827c451c43fc7dff38ae4f15c355e8e";
    sha256 = "108hx5530f4xm8p9m2bk79nq7jkhcj39ad3vmxb2y6h6l2zv5kwl";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
    deadbeef
    gtkmm3
    libxmlxx3
  ];

  env.NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types";

  buildFlags = [ "gtk3" ];

  meta = {
    description = "Plugin for DeaDBeeF audio player that fetches and shows the song’s lyrics";
    homepage = "https://github.com/C0rn3j/deadbeef-lyricbar";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jtojnar ];
    platforms = lib.platforms.linux;
  };
}