2010-12-29 18:04:11 +00:00
|
|
|
{ stdenv, opensp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-01-17 11:13:20 +00:00
|
|
|
name = "sp-compat-${stdenv.lib.getVersion opensp}";
|
2010-12-29 18:04:11 +00:00
|
|
|
|
2014-01-17 11:13:20 +00:00
|
|
|
phases = [ "installPhase" "fixupPhase" ];
|
2013-03-18 14:05:53 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2010-12-29 18:04:11 +00:00
|
|
|
mkdir -pv $out/bin
|
|
|
|
for i in ${opensp}/bin/o*; do
|
|
|
|
ln -sv $i $out/bin/''${i#${opensp}/bin/o}
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2013-03-18 14:05:53 +00:00
|
|
|
setupHook = opensp.setupHook;
|
|
|
|
|
2010-12-29 18:04:11 +00:00
|
|
|
meta.description =
|
|
|
|
"Compatibility wrapper for old programs looking for original sp programs";
|
|
|
|
}
|