2024-10-04 16:56:33 +00:00
|
|
|
{ lib, symlinkJoin, brasero-unwrapped, cdrtools, libdvdcss, makeWrapper }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
binPath = lib.makeBinPath [ cdrtools ];
|
|
|
|
in symlinkJoin {
|
2024-10-04 16:56:33 +00:00
|
|
|
name = "brasero-${brasero-unwrapped.version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
paths = [ brasero-unwrapped ];
|
2021-07-14 22:03:04 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/brasero \
|
|
|
|
--prefix PATH ':' ${binPath} \
|
|
|
|
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so
|
|
|
|
'';
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
inherit (brasero-unwrapped) meta;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|