summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio/deadbeef/plugins/mpris2.nix
blob: 21aceffb970f323aee02dac4295e4e2fdf6a7df5 (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
{
  lib,
  stdenv,
  fetchFromGitHub,
  deadbeef,
  autoreconfHook,
  pkg-config,
  glib,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "deadbeef-mpris2-plugin";
  version = "1.16";

  src = fetchFromGitHub {
    owner = "DeaDBeeF-Player";
    repo = "deadbeef-mpris2-plugin";
    rev = "v${finalAttrs.version}";
    hash = "sha256-f6iHgwLdzQJJEquyuUQGWFfOfpjH/Hxh9IqQ5HkYrog=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    deadbeef
    glib
  ];

  meta = {
    description = "MPRISv2 plugin for the DeaDBeeF music player";
    homepage = "https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/";
    license = lib.licenses.gpl2;
    platforms = lib.platforms.linux;
    maintainers = [ ];
  };
})