2016-04-26 13:26:15 +01:00
|
|
|
{ stdenv, symlinkJoin, deadbeef, makeWrapper, plugins }:
|
2015-08-16 23:17:53 +01:00
|
|
|
|
2016-04-26 13:26:15 +01:00
|
|
|
symlinkJoin {
|
|
|
|
name = "deadbeef-with-plugins-${deadbeef.version}";
|
2015-08-16 23:17:53 +01:00
|
|
|
|
|
|
|
paths = [ deadbeef ] ++ plugins;
|
|
|
|
|
2016-04-26 13:26:15 +01:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
2015-08-16 23:17:53 +01:00
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/deadbeef \
|
|
|
|
--set DEADBEEF_PLUGIN_DIR "$out/lib/deadbeef"
|
|
|
|
'';
|
2016-04-26 13:26:15 +01:00
|
|
|
}
|