2020-04-24 23:36:52 +00:00
|
|
|
{ lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
|
|
|
|
|
|
|
|
let
|
|
|
|
binPath = lib.makeBinPath [ cdrtools ];
|
|
|
|
in symlinkJoin {
|
|
|
|
name = "brasero-${brasero-original.version}";
|
|
|
|
|
|
|
|
paths = [ brasero-original ];
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
inherit (brasero-original) meta;
|
|
|
|
}
|