nixpkgs-suyu/pkgs/applications/audio/deadbeef/plugins/mpris2.nix

24 lines
699 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, deadbeef, glib }:
2015-08-17 00:17:27 +02:00
stdenv.mkDerivation rec {
pname = "deadbeef-mpris2-plugin";
2019-04-08 21:23:40 +02:00
version = "1.12";
2015-08-17 00:17:27 +02:00
src = fetchurl {
url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${pname}-${version}.tar.xz";
2019-04-08 21:23:40 +02:00
sha256 = "0s3y4ka4qf38cypc0xspy79q0g5y1kqx6ldad7yr6a45nw6j95jh";
2015-08-17 00:17:27 +02:00
};
nativeBuildInputs = [ pkg-config ];
2015-08-17 00:17:27 +02:00
buildInputs = [ deadbeef glib ];
meta = with lib; {
2015-08-17 00:17:27 +02:00
description = "MPRISv2 plugin for the DeaDBeeF music player";
homepage = "https://github.com/Serranya/deadbeef-mpris2-plugin/";
2015-08-17 00:17:27 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.abbradar ];
};
}