2016-04-26 14:26:55 +02:00
|
|
|
{ lib, symlinkJoin, k3b-original, cdrtools, makeWrapper }:
|
2016-04-23 03:14:10 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
binPath = lib.makeBinPath [ cdrtools ];
|
2016-04-26 14:26:55 +02:00
|
|
|
in symlinkJoin {
|
2016-04-23 03:14:10 +02:00
|
|
|
name = "k3b-${k3b-original.version}";
|
|
|
|
|
|
|
|
paths = [ k3b-original ];
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/k3b \
|
|
|
|
--prefix PATH ':' ${binPath}
|
|
|
|
'';
|
|
|
|
}
|