Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
753 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
deadbeef,
autoreconfHook,
pkg-config,
glib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "deadbeef-mpris2-plugin";
version = "1.16";
src = fetchFromGitHub {
owner = "DeaDBeeF-Player";
repo = "deadbeef-mpris2-plugin";
rev = "v${finalAttrs.version}";
hash = "sha256-f6iHgwLdzQJJEquyuUQGWFfOfpjH/Hxh9IqQ5HkYrog=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
deadbeef
glib
];
meta = {
description = "MPRISv2 plugin for the DeaDBeeF music player";
homepage = "https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ ];
};
})