2015-08-16 23:17:27 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, deadbeef, glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "deadbeef-mpris2-plugin-${version}";
|
2016-11-23 14:53:11 +00:00
|
|
|
version = "1.10";
|
2015-08-16 23:17:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${name}.tar.xz";
|
2016-11-23 14:53:11 +00:00
|
|
|
sha256 = "083fbvi06y85khr8hdm4rl5alxdanjbbyphizyr4hi93d7a0jg75";
|
2015-08-16 23:17:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ deadbeef glib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MPRISv2 plugin for the DeaDBeeF music player";
|
2016-11-23 14:49:18 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|