2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig, deadbeef, glib }:
|
2015-08-16 23:17:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "deadbeef-mpris2-plugin";
|
2019-04-08 20:23:40 +01:00
|
|
|
version = "1.12";
|
2015-08-16 23:17:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${pname}-${version}.tar.xz";
|
2019-04-08 20:23:40 +01:00
|
|
|
sha256 = "0s3y4ka4qf38cypc0xspy79q0g5y1kqx6ldad7yr6a45nw6j95jh";
|
2015-08-16 23:17:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ deadbeef glib ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-08-16 23:17:27 +01:00
|
|
|
description = "MPRISv2 plugin for the DeaDBeeF music player";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Serranya/deadbeef-mpris2-plugin/";
|
2015-08-16 23:17:27 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.abbradar ];
|
|
|
|
};
|
|
|
|
}
|