zfs_unstable: 2.3.0-rc3 -> 2.3.0-rc4 (#365045)
[NixPkgs.git] / pkgs / applications / audio / deadbeef / plugins / mpris2.nix
blobbb41a6f0f5f47070746278b73c4857c9055cb324
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   deadbeef,
6   autoreconfHook,
7   pkg-config,
8   glib,
9 }:
11 let
12   pname = "deadbeef-mpris2-plugin";
13   version = "1.16";
15 stdenv.mkDerivation {
16   inherit pname version;
18   src = fetchFromGitHub {
19     owner = "DeaDBeeF-Player";
20     repo = pname;
21     rev = "v${version}";
22     hash = "sha256-f6iHgwLdzQJJEquyuUQGWFfOfpjH/Hxh9IqQ5HkYrog=";
23   };
25   nativeBuildInputs = [
26     autoreconfHook
27     pkg-config
28   ];
30   buildInputs = [
31     deadbeef
32     glib
33   ];
35   meta = with lib; {
36     description = "MPRISv2 plugin for the DeaDBeeF music player";
37     homepage = "https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/";
38     license = licenses.gpl2;
39     platforms = platforms.linux;
40     maintainers = [ maintainers.abbradar ];
41   };