depot/third_party/nixpkgs/pkgs/applications/audio/deadbeef/plugins/mpris2.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

40 lines
757 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, deadbeef
, autoreconfHook
, pkg-config
, glib
}:
let
pname = "deadbeef-mpris2-plugin";
version = "1.14";
in stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "DeaDBeeF-Player";
repo = pname;
rev = "v${version}";
sha256 = "sha256-w7ccIhcPjbjs18kb3ZdM9JtSail9ik3uyAc40T8lHho=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
deadbeef
glib
];
meta = with lib; {
description = "MPRISv2 plugin for the DeaDBeeF music player";
homepage = "https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.abbradar ];
};
}